Skip to content

Reduce redundant CI work while preserving native gates - #33

Merged
jallieson merged 4 commits into
mainfrom
codex/ci-efficiency-2026-09-26
Sep 27, 2026
Merged

jallieson merged 4 commits into
mainfrom
codex/ci-efficiency-2026-09-26

Conversation

@jallieson

@jallieson jallieson commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Cancel superseded dependency review and labeling runs, and drop the redundant ready event for path labels.
  • Avoid a second apt update in the prepared Ubuntu 20.04 container.
  • Keep release workflow calls in an independent concurrency group while direct test runs still cancel stale revisions.
  • Wait for complete background status refresh evidence in both Unix and Windows test fixtures.
  • Give the Windows self-update lock regression its production stale-lock recovery budget and clean up paused children on failure.
  • Record runner cost and coverage decisions and correct the documented Bash syntax command.
  • Prepare the matching 1.6.3 package metadata and changelog for the authorized production release.

Local verification

  • npm test
  • ./scripts/check-release-artifacts.sh
  • actionlint, bash -n test.zsh tests/legacy-linux-node.sh, PowerShell parser, and git diff --check
  • The macOS ./test.zsh suite passed after the test fixture changes; later edits changed workflow concurrency and documentation.
  • Focused tests/self-update-lock-regressions.ps1 passed locally after a native Windows run exposed a short test retry budget.

Hosted verification

  • Release candidate test matrix succeeded on exact head ac6f089a9fe3a4c57eb654d244ce0997aaf77b9e.
  • Required macos-15, ubuntu-24.04, windows-2025, ubuntu-20.04-managed-node, package-artifacts, CodeQL, and Dependency review checks all succeeded. Node 18, labeling, and the second CodeQL check also succeeded.
  • The release candidate macOS job took 15m10s and Ubuntu 24.04 took 8m41s. Single-run timing varies; savings come from avoiding superseded duplicate jobs and the repeated Ubuntu 20.04 apt index update.
  • Release gates and native platform coverage remain enabled. The release workflow was not invoked by this PR.

@github-actions github-actions Bot added area: documentation Documentation and community guidance area: github-actions GitHub Actions and repository automation platform: windows Native Windows impact platform: macos-linux macOS, Linux, or WSL impact labels Sep 27, 2026
@greptile-apps

greptile-apps Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

[High risk] Modifies CI workflow concurrency and test infrastructure.

The PR appears safe to merge for its current callers, with a non-blocking reusable-workflow concurrency risk to address.

Fix All in CursorFindings

  1. P2 Optional ref changes cancellation ▶
Fix with agent prompt
### Issue 1
.github/workflows/test.yml:21-22
`ref` is optional for callers of this reusable workflow. If a caller omits it, these expressions put the call in a shared group for the ref and enable cancellation. Two calls for the same ref could then cancel one another’s test gates. The current release caller supplies a ref, so this does not affect it today, but it makes an otherwise valid call less reliable.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

The PR reduces redundant CI work, separates release test calls from direct-run cancellation, prepares legacy container prerequisites once, and makes background-refresh test fixtures wait for complete evidence. It also updates CI guidance. The current release caller passes the ref needed by the new concurrency expression, but the reusable workflow’s optional-ref contract is no longer protected.

Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Test workflow starts] --> B{inputs.ref present?}
  B -- Yes --> C[Per-run group; no cancellation]
  B -- No --> D[Per-ref group; cancel earlier run]
  C --> E[Current release caller]
  D --> F[Direct runs or a reusable call omitting ref]
Loading

Reviews (1) · Last reviewed commit: "ci: avoid redundant work and stabilize a..."

Comment thread .github/workflows/test.yml Resolved
@jallieson
jallieson merged commit 32319c0 into main Sep 27, 2026
10 checks passed
@jallieson
jallieson deleted the codex/ci-efficiency-2026-09-26 branch September 27, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: documentation Documentation and community guidance area: github-actions GitHub Actions and repository automation platform: macos-linux macOS, Linux, or WSL impact platform: windows Native Windows impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant