#3085: #2637 gated eight previously-unfiltered e2e lanes to request-pipeline
hot files (plus a nightly backstop). Non-hot-file changes then shipped without
e2e coverage, letting regressions through. Remove the pull_request path filters
(and windows-codex's push filter + its YAML anchor) so every PR runs the full
e2e suite again by default.
Kept (none of these reduced coverage): nightly schedules, schedule-safe
concurrency groups, workflow_dispatch fallbacks, ci.yml fail-fast tiering, and
pr-artifact monotonic temp versions — all untouched.
Closes#3085
Plan #2: path-filter the eight unfiltered heavy lanes (e2e-fake,
codex-persona, dsh-native, native-opencode, native-pi, pi-ws, registry,
windows-codex) to request-pipeline hot files (AGENTS.md §3) plus each
lane's own test subjects; windows-codex filters BOTH pull_request and
push (shape follows ci-zcode-real.yml) so routine master merges stop
paying for three Windows jobs. Required checks (the four ci.yml test
legs, verified via branch-protection API) are untouched.
Plan #3: nightly '30 16 * * *' UTC full regression on master for all
eleven heavy e2e lanes (schedule ignores paths = daily backstop for the
new filters); workflow_dispatch fallback kept everywhere. Concurrency
groups gain a schedule-safe branch so master pushes never cancel the
day's nightly run; same-ref supersede-cancel semantics unchanged.
Plan #8: ci.yml fail-fast tiering — the ~0-1m guards gate the four
platform legs so a broken commit stops in tier 1 (owner-approved).
Behavior change: on guard failure the required legs show pending
instead of red; merge stays blocked.
Also: pr-artifact and windows-codex get same-ref cancel-in-progress
concurrency (pattern of merged #2635); pr-artifact temp versions are
monotonic per run_number (#1385), so a cancelled mid-publish run leaves
no residue.
A transient runner-to-registry ECONNRESET during setup-phase `npm i -g` /
`npm ci` reds an otherwise-green PR with no test code ever running (#2541 run
38032380794; rerun-failed-jobs green on the same head). Root cause: npm's
built-in fetch retry defaults to only 2 tries. Raise it to 5 via a job-level
env block on every job that touches the registry, so a ~10s jitter rides out
instead of aborting setup. Job-level placement covers the global CLI install
AND `npm ci` AND any build-time fetch in that job. Bounded: worst case ~+2 min
of backoff before a genuine sustained outage still fails fast (jobs carry their
own timeout-minutes).
Applied to the 9 e2e/setup workflows with executable registry installs (12
jobs total). Deliberately NOT applied around `npm publish` (artifact/release
lanes): a publish is non-idempotent, so a fetch-retry re-POST can trip E409 /
double-publish, which is worse than the original failure mode. Documents the
required pattern in reference/testing.md so new lanes inherit it.
Real opencode host (1.x bare-file plugin / 2.x wrapper-dir plugin) driven
headless through bili's self-spawned proxy against the deterministic fake
chat upstream; zero tokens. Asserts the four #1239 acceptance items:
interception + plugin-mode claim on every request, ACP tool registration
and acp_status round-trip, model-invoked compress really folding a block
(persisted after graceful stop), and the live status endpoint answering
ok for the bound conversation (/acp analog — the slash command is
TUI-only and unreachable in run mode).
Gated behind ACP_TEST_E2E_OC_NATIVE=1 (skip by default); E2E_CHECK=1
zero-cost preflight. CI workflow pins @opencode/cli@2.0.3.