[Core] Remove forced None assignment for deprecated PassConfig flags#29994
Conversation
Signed-off-by: arpitkh101 <arpit5khandelwal@gmail.com>
There was a problem hiding this comment.
Code Review
This pull request removes the lines that force deprecated PassConfig flags to None after their values have been processed. While the intention is to reduce confusion for users inspecting the configuration, this change removes a safety measure that prevents accidental use of deprecated flags elsewhere in the code. This increases the risk of future bugs and inconsistencies. I've left a comment explaining why the original behavior is safer and should be retained.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
…n test Signed-off-by: arpitkh101 <arpit5khandelwal@gmail.com>
hmellor
left a comment
There was a problem hiding this comment.
LGTM!
That's a nice improvement to the hash behaviour
ProExpertProg
left a comment
There was a problem hiding this comment.
LGTM apart from one nit
Signed-off-by: arpitkh101 <arpit5khandelwal@gmail.com>
…llm-project#29994) Signed-off-by: arpitkh101 <arpit5khandelwal@gmail.com> Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
This PR removes forced None assignment for deprecated PassConfig flags, as discussed in #29646. Forcing deprecated flags to None doesn't prevent their use and can be confusing.