Skip to content

test(roadmap): pin single registry read in stage eval replay - #4117

Merged
dan-petty merged 2 commits into
mainfrom
perf/4057-cache-registry-table-in-stage-eval
Nov 8, 2026
Merged

dan-petty merged 2 commits into
mainfrom
perf/4057-cache-registry-table-in-stage-eval

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Issue #4057 reports that the stage replay took 615 seconds. Each golden case parsed all test modules to build the registry table. Commit 8476163 reads the table once in replay_all and passes it to each case. This change adds two tests to pin that single read.

Closes #4057

Change: openspec/changes/archive/2026-11-08-4057-cache-registry-table-in-stage-eval/

@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 1051071/6067 -
  • scoped check pre-push: passed, 18 s
  • scoped check static: passed, 80 s
  • scoped check tests: passed, 116 s
  • verify of group 1: uv run devops ci test tests/roadmap/stage/test_roadmap_stage_eval_gates.py exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-4057
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/roadmap/stage/test_roadmap_stage_eval_gates.py \u2192 tests/roadmap/stage/test_roadmap_stage_eval_gates.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /home/devops/.data/agent/worktrees/w-4057
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, hypothesis-6.168.3, asyncio-1.4.0, syrupy-6.1.1, split-0.11.0, time-machine-3.5.1, mock-3.16.0, timeout-2.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 39 items

tests/roadmap/stage/test_roadmap_stage_eval_gates.py .......................................                                                                                                                                                       [100%]

============================================================================================================= 39 passed in 102.33s (0:01:42) =============================================================================================================
Bytecode compiled 19212 files in 1.78s
Bytecode compiled 19212 files in 1.86s
Elapsed: 1m 51s

@devops-cli-service devops-cli-service Bot added type/infra Type infra: the build, CI, images or cluster scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 8, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 8, 2026 03:29
@dan-petty dan-petty changed the title perf(roadmap): cache registry_table in stage eval replay test(roadmap): pin single registry read in stage eval replay Nov 8, 2026
@dan-petty dan-petty added type/test Type test: a new or changed test and removed type/infra Type infra: the build, CI, images or cluster labels Nov 8, 2026
@dan-petty

Copy link
Copy Markdown
Owner

Check results

Head commit: f2cbe807835acb74c5d49df1a0e72f4c5ab2fa3d

Check Conclusion Link
Plan Check skipped run
Semantic PR title success run
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
CodeQL success run
Plan Check skipped run
Plan Check skipped run
Semantic PR title success run
Dependency Freshness skipped run
Test Job Duration skipped run
Tests & Coverage (shard 3 of 4) success run
Third-Party Image Scan success run
Tests & Coverage (shard 2 of 4) success run
Docs Site Build success run
Image Pins success run
Tests & Coverage (shard 1 of 4) success run
DevContainer Image success run
Rule Pack Tests success run
Service Image success run
Static Analysis success run
Tests & Coverage (shard 4 of 4) success run
Runner Image success run
Analyze (actions) success run
Changed-Test Independence success run
Semantic PR title success run
Analyze (python) success run

Skipped check: Plan Check
Skipped check: Plan Check
Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Test Job Duration

@dan-petty
dan-petty merged commit 304505a into main Nov 8, 2026
28 checks passed
@dan-petty
dan-petty deleted the perf/4057-cache-registry-table-in-stage-eval branch November 8, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf(roadmap): cache registry_table in stage eval replay

1 participant