fix(ci): publish required docs check when reusing preflight #1516
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 321 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.345
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1516"
general
weight: 0.35
qwts
Motivation
Ready transitions on #1508, #1510 and #1511 reuse successful exact-head manual CI and skip the reusable Docs governance caller. GitHub then waits for the missing required child context,
Docs governance / docs-gov, despite the earlier successful preflight.Description
Run the pinned docs-governance workflow on full lifecycle events even when preflight results are reused. Require its fresh success in the aggregate verdict. Preserve the existing check name, publishing App, cancellation/actor boundaries, strict freshness, and expensive-lane reuse.
Regression coverage executes the actual workflow predicates and shell verdict: preflight reuse must select docs governance; failed, cancelled, skipped and missing docs results must reject CI. The regressions failed before the fix and pass afterward.
Documentation
Updated the canonical lifecycle contract in docs/CI-Identity-And-Tokens.md.
Testing
Passed locally, sequentially: fresh npm ci; npm run lint; npm test (unit/DOM/DB-pages); DOCS_GOV_TOOLING_ROOT=/workspace/docs-gov npm run docs:gov; npm run format:check; npm run check:changesets; npm run check:acceptance-coverage; git diff --check. Also passed 152 targeted lifecycle/cancellation/DirectML gate tests.
Hosted verification will run a complete exact-head preflight, then promote this PR and verify that the ready-event run reuses heavy evidence while actually publishing a fresh successful required docs child check.
Manual testing
No product behavior changes. The two-event hosted lifecycle above is the integration test for the reported merge blocker.
Closes #1515
Hosted evidence at unchanged head
00d9dbfc1b4b5517aa514b6f2a74b39a7a9efce0: complete preflight 46365562148 passed. Final ready run 46367240982 reused preflight, skipped Complete suite/E2E/Windows/Advanced CodeQL, ran freshDocs governance / docs-govjob 141675940095 successfully, and passed CI. The earlier PR fallback run 46366695402 was superseded/cancelled; its failed cancellation verdicts are not qualifying evidence. GitHub reports the final PR merge state clean. Required context/App identities and strict freshness were independently revalidated.<!-- agent-bot-write: ghw_a4b1a127c1223b0a session=f601b21bf418 bot=trueline-codex-agent[bot] conversation_id=dependabot-maintenance conversation_id_source=self-reported -->