Add RunDetail.taskDag fixtures to worker tests #3
No reviewers
Labels
No labels
bug
codex
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
florian/codex-swarm!3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/fix-ci-pipeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
RunDetailcontract now requires ataskDagfield, so worker test fixtures must include a matching DAG structure to satisfy type checks and runtime expectations.Description
taskDaggraph toapps/worker/test/runtime.test.tsand a single-nodetaskDag(matching the seeded validation task) toapps/worker/test/validation-runner.test.tsso fixtures conform topackages/contractsrunDetailSchema.Testing
corepack pnpm ci:typecheck(success) andcorepack pnpm --filter @codex-swarm/worker test(success), while the fullcorepack pnpm ci:testrun still fails due to unrelated API test issues (a timeout intest/app.test.tsand adefaultBranchassertion intest/repository-provider.test.ts).Codex Task
Summary
RunDetail.taskDagremains the expected empty graph shape (nodes,edges,rootTaskIds,blockedTaskIds,unblockPaths). apps/worker/test/runtime.test.tsL428-L442taskDagstay aligned (single node, matching root task id, matching node task id). apps/worker/test/validation-runner.test.tsL85-L93Testing
corepack pnpm --filter @codex-swarm/worker testcorepack pnpm ci:typecheckCommitted on branch
workas:8a75f79— Add DAG alignment assertions to worker run fixtures.Also created a follow-up PR via the
make_prtool with title:View task →