Skip to content
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

Ruby: Make getPreUpdateNode Unique Again #19121

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Mar 26, 2025

Inspired by this PR for Rust, we revert the change introduced in #10444, where getPreUpdateNode was made non-unique, and instead use reverse post-update steps to ensure that side-effects propagate correctly in the case of compound arguments.

@github-actions github-actions bot added the Ruby label Mar 26, 2025
@hvitved hvitved marked this pull request as ready for review March 26, 2025 11:01
@Copilot Copilot bot review requested due to automatic review settings March 26, 2025 11:01
@hvitved hvitved requested a review from a team as a code owner March 26, 2025 11:01
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Mar 26, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (5)
  • ruby/ql/consistency-queries/DataFlowConsistency.ql: Language not supported
  • ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll: Language not supported
  • ruby/ql/test/library-tests/dataflow/global/Flow.expected: Language not supported
  • ruby/ql/test/library-tests/dataflow/local/DataflowStep.expected: Language not supported
  • ruby/ql/test/library-tests/dataflow/local/TaintStep.expected: Language not supported

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

aschackmull
aschackmull previously approved these changes Apr 4, 2025
Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hvitved hvitved merged commit 8e9e772 into github:main Apr 4, 2025
22 checks passed
@hvitved hvitved deleted the ruby/pre-update-unique branch April 4, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants