[FR] Reset deprecated lock to the latest state during lock#5827
Open
Mikaayenson wants to merge 3 commits intomainfrom
Open
[FR] Reset deprecated lock to the latest state during lock#5827Mikaayenson wants to merge 3 commits intomainfrom
Mikaayenson wants to merge 3 commits intomainfrom
Conversation
Contributor
Enhancement - GuidelinesThese guidelines serve as a reminder set of considerations when addressing adding a feature to the code. Documentation and Context
Code Standards and Practices
Testing
Additional Checks
|
Contributor
Simulation Testing 🟢
|
eric-forte-elastic
approved these changes
Mar 13, 2026
Contributor
There was a problem hiding this comment.
I think we should add a safeguard to the logic similar to this. However, the approach functions as desired and does not introduce more risk than that which currently exists in the release process.
Co-authored-by: Eric Forte <119343520+eric-forte-elastic@users.noreply.github.com>
terrancedejesus
approved these changes
Mar 13, 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.
Pull Request
Issue link(s): #5714
Summary - What I changed
After each branch except the last, reset deprecated_rules.json to the branch's committed state. This prevents branch-specific deprecation state from leaking across checkouts. The last branch (e.g. 9.3) is closest to main and carries the correct deprecation state, including any legitimate new deprecations, back to main for the PR.
_deprecated/on 8.19 release branch breaks existing deprecation steel threads for 8.x users and orphans version lock previous["8.19"] entries which will require more changes to addressHow To Test
Here's a test script to simulate the release (executing just the shell commands).
Simulation Script
Checklist
bug,enhancement,schema,maintenance,Rule: New,Rule: Deprecation,Rule: Tuning,Hunt: New, orHunt: Tuningso guidelines can be generatedmeta:rapid-mergelabel if planning to merge within 24 hours