LearnNewsExamplesServices
Frontmatter
id19843
titleThe engine e2e tier's shards run past the five-minute step ceiling
stateClosed
labels
bugaitestingbuild
assigneesneo-opus-grace
createdAtOct 17, 2026, 11:34 PM
updatedAtOct 18, 2026, 2:49 AM
githubUrlhttps://github.com/neomjs/neo/issues/19843
authorneo-opus-grace
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 18, 2026, 2:40 AM

The engine e2e tier's shards run past the five-minute step ceiling

Closed Backlog/active-chunk-9 bugaitestingbuild
neo-opus-grace
neo-opus-grace commented on Oct 17, 2026, 11:34 PM

Context

On dev's push of e161f623bf (2026-10-17 21:02Z), two of the three e2e-engine shards failed while every test passed. Shard 1 reported 133 passed (5.1m) and shard 3 87 passed (5.1m), and both ended with ##[error]The action 'Run e2e (engine tier)' has timed out after 5 minutes. On #19842, shard 1 fails the same way. The ✘ lines in those logs belong to WorkerErrorGate.spec.mjs's test.fail() twins and are expected.

The Problem

The tier has grown into its ceiling. Every engine-touching PR, and dev itself, now goes red on time alone, so a real failure in this check can no longer be told from the clock. That matters right before the 13.3 cut (#19652).

The Architectural Reality

.github/workflows/test-e2e.yml runs the tier as a matrix of 3 shards (shard: [1, 2, 3], shards: [3]), and the Run e2e (engine tier) step has timeout-minutes: 5 outside workflow_dispatch.

Design authority, from the workflow's header: "the ceiling is five minutes of test time per shard, enforced on the step below … A shard nearing it gets a sibling, never a higher ceiling: the ceiling is the wait every pull request pays." The same rule already moved the tier from 1 to 2 shards (#18896) and from 2 to 3 (#19079).

The Fix

Run four shards: shard: [1, 2, 3, 4], shards: [4]. The ceiling, the dispatch path and the selection in buildScripts/util/e2eCiSelection.mjs stay as they are.

The merge gate becomes one stable context (added 2026-10-17 after Emmy's CI hold on #19844). Dev's ruleset 19087298 requires e2e-engine (1/3), (2/3) and (3/3) by name. A shard's name carries the shard count, so four shards report contexts the ruleset never asks for, and every pull request would block. A gate job named e2e-engine needs the matrix and fails unless every shard succeeded. The ruleset then requires that one name, and the next sibling shard needs no ruleset edit. The swap is the operator's: in ruleset 19087298, replace the three shard contexts with e2e-engine and keep every other required context and field.

Acceptance Criteria

  • The engine tier runs as four shards on pull requests and dev pushes; workflow_dispatch still runs one. Shown by PR run 39074515285 and dev push run 39083652076 at the merge e0704c93bb, each with e2e-engine (1/4) … (4/4).
  • On the fix PR's own run, every shard's test step finishes under five minutes, with each shard's time recorded in the PR: 218 / 116 / 139 / 186 s (#19844 comment 6241630206).
  • An e2e-engine context reports on the fix PR's head, succeeds when every shard succeeds, and fails if any shard does not. It reported success at 35eb58f821 (22:23:35 → 22:23:38 UTC). The failure path holds by construction (test "${SHARDS}" = success on the matrix result); no failing run has exercised it yet.
  • (operator, at merge) Ruleset 19087298 requires e2e-engine in place of the three shard contexts. The operator made the swap 2026-10-18. A live read of rules/branches/dev at 00:23Z shows e2e-engine (integration 15368) with no shard context, and every other required context unchanged.
  • (post-merge) dev's next push reports the engine tier green. Open PRs pick up the gate on their next dev merge. Run 39083652076 at e0704c93bb succeeded: four shards, each between 3m23s and 4m33s, then the e2e-engine gate at 00:45:49 → 00:45:53 UTC.

Out of Scope

  • The ceiling itself, which the header rules out.
  • Rebalancing by test weight (PWTEST_SHARD_WEIGHTS).
  • The Brain-gated tier (#19655).

Related

#18896 · #19079 · #19842 (where it surfaced) · #19652 (the cut)

Live latest-open sweep: the latest 20 open issues at 2026-10-17T21:34:05Z, plus searches for "e2e shard timeout" and "five-minute"; no equivalent open. A2A claim sweep: no claim on the engine tier's CI in the window. MC sweep: "engine e2e tier shard timed out after five minutes …", 6 results. Ada's 2026-09-21 2→3 bump is the precedent; no decision against a fourth shard. Own-assignment sweep: #19841 (in PR #19842), #19652, #19765, #19766, #15000; disjoint.

Origin Session ID: caeb11ca-daae-42a2-8924-95229e329df2 Retrieval Hint: "engine e2e tier shard step timed out five minutes, a shard nearing it gets a sibling"

🖖 Grace (Opus 5.5, Claude Code) · session caeb11ca-daae-42a2-8924-95229e329df2

tobiu referenced in commit e0704c9 - "ci(e2e): the engine tier runs as four shards, each back under the five-minute step (#19843) (#19844) on Oct 18, 2026, 2:40 AM
tobiu closed this issue on Oct 18, 2026, 2:40 AM