Repository navigation
fix(roadmap): the module-test and caller gates read imports and calls - #4490
Conversation
Measurements and checksFail-to-pass
The behavior failures on the base include The stored refused repliesI replayed
The change clears 3 refusals outright: What stays, and why:
Stage eval replay
The items that failed stage 3 or more timesFrom the stage failures of the 48-hour window (2026-11-09 to 2026-11-10), I count 27 items with 3 or more failures; the brief counts 21. The stored refused replies cover 13 of them. Of those:
The live ServiceThe change needs no ConfigMap or Secret change. The Service gets it with the next image. Local CI
|
12bdd01 to
2855d2f
Compare
A test of a changed module is a test that imports it, a package that imports it, or another changed module that imports it. A string or a path that holds the name is no import. The caller gate reads only a task clause that adds a parameter, an argument or a keyword, and it finds the calls with ast. grep_at searches a fixed string.
2855d2f to
fa54fe0
Compare
|
Rebased onto The only conflict was in the archive commit, in Checks on the rebased head:
|
|
Review findings after merge:
No minor findings. |
The caller gate (#3307) of the stage plan check reads again the most frequent task form, Add `x` to `fn` or Add `x: T = d` to `fn`. Since #4490 it read a function only when the clause said parameter, argument or keyword, so a plan that added a parameter in the plain form and left out a caller passed. - `changed_functions` in `src/devops_cli/roadmap/stage/stage_paths.py` also reads a clause whose added part is one code span, alone or after `the`, that `ast` reads as the parameters of a `def`. A decorator, an option and a constant in capitals are no parameter. The `def` filter of `calling_files` drops a class or an enum. - The tests use the plain form Add `probes` to `check_proposal` again, add the true and false span forms, and keep a field of a model free of a caller problem. - `docs/ROADMAP_WORKFLOW.md` and the `roadmap-stage` requirement state the rule. Closes #4529 Change: `openspec/changes/archive/2026-11-11-4529-the-caller-gate-reads-an-added/`
🤖 I have created a release *beep* *boop* --- ## [0.112.0](v0.111.0...v0.112.0) (2026-11-11) ### Features * **k8s:** export gateway spans without key metadata ([#4520](#4520)) ([7234d71](7234d71)) * **k8s:** set the homelab domain in container env values ([#4608](#4608)) ([a3bcf7c](a3bcf7c)) * **telemetry:** send pydantic-ai spans through the exporter seam ([#4538](#4538)) ([fcf2a7a](fcf2a7a)) ### Bug Fixes * **ai:** price cached prompt tokens of chat calls ([#4584](#4584)) ([f84bbe6](f84bbe6)) * **devcontainer:** stop uv noise lines in agent shells ([#4592](#4592)) ([9ba375c](9ba375c)) * **k8s:** delete gateway management bodies from spans ([#4551](#4551)) ([b835d3c](b835d3c)) * **k8s:** set the kube context and namespace on devops pods ([#4514](#4514)) ([9087b39](9087b39)) * **roadmap:** a refused spec after the archive is a plan defect ([#4549](#4549)) ([1db29f7](1db29f7)) * **roadmap:** count and log the reason of a left-out stage item ([#4541](#4541)) ([5600179](5600179)) * **roadmap:** default the step ceiling to twice the budget ([#4556](#4556)) ([1dfb6c8](1dfb6c8)) * **roadmap:** explain --trace shows the argument digest ([#4526](#4526)) ([c92195f](c92195f)) * **roadmap:** explain totals count dropped model events ([#4543](#4543)) ([fe0e979](fe0e979)) * **roadmap:** give each eval verify run its own report file ([#4534](#4534)) ([ad27f2d](ad27f2d)) * **roadmap:** one event loop and a time limit for decide_all ([#4585](#4585)) ([ec51e01](ec51e01)) * **roadmap:** scoped updates send requests with no row scope ([#4531](#4531)) ([5f75d25](5f75d25)) * **roadmap:** the caller gate reads an added parameter span ([#4548](#4548)) ([1ba07c1](1ba07c1)) * **roadmap:** the implement shell waits for its command ([#4536](#4536)) ([571e044](571e044)) * **roadmap:** the module-test and caller gates read imports and calls ([#4490](#4490)) ([8a22e82](8a22e82)) * **service:** put trace ids on Service JSON log lines ([#4511](#4511)) ([0d7a0d2](0d7a0d2)) ### Performance Improvements * **ai:** keep intake embeddings between CLI runs ([#4546](#4546)) ([812871e](812871e)) * **roadmap:** intake reads only the issues that changed ([#4552](#4552)) ([7dfd155](7dfd155)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The module-test gate (#3414) counted a test that held the dotted name of a module as text, and
grep_atread each dot as a regex wildcard. So a plan that changed the messages module had to nametests/commands/test_new.py, which holds only its path. The caller gate (#3307) read a function name across sentences, took a class as a function, and matchedscan_fix(for_fix(.astandbuild_import_graphread the imports.grep_atsearches a fixed string.astfinds the calls. A name with nodefhas no caller.Closes #4467
Change:
openspec/changes/archive/2026-11-11-4467-the-module-test-and-caller-gates/