Repository navigation
[2026-12-04t13-00-02-227z] main-red-fixer - #850
Merged
Merged
Conversation
Contributor
Author
Artifacts & verificationRun: 1721 · Commit: Verification reportProduced by Show artifactAuto-review summaryProduced by Show artifact |
Contributor
Author
|
🤖 Auto-merge: merged (squash) at Every changed file is inside the workspace's safe paths. |
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.
Why
Task 2026-12-04t13-00-02-227z: main-red-fixer
CI run 47333401234 on main (commit 1e605fd) succeeded. The offline e2e suite had 2 failures, both in
worker-doctor.test.ts.--jsonnext steps to be exactly["run-foreground"]. The CLI now returns["run-foreground", "try-first-task"]. Commit 90a76a6 ([local-agent-setup-default-the-markdown-tasks-f] Agent setup: default the markdown tasks folder and offer try-first-task once ready #841) madetry-first-taskappear on any ready workspace. Commit 3aee08c ([local-worker-doctor-init-no-service-install-st] Worker doctor/init: no service-install step on hosts without a service manager #842) then added therun-foregroundswap and wrote its assertion withouttry-first-task. The CLI behaviour is deliberate, so the test was wrong.["service", "try-first-task"]but gets["run-foreground", "try-first-task"]. This sandbox blocks the systemd user bus (systemctl --userfails with "Operation not permitted"), so the CLI correctly reports no service manager. It failed on both solo reruns and I changed nothing for it. It should pass on a host with a user bus.What changed
packages/e2e/tests/local/worker-doctor.test.ts: the no-bus assertion now expects["run-foreground", "try-first-task"]. No product code changed. This is a test-only fix for the e2e gate. The CI gate was not red.Scope
This covers the stale expectation in one file. I searched
packages/e2efor otherrun-foregroundassertions.worker-init-noninteractive.test.tsusestoContain, so it is unaffected. I did not touch the environmental failure.Tradeoffs
None meaningful. The change adds one expected id to match the intended output. No assertion was weakened or skipped.
Blast Radius
Only the e2e test file changed, so the product, CI and the released package are unaffected. The e2e suite gates
@getdevintern/codereleases, so this unblocks the next release run, except that the environmental test still needs a host with a systemd user bus.Verification
gh run liston main: all 5 recent CI runs succeeded. Latest is run 47333401234 (commit 1e605fd), a push to main.bun install --frozen-lockfileandbun run --filter @getdevintern/code buildboth succeeded (thedist/index.jsbuild was present).AGENT_CLI_PATH=bun bun run --filter @devintern/e2e testbefore the fix: 498 pass, 16 skip, 3 todo, 2 fail (519 tests, 138 files).worker-doctor.test.ts: the same 2 tests failed both times.main-red-fixerin title, ande2e): no existing fix. Thee2esearch returned a list of unrelated open PRs, which I did not open.worker-doctor.test.ts: 1 pass, 1 fail. The fail is the environmental test.bun run format:check: passed.bun run lintandbun run typecheck: no errors shown in the tail of the output, but I did not check their exit codes.AGENT_CLI_PATH=bun bun run test, andbun run buildas a CI step.🤖 Opened by DevIntern from 2026-12-04t13-00-02-227z