Repository navigation
Description
Summary
PR #7262 combined independent CI and E2E changes. This epic tracks their reconstruction as focused PRs from fresh origin/main.
This work changes internal CI and E2E infrastructure. It does not create a supported integration, solution recipe, or product surface.
Source state
- Superseded PR: perf(ci): shorten main and E2E feedback loops #7262
- Reviewed PR SHA:
423ad38 - Reviewed base SHA:
d42f736 - Do not cherry-pick the old commit series; it mixed independent work and merges from
main. - The hosted-runner-loss retry already landed in fix(ci): retry confirmed hosted runner loss once #7423 and is not duplicated here.
Focused work
Platform test prerequisites
- Complete test(platform): remove macOS watcher path mismatch and Shields timer race #7259 in a test-only PR.
- Landed in test(shields): verify child exit before policy restore #7506.
- The test asserts the exact child PID and process-start identity while preserving cleanup and restoration behavior.
- Make the Hermes root-topology test fail closed outside WSL.
- Landed in test(hermes): fail closed on missing Linux Docker #7507.
- Native Linux attempts the contract and fails when Docker is unavailable; WSL without Docker may skip the Docker-dependent contract.
Platform sharding
- Shard the full macOS and WSL Vitest suites.
- Landed in ci(platform): shard macOS and WSL Vitest suites #7548.
- Four shards run per platform with
fail-fast: false; root-required WSL contracts remain on shard 1.
Hermes image production and reuse
- Build the Hermes production image once and reuse it.
- Landed in ci(e2e): reuse the Hermes production image #7508, with validator hardening in test(e2e): harden image reuse workflow validator #7551.
- The producer uploads one no-registry-write image artifact and the secret-boundary/root-entrypoint consumers load it.
Main workflow scheduling
- Start sandbox image validation after static and build/type-check preflight.
- Landed in ci(main): start sandbox validation after preflight #7552, with continuation/assigned-push validator hardening in test(e2e): reject continued Hermes consumer builds #7553.
sandbox-images-and-e2eremains in the final fail-closed dependency list.
Brev provisioning
- Disposition the proposed generic Brev provisioning retry.
- Superseded by the accepted ci(e2e): migrate or retire legacy Brev source-install validation #7490 direction and implemented in ci(e2e): retire legacy Brev source-install validation #7632.
- The generic source-install lane was retired; exact-staging Launchable owns Brev qualification.
tools/e2e/brev-provisioning.mtsis intentionally not added.
Direct PR E2E required check
- Publish
E2E / PR Gatedirectly as the exact-diff required check.- Landed in ci(e2e): publish direct PR gate check #7935 as
df80015e7fbb54e5c026bf4dae43896e00167e89. - The polling
requiredjob andtools/e2e/pr-e2e-required.mtswith its tests were removed. - The trusted controller owns the required-check lifecycle.
- Exact PR SHA, base SHA, GitHub App, retry-history, and final-state validation remain fail closed.
- Maintainer inspection falls back to
E2E / PR Gate Coordinationonly when the current direct check is absent. - Gate inspection, risk planning, watch triggers, tests, and direct-check documentation landed together.
- Sensitive-path security review, documentation-writer receipt, required CI, and the direct exact-diff gate passed on final head
848d79aba6afa47631c128eff2b294a34c0aec20.
- Landed in ci(e2e): publish direct PR gate check #7935 as
Independent follow-ups
- Add explicit timeouts to the E2E matrix, PR report, and scorecard jobs.
- Landed in ci(e2e): add orchestration job timeouts #7537 with focused contract coverage.
- Disposition the old protected-environment documentation item.
- Superseded by ci(e2e): let maintainers authorize internal runs #7826 and ci(e2e): unify maintainer approval #7832.
- The current route is one trusted
approve-e2eoperation for selected fork work, authorized by a current repositorymaintainoradminactor and bound to the exact PR, head SHA, base SHA, risk plan, pending check, and live state. - Internal selected plans dispatch automatically after eligible PR CI.
- No protected-environment configuration or protected-environment documentation is required.
Repository configuration disposition
The former approve-credentialed-e2e-for-internal-pr protected-environment blocker is no longer part of the supported authorization path. #7826 and #7832 removed that queue and its environment-review dependency. Do not add new implementation or canonical documentation for the obsolete environment route.
Completion evidence
- ci(e2e): publish direct PR gate check #7935 merged on 2026-08-04.
- Final required CI, both review-advisor lanes, CodeRabbit, coordination, and the controller-owned
E2E / PR Gatepassed for exact head848d79aba6afa47631c128eff2b294a34c0aec20and base7b4c42d8694ab3d8819685774d222befe45be057. - Current
maincontains no polling/mirroringrequiredjob. .github/workflows/pr-e2e-required.yamlandtools/e2e/pr-e2e-required.mtsno longer exist onmain.- The epic is complete and closed.
Activity
jyaunches commentedon Jul 24, 2026
Maintainer direction: waive the Brev provisioning workstream in this issue. #7490 now owns migrating product-relevant legacy Brev coverage to exact-staging Launchable E2E, keeping platform-neutral checks in unified E2E, and retiring source-install-only tests. Do not add
tools/e2e/brev-provisioning.mtsor retry generic CPU/GPU provisioning fore2e-branch-validation. This comment records the explicit waiver required by this issue; the remaining independent workstreams are unchanged.ci(e2e): add orchestration job timeouts (#7537)
test(shields): verify child exit before policy restore (#7506)
test(hermes): fail closed on missing Linux Docker (#7507)
ci(platform): shard macOS and WSL Vitest suites (#7548)
ci(e2e): reuse the Hermes production image (#7508)
fix(platform): provision pinned OpenShell for macOS shards (#7549)
test(e2e): harden image reuse workflow validator (#7551)
cjagwani commentedon Jul 26, 2026
Split audit status
The issue remains valid, and the original #7262 mega-diff has been reconstructed as focused, non-conflicting PRs against current main
4fdbb79060c9cbe923779626de37717965261a78.Merged focused slices:
Open focused slices:
The sizes remain reviewable: the open PRs are one workflow contract, one two-file validator follow-up, one two-file trust anchor, and one installer-plus-focused-test runtime fix. All are currently mergeable against main and labeled
v0.0.96.This will materially help: #7549 proved the four-shard wiring executes, reducing serial platform feedback while preserving every shard and
fail-fast: false; #7508 removes repeated Hermes production builds; #7552 takes sandbox validation off the end of the main critical path without weakening the final gate. The exact-head run also exposed real macOS/Homebrew and WSL issues rather than masking them. The WSL failures already have fixes on current main, so no duplicate PRs were opened.Explicitly not opened yet:
approve-credentialed-e2e-for-internal-prstill hasprotection_rules: []E2E / PR Gateremains last, after fix(e2e): add retry to PR gate observer GitHub reads #7226 and sensitive reviewNo merge action was taken.
cjagwani commentedon Jul 26, 2026
Progress update: #7552 merged via
53c1a21222293b2c4a21d4447324839b0ab2adce, completing the main-workflow scheduling slice. The remaining focused PRs #7553, #7558, and #7555 are still mergeable against current main and carryv0.0.96; #7558 remains the prerequisite for #7555. The protected E2E environment is still unconfigured (protection_rules: []), so no authorization-doc or direct-required-check work has started. No merge action was taken by cjagwani.test(e2e): reject continued Hermes consumer builds (#7553)
9 remaining items
cjagwani commentedon Jul 30, 2026
v0.0.97 release E2E and observability retrospective
This is the authoritative mapping from the v0.0.97 release session. The initial release run had seven failed jobs representing four root-cause groups (not five independent product failures).
Release outcome
fa96c91f.v0.0.97, signed annotated tag object8fd8d54aa18504760974de0eee9015a536769865, pointing exactly to the fix(release): resolve recovery, Hermes, and inference E2E blockers #7778 squash merge.Initial failures and disposition
Initial evidence: run 30412031295 at revision
eeab81cc5542902538c97db63c132c0fdbd4341ccompleted 75 jobs successfully and failed seven:inference setcorrectly refused a mutation it could not roll back. Fixed in fix(release): resolve recovery, Hermes, and inference E2E blockers #7778 by letting the production command own provider creation, verification, and rollback..hermes/runtime.The repeated snapshot evidence was run 30421460316/job 90479532881: a bounded retry ran, but the same device-list operation failed twice. A later run also exposed the collapsed state
scope-upgrade-pending; approval=list-command-failed. The maintainer waiver treated this as a known recurring flake for .97, not as a passing test.A later
full-e2efailure was functional success followed by a cold-onboard duration of 240,480 ms against a 228,000 ms budget. That false-red/performance-observability problem is already tracked by #6660, with latency subduration work in #7597.Jetson and the exact staging Launchable were excluded by explicit maintainer direction for this release; they were not reported as passing evidence.
Observability and workflow gaps
list-command-failedcollapsed timeout, nonzero exit, empty output, invalid JSON, and missing pending collectionsapprove-e2eroute, current maintain/admin authorization, no protected-environment queuePR gate must have the matching pending E2E authorization state45d83ed7610d57e1d4695450f840e75ff9bc9254; this umbrella #7451 remains the right tracker for keeping E2E feedback work in focused PRsProcess lessons made concrete
No additional duplicate issues were opened: existing #7818, #6660, and #7451 cover their respective gaps; only the two previously untracked controller-observability gaps became #7860 and #7861.
ci(e2e): publish direct PR gate check (NVIDIA#7935)