Repository navigation
fix(ci): regenerate the plugin prompt and bundled changelog from their sources - #1762
Merged
Merged
Conversation
…r sources Main has been red since #1755. Two generated artefacts were edited at their output rather than at their source, and both have a guard test that says so. `repowise-impacted-tests.md` is rendered from `plugins/shared/` by `scripts/gen_plugin_content.py`. #1755 added `call-graph` to the generated copy but left the shared source saying `import-graph`, so the render check found drift. Fixed at the source and regenerated, which also updates the claude-code copy that was missed the same way and reflows a paragraph #1755 had hand-wrapped. The CLI bundles `docs/CHANGELOG.md` as package data so `whats-new` works offline. #1755 rewrote the entry in `docs/` only, leaving the bundled copy describing the import-graph version of the feature, including the superseded 27 ms figure and the "six tests import" wording. Resynced with the copy the test prescribes. Worth knowing when running these locally: the plugin content tests write to the working tree, so a failing run leaves the generated file reverted on disk rather than only reporting drift.
swati510
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main has been red since #1755.
d439f991was the last green commit; every run from68b29bdeonward fails the same three tests on all three Python versions.Two generated artefacts were edited at their output instead of their source, and each has a guard test that catches exactly that.
The plugin prompt
packages/cli/.../codex_prompts/repowise-impacted-tests.mdis rendered fromplugins/shared/commands/impacted-tests.mdbyscripts/gen_plugin_content.py. #1755 addedcall-graphto the generated copy and left the shared source sayingimport-graph, sotest_generated_plugin_file_matches_the_shared_sourceandtest_rendering_is_idempotentboth fail.Fixed at the source and regenerated. That also updates
plugins/claude-code/commands/impacted-tests.md, which was missed the same way, and reflows a paragraph the hand-edit had left wrapped mid-sentence.The bundled changelog
The CLI ships a copy of
docs/CHANGELOG.mdas package data sorepowise whats-newworks offline from an installed wheel. #1755 rewrote the entry indocs/only, so the bundled copy still described the import-graph version of the feature: the superseded 27 ms figure, "which test files import which source files", and "stops accusing files that six tests import". Resynced with the copytest_bundled_changelog_in_syncprescribes.Worth knowing
The plugin content tests write to the working tree. A failing run leaves the generated file reverted on disk rather than only reporting the drift, so a local
pytestcan look like it modified a file you never touched.