Repository navigation
[0.38] test(lifecycle): re-anchor generator rule citations that moved on main (main red) - #4590
Merged
Daniel Meppiel (danielmeppiel) merged 1 commit intoNov 21, 2026
Conversation
test_every_rule_cites_code_that_still_says_it fails on main e74759b: merged changes moved the cited lines in commands/update.py (8 lines down) and marketplace/registration.py, so every PR's Lifecycle Smoke is red. The seven stale Ev anchors now cite the current lines, and the checked-in tests/quality/lifecycle_obligations.json is regenerated with tests.lifecycle.generator.emit.write(). No rule or behavior changes. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
6 of 13 tasks
Daniel Meppiel (danielmeppiel)
marked this pull request as ready for review
November 21, 2026 10:40
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 21, 2026 10:40
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the citation-anchor and generated evidence updates.
No open issues 🎉
What changed in this PR
Repairs stale source citations in the lifecycle test generator after code moved on main, addressing the citation-check failure affecting required Lifecycle Smoke checks. No CLI behavior, generator rules, or obligations change.
Changes:
- Re-anchors seven citations for update command options, the no-dependencies message, and marketplace registration.
- Regenerates the obligation catalog’s two affected evidence references and content hash.
| File | Description |
|---|---|
tests/quality/lifecycle_obligations.json |
Updates generated evidence locations and the SHA-256 hash. |
tests/lifecycle/generator/rules.py |
Adjusts seven source-line anchors to their current locations. |
Review effort: Balanced
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-fix-generator-rule-anchors
branch
November 21, 2026 10:43
This was referenced Nov 21, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 21, 2026
Co-authored-by: Copilot App <[email protected]>
This was referenced Nov 21, 2026
Merged
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.
Description
Main-red hotfix, offered for Release & Ops to take or close. There is no scope record; it was opened as a draft because the coordination channel is down.
tests/lifecycle/generator/test_generator_rules.py::test_every_rule_cites_code_that_still_says_itfails on maine74759bc, so Lifecycle Smoke is red on every open PR (for example #4017, #4577 and #4585). Merged changes moved the cited lines:commands/update.pyargument("packages"commands/update.py"--dry-run"commands/update.py"--global"commands/update.py"--force"commands/update.py"--target"commands/update.pyNo APM dependencies to updatemarketplace/registration.pyNo marketplace.json foundtests/quality/lifecycle_obligations.jsonis regenerated withtests.lifecycle.generator.emit.write(): two anchors and its sha256 change. No rule, obligation or behavior changes.Issue and approved scope
Issue: none. This is a main-red hotfix; Release & Ops decides.
Type of change
Testing
pytest tests/lifecycle/generator tests/quality/test_gate_cell_obligations.py tests/quality/test_promise_obligations.pygives 61 passed. On main the citation test fails atupdate.py:644.Changelog
Spec conformance (OpenAPM v0.1)