Repository navigation
ci: map ci.yaml edits to the jobs they sit in (spec 023 PR 4) - #785
ValgulNecron merged 13 commits into
Conversation
Mode jobs maps changed ci.yaml lines to their job (plus the jobs it needs) and .golangci.yml to the lint legs; edits outside any job or in changes/report still force full scope. Each job gate is ORed with the edited-job list and modes modules, units and e2e widen that job's own selection (spec 023 US3, OD-3). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Adds a How CI picks tests section to docs/contributing.md and a task map row in docs/agent-architecture.md (spec 023 T048, T049). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…hread-63yei6-pr4 Signed-off-by: Claude <noreply@anthropic.com>
…hread-63yei6-pr5 Signed-off-by: Claude <noreply@anthropic.com>
…aths OD-3: those files now map to the jobs they feed (mode jobs) instead of forcing every module. valgul signed off on this assertion change (2026-10-22). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…hread-63yei6-pr4 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…hread-63yei6-pr5 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…hread-63yei6-pr4 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
ci_blocks read the YAML list marker `-` as a job id when `needs:` was a list, so the job map gained a job named `-`. A job id now has to start with a letter, digit or underscore. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…hread-63yei6-pr5 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
CI Report - 0f8d732run 39825896695 - attempt 1 0 failed - 33 passed - 0 skipped - 91m30s elapsed Test selection: full (selection-rule change) - per-suite table Coverage
Changed
Slowest jobs
e2e buckets run
|
…ei6-pr5 docs: explain how CI picks tests (spec 023 PR 5)
4b90043
into
claude/project-thread-63yei6-pr3
Each TestCISelection_* test commits a whole checkout, which leaves enough loose objects to start git's background gc and maintenance. On arm64 they were still writing into .git when t.TempDir removed it, so the tests failed at cleanup with "directory not empty" after every assertion had passed (#748, #775; #785 hit the same in the coverage fixture). The git helpers in the e2e test and both Python test files now pass gc.auto=0 and maintenance.auto=false. Approved by valgul 2026-10-22. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Stacked on #779 (spec 023 PR 3). Review only this PR's own commits. Its base moves to master once #778 and #779 merge.
Summary
Spec 023 US3 (tasks T042–T046, OD-3): an edit to
.github/workflows/ci.yamlor.golangci.ymlno longer forces the whole suite. It runs only the jobs it feeds, plus workflow validation.hack/ci_scope.pymodejobs:ci_blocksparses the job blocks underjobs:and theirneeds(inline, list or flow form).changed_ci_linesmapsgit diff -U0hunks to old and new line numbers.ci_jobsreturns the edited jobs plus theirneedsclosure, minuschangesandreport. An edit outside any job (triggers,env,concurrency, …) forces the full suite.lint,go,web, thee2e-go*jobs ore2e-game-botwidens that job's own selection (widen_e2eandwiden_units), because those jobs read selection outputs and anif:alone is not enough.ci.yaml:jobsstep andci-jobsoutput.if:lines are ORed withcontains(fromJSON(needs.changes.outputs.ci-jobs || '[]'), '<job>').FORCE_ALL_FILESdropsci.yamland.golangci.ymland addstest/e2e/suite-components.json..golangci.ymlnow runs only the lint legs (NO_E2E_FILES)..github/prefix becomes.github/actions/.cilist is updated to match.CiJobsTests,CiJobsModuleTests,WidenTestsandEditedJobSummaryTests.test_shared_inputs_and_dependency_changes_select_every_moduleno longer lists.golangci.ymland.github/workflows/ci.yaml, since OD-3 maps them to their jobs.Checks
Generated by Claude Code