Repository navigation
Conversation
…in the CI lane The scheduled Full regression selected six packaged enterprise journeys and computer-use-window-scope as local jobs, but no job in daytona-e2e.yml builds a packaged desktop binary or runs on macOS, so each one threw SkipError, recorded 'not tested', and turned red on every run. The lane could neither confirm nor refute changes to activation, updater or quit paths. Journeys now declare what they need beyond placement (an env var or a platform) in the catalog. The planner compares those needs with what the lane provides, excludes journeys it cannot satisfy from the matrix, and lists them in the plan and the verdict as 'not applicable' with the missing need. They no longer count toward passed, failed or not tested, so red means red. The packaged journeys stay covered against a real enterprise build by apps/desktop/scripts/packaged-smoke.mjs in ci-tests.yml on every PR and push. Building that binary inside the nightly is a follow-up. The 'only' dispatch input accepts a comma-separated list so a targeted run can name several journeys.
…e delimiter-only filters Second-opinion review of #4849 (9ce91b0), §4 "Requirements and scope": - journey-catalog.mjs:26 declared only OPENWORK_EVAL_ELECTRON_BINARY for released-enterprise-activated, but the spec's update case also requires OPENWORK_EVAL_RELEASED_BASELINE_BINARY (released-enterprise-activated .e2e.test.ts:18-20). A lane providing only the main binary would have scheduled it and skipped. The catalog now names both. - TestNeeds (evals/packages/env/src/needs.ts:3-10) had no `platform`, so the catalog's `needs: { platform }` was planner-only vocabulary. `platform` now lives in TestNeeds and unmetNeeds checks it, and computer-use-window-scope declares `needs: { platform: "darwin" }` alongside its world guard (evals/worlds/computer-use.ts:73), so specs and catalog share one vocabulary. - Parity guard: for every catalog entry with `needs`, journey-ci.test.mjs statically scans the spec and the worlds it imports for `needs: { env, platform }` declarations and for `process.env.OPENWORK_EVAL_*` / `process.platform` checks leading to `throw new SkipError`, and fails on drift in either direction (spec-only addition -> red; catalog-only addition -> silently dropped coverage). Scoped to declared journeys because shared worlds (first-run.ts:582,725) carry scenario-specific guards; per-scenario world plans remain #4771's job. - selectJourneys (journey-catalog.mjs:76-78) treated `only=", ,"` as "run everything". Nonblank delimiter-only input now throws a clear error; blank input still selects everything. Unit-tested. node --test evals/scripts/journey-ci.test.mjs: 16 pass, 0 fail.
…isfy prerequisites" in every run Second-opinion review of #4849 (9ce91b0), §3 "Framing and downstream effects": unqualified "not applicable" makes an infrastructure omission sound intentional. The state is a coverage gap and is now named as one. - plan.json / journey-report.json field renamed `notApplicable` -> `excluded` (the only consumers are plan-journeys.mjs, journey-report.mjs and notify-journeys.mjs in the same workflow; nothing external reads it). - Human label everywhere: "skipped: lane cannot satisfy prerequisites" (journey-report.mjs EXCLUDED_LABEL). - The plan step summary and the Full regression verdict summary both print `N journeys skipped (prerequisites unmet)` followed by the list with each journey's unmet need, on every run — not only inside the artifact. The count line reads `P passed · F failed · N not tested · X skipped (prerequisites unmet)`. - Excluded journeys still count toward neither passed, failed nor not tested, a stray result for one cannot count as coverage, and an all-excluded selection still fails the plan job (now with the new wording). node --test evals/scripts/journey-ci.test.mjs: 16 pass, 0 fail.
…ecovered Second-opinion review of #4849 (9ce91b0), §3 "Must fix": notify-journeys.mjs:7-14 dropped the excluded journeys when validating the report, and :20-28 built incident state from executed entries only, so a journey that went failed -> excluded disappeared from `failures` and the next scheduled run would have announced "Recovered — all selected checks passed" without that journey ever passing. - validateReport keeps `excluded` (spec, name, reason; capped, no overlap with executed results) next to `entries` and `counts`. - Incident state gains `excluded: [spec]`. State written before this field existed reads as "nothing excluded". - A previously failing journey that is now excluded is reported as "reclassified: prerequisite unsatisfied (needs: ...)" with the summary "Executed checks passed — not a recovery"; "Recovered" is only said when nothing was reclassified. Failure alerts carry the excluded count in their count line and list excluded journeys with reasons. Healthy runs with persisting exclusions stay quiet; excluded -> passed is a healthy run. - Transition tests in evals/scripts/notify-journeys.test.mjs: failed -> excluded (reclassified, not Recovered), genuine recovery, excluded persists, excluded -> passed, payload counts/reasons, untrusted reasons escaped. - ci-tests.yml `openwork-tests-core` runs the new file alongside journey-ci.test.mjs and flake-report.test.mjs (evals `pnpm test` already globs scripts/*.test.mjs). node --test evals/scripts/journey-ci.test.mjs evals/scripts/flake-report.test.mjs evals/scripts/notify-journeys.test.mjs: 27 pass, 0 fail.
…line a case-level need Second-opinion review of #4849 (comment 5628206745, §4) and the audit correction (comment 5628261660): "Do not union prerequisites across a file: that would suppress its runnable launch world." 18d26d6 had declared OPENWORK_EVAL_RELEASED_BASELINE_BINARY as a journey-level need for released-enterprise-activated; only its update case needs it (released-enterprise-activated.e2e.test.ts:18-20), the launch case runs with the main binary alone. - The catalog declares the main binary only again and documents that `needs` means a whole-file blocker; case-level prerequisites stay in that case's own `needs` and skip with their own reason (the verdict counts such a skip as not tested, so the lane that runs this journey must provide both binaries to pass it — #4848). - The parity guard now computes whole-file blockers explicitly: the intersection of every `needs: { env }` declaration in the spec, plus env reads / platform checks leading to `throw new SkipError` in imported world bodies (which every case runs). Mixed-world unit test: a need one case declares is never promoted to the file; world-body guards always are; an optional env read without a SkipError is not a blocker. - `needs` vocabulary stays TestNeeds (needs.ts); no third authority. Per- scenario world plans remain #4771/#4762. node --test evals/scripts/journey-ci.test.mjs: 17 pass, 0 fail.
…quietly thereafter Second-opinion review of #4849 (comment 5628206745, §3): "propagate count/reasons and selection changes through Slack/state". 31131a4 carried excluded journeys in state and distinguished reclassification from recovery, but a journey that moved from passing to excluded (a lane or catalog change removing coverage) stayed silent. - When prior state exists, journeys excluded now but not in `previous.excluded` (and not reclassified failures) are announced once as "Executed checks passed — coverage changed: N journey(s) newly skipped (prerequisites unmet)" with each journey's need; the next run with the same exclusions is quiet. State from before the field existed announces the current exclusions once. No prior state at all stays quiet. - Failure alerts already list every excluded journey with reasons and are unchanged. node --test evals/scripts/journey-ci.test.mjs evals/scripts/flake-report.test.mjs evals/scripts/notify-journeys.test.mjs: 29 pass, 0 fail.
…ourney failures, without workflow edits Split of #4849: every behavioural change lives in evals/scripts (planner, report, alert), evals/packages/env (TestNeeds.platform) and one spec's needs declaration. The two one-line .github/workflows edits (the `only` input description in daytona-e2e.yml and the explicit notify-journeys test in ci-tests.yml's core job) are dropped here so Warden can self-clear this PR; they stay in #4849, stacked on this branch, for a human review. Signed-off-by: Guillaume Loret <[email protected]>
… workflow lines The planner/report/alert changes now live in #4901 (self-clearable by Warden). This branch keeps only the two one-line .github/workflows edits; the tree is unchanged. Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
…ocker #4814 (merged after #4849 was written) turned the packaged-launch world's missing-binary SkipError into a plain Error. The catalog/spec/world parity test only recognised SkipError guards, so packaged-first-launch and packaged-activated-launch looked like drift although the lane still cannot run them. Recognise `throw new Error` in the same guard window, with a unit case. Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
This was referenced Sep 11, 2026
Closed
Closed
Contributor
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (8830 ms), confidentiality-review (2264 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
…merge) Signed-off-by: Guillaume Loret <[email protected]>
Contributor
|
Passed · 12/12 tests · 18/18 assertions · 8 images Commit |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remainder to review (head
029af621d, +2/−2 in 2 files): one line in.github/workflows/ci-tests.ymladdingevals/scripts/notify-journeys.test.mjsto the PR-blockingopenwork-tests-corecheck, and oneonlyinput description line in.github/workflows/daytona-e2e.yml; all scripts/tests already landed ondevvia #4901 (3a2e03a3d), and the branch was resynced with one signed--no-ffmerge oforigin/dev(no conflicts) so the diff is now exactly this.What is left here (needs one human approving review)
Two files, one changed line each:
.github/workflows/ci-tests.ymlCheck journey selection, reporting, and alertsinopenwork-tests-corealso runsevals/scripts/notify-journeys.test.mjsopenwork-tests-coreis the PR-blocking job. Without it the new alert-transition tests (reclassified ≠ recovered, coverage-changed announced once, excluded persists quietly) only run inopenwork-tests-extended'spnpm test:eval-runnerglob, and that job runs onschedule/workflow_dispatchonly (ci-tests.yml:226)..github/workflows/daytona-e2e.ymlonlyinput description: "Comma-separated substring filters…"journey-catalog.mjs(#4901) and the workflow passesinputs.onlythroughONLY_FILTERunchanged, so comma-separated filters already work once #4901 merges. Could be dropped without loss; kept so the dispatch form does not lie.Warden never self-clears a PR touching
.github/(warden-clearance.yml:100-107), so this needs @benjaminshafii or another human approver. Merge order: #4901 first, then this (GitHub retargets it todevwhen #4901's branch is deleted; the added test file only exists with #4901 in the tree).Head after the split:
401f6afb1(a-s oursmerge of #4901's branch; tree unchanged, no history rewritten).Original description (pre-split, evidence refers to head 1a9ee32)
This PR stops scheduling journeys whose prerequisites this lane lacks and reports the resulting coverage exclusions explicitly. It adds no packaged or macOS execution coverage. Full-lane PR checks already run five packaged specs; released-binary and native-macOS gaps remain. Reclassification is not recovery.
Problem
The scheduled Full regression in
daytona-e2e.ymlselects six packaged enterprise journeys andcomputer-use-window-scopeaslocaljobs, but no job in that workflow builds a packaged desktop binary or runs on macOS (daytona-e2e.yml:225–260uses Linux and prepares development dependencies only). Their world guards reject the missing prerequisite (evals/worlds/packaged-first-launch.ts:132–134,packaged-preactivation-updater.ts:53–55,packaged-preactivation-egress.ts:91–93,desktop-quit-path.ts:50–52,released-enterprise-activated.ts:302–304,computer-use.ts:71–82), the skip records not tested,evals/bin/evals.mjs:429–439exits 2, and the job is red.packaged-first-launch,packaged-activated-launch,packaged-preactivation-updater,packaged-preactivation-egress(#4809),released-enterprise-activated,desktop-quit-path(#4787),computer-use-window-scope.These journeys have never been successfully exercised by this scheduled lane since their introduction. The evening run had seven incomplete jobs; the morning run had five (quit and egress landed later that day, #4787/#4809). Computer Use ran on Daytona, and its world requires local macOS/AppKit. The lane therefore neither confirms nor refutes #4809 / #4787 / #4805 for these paths; see
reports/e2e-gate-baseline-2026-09-10.md.Change
Journeys declare what they need beyond placement in
journey-catalog.mjs(needs: { env: [...] },needs: { platform }) in the sameTestNeedsvocabulary the specs use —platformis now aTestNeedsfield (evals/packages/env/src/needs.ts) andcomputer-use-window-scopedeclares it.plan-journeys.mjscompares each selected journey against what the lane provides (ciLane: Linux, no packaged binary):skipped: lane cannot satisfy prerequisiteswith each unmet need, inplan.json, in the plan step summary, and in the verdict summary — on every run, asN journeys skipped (prerequisites unmet)followed by the list;notify-journeys.mjs) carries the excluded journeys (counts + reasons) in its payload and incident state. A journey that moves from failing to excluded is announced as reclassified: prerequisite unsatisfied — not a recovery; "Recovered" is only said when nothing was reclassified. A selection change (a journey newly skipped that was not failing) is announced once as "coverage changed"; persisting exclusions stay quiet;needsexplicitly mean whole-file blockers. A parity test computes, for every declared journey, the intersection of the spec'sneeds: { env }declarations plusSkipErrorguards in imported world bodies (process.env.OPENWORK_EVAL_*,process.platform), and fails on drift in either direction, with a mixed-world unit test.released-enterprise-activatedkeeps the main binary as its only journey-level need: its update case alone needsOPENWORK_EVAL_RELEASED_BASELINE_BINARY(released-enterprise-activated.e2e.test.ts:18–20) and skips itself with its own reason — a journey-level baseline need would have silently dropped the runnable launch case. The verdict counts that case skip as not tested, so the lane that runs this journey must provide both binaries (Nightly Full regression: build the packaged enterprise desktop once and run the packaged journeys against it #4848);okstill requires ≥1 executed journey, and a stray result for an excluded journey cannot count as coverage;onlydispatch input accepts a comma-separated list; nonblank delimiter-only input (", ,") is rejected instead of selecting everything.What this does not do
It does not build the enterprise binary in this lane (option A, #4848) and adds no macOS execution. Coverage of the packaged journeys against a real enterprise build exists today only in
apps/desktop/scripts/packaged-smoke.mjs(ci-tests.ymlfull lane), which runs the same five spec files unfiltered against anelectron-builder --linux --direnterprise package on every full-lane PR and every dev push (docs-only and model-snapshot-only PRs skip the build,ci-tests.yml:38–56). It is indirectly blocking throughopenwork-tests-required. Still uncovered anywhere automatically:released-enterprise-activatedagainst a released binary with a released baseline (#4848), macOS crash-report assertions (desktop-quit-path.e2e.test.ts:76–90) and updater download/install rather than attempt (packaged-preactivation-updater.e2e.test.ts:72–90) — tracked in the follow-up issue linked below.Flake statistics are unchanged:
nightly-flake-report.ymlruns--project prand never consumes the journey report.Not in scope, still red/not-tested in the nightly for other reasons (owners in the gate report):
role-change-session-survival(placement metadata),cross-server-handoff-atomic-commit(Next dev lock), POLICY-ROLLBACK (opencode2on runner).Proof
Lane: GitHub Actions (Blacksmith Linux) for the workflow; local for the unit tests. This change is CI planner/report/alert scripting, one
TestNeedsfield, one specneedsdeclaration, and workflow input/test-list edits; it has no runtime spec path of its own, sopnpm evals:e2e --publishdoes not apply.Unit tests (the suite
ci-tests.ymlopenwork-tests-coreruns), at PR head:Covers: exactly the 7 journeys above are excluded in
ciLanewith the expected reasons; a lane withOPENWORK_EVAL_ELECTRON_BINARYleaves onlycomputer-use-window-scopeexcluded; whole-file catalog/spec/world parity for every declared journey plus the mixed-world case; delimiter-onlyonlyrejected; excluded entries never altercounts/ok; alert transitions failed→excluded (reclassified, not Recovered), genuine recovery, excluded persists (quiet), excluded→passed, passed→excluded (announced once), payload counts/reasons, escaping.Live workflow dispatch on this branch — https://github.com/different-ai/openwork/actions/runs/34553623283 (head
1a9ee322f) — passed:plan: success.journey-planartifact →entries: [mcp-oauth-start-unreadable-response];excluded: the 7 journeys with reasonsset OPENWORK_EVAL_ELECTRON_BINARY(×6) andrun on darwin(computer-use). NonotApplicablefield remains.local-journeyjob was scheduled; it passed.Full regressionverdict: success.journey-reportartifact:ok: true,counts: {passed: 1, failed: 0, "not tested": 0},excluded: 7.7 journeys skipped (prerequisites unmet)followed by the seven journeys and their needs — the same planner/report code produces this line locally for the same filter (quoted below); the rendered summary is on the run page for a signed-in viewer.This dispatch proves classification and reporting only; it does not exercise the scheduled-only alert path (unit-tested above) and is not packaged coverage.
Control (local, same head):
ONLY_FILTER=packaged node evals/scripts/plan-journeys.mjsexits 1 withNo automated journeys matched … 4 matched journey(s) are skipped because this lane cannot satisfy their prerequisites: …;ONLY_FILTER=", ,"exits 1 withThe only filter ", ," names no journey.Review note
This PR touches
.github/workflows/(daytona-e2e.ymlinput description,ci-tests.ymltest list) andevals/scripts/. Warden's self-clear guard covers.github/,warden.toml,.warden/and skills paths (warden-clearance.yml:212–219) — it does not includeevals/scripts/— while the journey authorization guard indaytona-e2e.yml:77–82does. Either way this PR needs a human approval to merge; a green Warden is not approval.#4771 (draft, stacked on #4762,
ci(evals): consume explicit world plans in product journeys) edits the same files; this PR does not pre-empt it. Theneedsvocabulary here isTestNeeds, not a third authority; the parity test is deliberately scoped to journeys with declaredneedsbecause shared worlds carry scenario-specific guards — per-scenario/per-world plans are #4771/#4762's job.Follow-ups: #4848 (build the enterprise binary in the scheduled lane; released-enterprise-activated with a released baseline) and #4885 (native macOS crash-report assertions; updater download/install).
Recreated from #4849, which GitHub auto-closed when its stacked base branch was deleted after the base PR merged. Same head branch (
e2e/lane-packaged-journeys), same commits; base is nowdev. Reviewers: see the original thread on #4849 for context and Warden discussion.