Repository navigation
Fixes #34540: Support a shared lifecycle stage on entities and let active workflows own it #34541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d349443
Fixes #34540: Support a shared lifecycle stage on entities and let ac…
harshach 1bf1bc3
Update generated TypeScript types and dereferenced schemas
github-actions[bot] a21f70d
Cover the repository lifecycle-stage rules with unit tests
harshach 8e756cb
Let an entity type declare its own lifecycle stages
harshach 5b640af
Merge branch 'main' into agent/lets-look-at-what-life-cycle-3
pmbrull 43db5bb
test(amundsen): expect approved service status
pmbrull 7a4a98b
Fix lifecycle-stage regressions in shared entity status
yan-3005 04a3e32
chore(playwright): auto-refresh impact-map.generated.json
github-actions[bot] bf8f149
Update generated TypeScript types and dereferenced schemas
github-actions[bot] 1096230
Apply the reviewer rule only to direct stage changes
yan-3005 052f6c4
Align tests with main's starting stages and the CSV stage lock
yan-3005 dcdb785
Test that a CSV import lets only a reviewer approve a tag in review
harshach 262b34d
test(glossary): isolate status fixtures
pmbrull 477596f
refactor: move status initialization before flush
pmbrull File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Edge Case: Status-fixture exclusion is skipped in external (JPW) mode
The four GlossaryTermResourceIT status tests now set term stages with a direct PATCH. They only pass because
excludeGlossaryStatusFixturesFromApproval()adds an exclusion filter toGlossaryTermApprovalWorkflow. That call runs insidelauncherSessionOpened, after the early return taken whenJPW_MODE=externalorskip.embedded.bootstrap=true. Against an external server the workflow still owns these terms, so each PATCH gets the new 403 ("stage owned by workflow") and the tests fail. To fix this, apply the exclusion whenever the suite starts, including the external path (for example, run it lazily and idempotently fromGlossaryTestFactory.createForStatusTests). Alternatively, skip these tests when the exclusion isn't in place.Was this helpful? React with 👍 / 👎