CI: remove duplicate Valgrind sentinel run

Merged
LA
3mo ago
+12-7

Summary

  • remove the plain terminal replay sentinel execution from the Valgrind shard
  • keep the exact sentinel presence check and execution under Valgrind
  • update the workflow guard to prevent the duplicate step from returning

Testing

  • python3 tests/test_tui_publish_workflow_security.py -v
  • python3 tests/test_tui_focused_filter_guard.py
  • YAML parse with PyYAML
  • actionlint .github/workflows/cmux-tui.yml
  • git diff --check

Context

  • Audited from exact main commit 4e30be837d1685f641e65a78f9437c2a6b0c23a3.

Summary by cubic

Removes the duplicate terminal replay sentinel execution from Valgrind CI by collapsing the singleton shard matrix, so the replay guard runs exactly once under Valgrind.

  • Drops the plain terminal replay sentinel step; the sentinel now runs only under Valgrind.
  • Collapses valgrind-leak-check-shard from a one-item matrix into a single startup job.
  • Extends the workflow security test to fail if a duplicate sentinel step is reintroduced.

Summary by CodeRabbit

  • Tests
    • Updated validation for baseline terminal replay behavior in Valgrind workflows.
    • Added checks to ensure the replay verification runs across all configured shards.
    • Strengthened safeguards confirming the expected test binary is invoked with the required arguments and appears the correct number of times.