Skip to content

feat(roadmap): check test references to removed entities - #4193

Merged
dan-petty merged 1 commit into
mainfrom
feat/3324-check-test-references-to-entities-a
Nov 9, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/3324-check-test-references-to-entities-a

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

When a plan removes or deprecates an exposed entity, tests and contract checks often reference that entity directly. The stage job does not check these references. Broken references cause immediate failures during implementation (#3324).

Closes #3324

Change: openspec/changes/archive/2026-11-08-3324-check-test-references-to-entities-a/

Add a probe during plan staging that detects deletions from registries,
exposure tables, or command sets. When a plan proposes removing a public
entity, scan tests/ and src/ for references to the symbol. Require the
task list to account for each reference. Emit a validation failure if
unhandled downstream references exist in tests, and report unhandled
source references as warnings in the stage comment.

Closes #3324

Change:
`openspec/changes/archive/2026-11-08-3324-check-test-references-to-entities-a/`
@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 9, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 9, 2026 00:10
@dan-petty
dan-petty merged commit 719cd43 into main Nov 9, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/3324-check-test-references-to-entities-a branch November 9, 2026 00:14
dan-petty pushed a commit that referenced this pull request Nov 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.97.0](v0.96.0...v0.97.0)
(2026-11-09)


### Features

* **roadmap:** check test references to removed entities
([#4193](#4193))
([719cd43](719cd43))
* **roadmap:** resolve devops commands and flags cited in a plan
([#4197](#4197))
([bc99a6d](bc99a6d))

---
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>
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/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): Check test references to entities a plan removes

1 participant