Skip to content

ci: isolate PR supersession from integration validation - #428

Merged
ViperJuice merged 3 commits into
mainfrom
ci/isolate-integration-concurrency
Oct 20, 2026
Merged

ViperJuice merged 3 commits into
mainfrom
ci/isolate-integration-concurrency

Conversation

@ViperJuice

@ViperJuice ViperJuice commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Confines PR supersession to a per-PR concurrency group and gives each main push, schedule and manual validation run a unique workflow/event/SHA/run-ID group with cancellation off. Test and Windows retain all ordinary checks; Release stays outside these groups. Guards reject shared integration groups and job-level cancellation overrides. Every integration validation may now finish, so resulting compute cost remains to be measured.

Current binding: head 8f4ada0b8171a9008c79e9a9d43f5f5f0ec4460a, base 275b5731d802ec2ce1c40ca3662c8c97c2d52994, tree d0c1a9482149fdb06368e8eddbb5dd8129f36c40; binary diffsha2569e530c7ef23f4c3d8c9ab2314ca715c63cda8e28be051f1840a86ceca1dc218b. Related: #425 and #426. AC-01/09/11/12/14.

Integration: preserved B0 and G0 guards, mutation cases and tests through three conflicts in check_workflows.py, _mutate_workflow.sh and test_workflow_guards.py. The resolved tree matched saved local preparatione7cc0d6 exactly before the requested cosmetic G0-R2-N1 constant relocation, now folded in. This changes the base/content binding and receives fresh four-vendor reviews plus a separate Frontier Opus5.5 president; no prior broad stack approval is reused. Current verification:407 targeted tests passed;132 security discovery nodes, actionlint1.7.12, workflow drift/guards, Ruff and source mypy passed. Fresh exact-head PR-event CI remains required.

Hosted evidence scope: one explicitly authorized workflow_dispatch API attempt admitted in the public dedicated Consiliency/ci-actions branch at8bfe6b3. Real dispatch39441116913 and synthetic branch-push sentinel39441118390 both completed SUCCESS with actual job execution overlap, same exact concurrency expression. No sandbox main/settings/historical workflow mutation, checkout, secrets/OIDC or publisher. Group identifiers are derived from exact source plus actual event/workflow/SHA/run-ID; REST did not expose a server group field. The branch push is NOT actual PMCP main; schedule is unobserved. This does NOT establish full G-G0-2 satisfaction. The fresh president must concretely disposition the remaining actual-main/schedule condition or retain a blocker. No cancellation/pending replacement was observed.

Owner review route: bound four-vendor T3 reviews plus separate independent Frontier Opus5.5 president satisfy the scoped panel route for PR425–433, replacing only CLI-only F012. Native/runtime certification stays false; all substantive/rehearsal gates remain. Substantive cap3 rounds per PR iteration, declared before round1. Later E/F/I integrations must preserve this concurrency mapping with their own fresh review/CI; this PR does not approve those heads. No new publisher, production setting, skip, image enable or release tag is included.

Durable evidence: /home/viperjuice/workspace/tmp/pmcp-ci-optimization-implementation-sol-20261019/implementation-status.json and landing-active-20261020/428/, G0-dispatch/terminal-summary.json, G0-exit-gate-ruling-request.txt. G0 rollout compute observation and broader plan observation intervals remain incomplete.

Final bound panel: all four fresh T3 source reviewers agree; the separate independent Frontier Opus5.5 president accepts this exact head/base and independently adopts staged G-G0-2 sequencing. This is not a waiver or a full operational acceptance. G-G0-2 remains OPEN/full_satisfaction=false: actual PMCP main push Test execution must overlap a main Test schedule or separately owner-authorized manual run at the reviewed mapping, both terminal SUCCESS, with event/SHA/attempt/workflow/job-interval/log-hash readbacks. Until then, G0 operational-exit/AC-09 completion claims, new G publisher/registry-write enablement and applicable controlled-publication or skip-activation claims remain blocked. Existing legacy main/tag Docker publishers are unchanged and still active; no blanket production write block is claimed. No hosted dispatch is authorized by this ruling. The condition is tracked in implementation-status.json.

Current exact-head PR Test39446735731 succeeded:13164 passed,60 skipped,1 xfailed748.13s; coverage92.19%. All15 checks succeeded,8 required app15368 contexts met. ci-scope and ci-required passed with actual FULL-gate output. Artifact12276399343 digest verified and7sanitizedreports read;13225cases/4completeworkers/0unattributed. Tested virtual mergefb668ba parents[275b573,8f4ada0] has treed0c1a948 equal to reviewed head. Same-turn remote/head/base/CI verification and guarded squash remain mandatory. Native/runtime certification=false.

@ViperJuice
ViperJuice force-pushed the ci/isolate-integration-concurrency branch from c516c3c to 8f4ada0 Compare October 20, 2026 15:15
@ViperJuice
ViperJuice changed the base branch from t3/optimize-ci-workflows to main October 20, 2026 15:15
@ViperJuice
ViperJuice marked this pull request as ready for review October 20, 2026 15:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T15:36:09.507585Z 8f4ada0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ViperJuice
ViperJuice merged commit 39e7129 into main Oct 20, 2026
15 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8f4ada0b81

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +888 to +890
if path.name in {"test.yml", "windows.yml"} and (
doc.get("concurrency") != EXPECTED_VALIDATION_CONCURRENCY
or any("concurrency" in job for job in _jobs(doc).values())

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Prevent workflow-name collisions in the concurrency guard

If windows.yml is renamed at the top level to name: Test, both PR workflows evaluate github.workflow to Test and therefore join the same Test-pr-N group; because cancel-in-progress is true for PRs, one validation workflow can cancel the other. GitHub's concurrency documentation confirms that jobs or workflows sharing a group are mutually constrained and that cancel-in-progress: true cancels a running member. This invariant only compares the concurrency mapping and job keys, while only the Test workflow's name is validated elsewhere, so it accepts this collision; also require distinct fixed workflow names or derive the group from a collision-resistant workflow identity.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant