-
Notifications
You must be signed in to change notification settings - Fork 90
Replaced deprecated @azure/monitor-query #9284
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
Conversation
WalkthroughMigrates Azure Monitor query dependency from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
0f8aa5b to
d35a1e3
Compare
d35a1e3 to
8da539a
Compare
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/run-pr-tests.yaml (1)
119-119: Clarify the step ID to reflect its true purpose.The step ID
should_build_buildersuggests this step decides whether to build, but it's actually a pull step. Consider renaming it topull_builder_image(consistent with line 100'spull_base_image) to avoid confusion about its role in the workflow.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/run-pr-tests.yaml(2 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-06-19T11:03:49.934Z
Learnt from: nadavMiz
Repo: noobaa/noobaa-core PR: 9099
File: .github/workflows/run-pr-tests.yaml:135-136
Timestamp: 2025-06-19T11:03:49.934Z
Learning: In the noobaa-core project, the `make tester` command also calls `make noobaa` due to makefile target dependencies, so running `make tester` will build both the noobaa and tester images.
Applied to files:
.github/workflows/run-pr-tests.yaml
📚 Learning: 2025-06-19T11:04:50.175Z
Learnt from: nadavMiz
Repo: noobaa/noobaa-core PR: 9099
File: .github/workflows/run-pr-tests.yaml:126-134
Timestamp: 2025-06-19T11:04:50.175Z
Learning: In make commands, the `-o` flag followed by a target name (e.g., `-o builder`) tells make to skip building that specific target, assuming it's already up to date. This is used in the noobaa-core project's workflow to skip building the builder image when it was successfully pulled from a registry.
Applied to files:
.github/workflows/run-pr-tests.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Build Noobaa Image
- GitHub Check: run-jest-unit-tests
- GitHub Check: run-package-lock-validation
🔇 Additional comments (1)
.github/workflows/run-pr-tests.yaml (1)
101-102: Clarify whether this workflow optimization is intentional and document in PR description.Verification confirms the conditionals were intentionally removed (not accidental). However, the change is entirely unrelated to the PR objective of replacing
@azure/monitor-query, appearing only in this single commit with a generic message.The workflow logic remains sound: when pulls fail, the build steps execute as fallback. The retry mechanism with historical date fallback mitigates risks for new branches where images don't exist in the registry.
To proceed, update the PR description to explicitly mention this workflow optimization and its rationale, or move it to a separate PR if it's unintended bundling with the dependency upgrade.
9e7c4ad to
8da539a
Compare
Replaced deprecated @azure/monitor-query Signed-off-by: liranmauda <liran.mauda@gmail.com>
8da539a to
78003ba
Compare
Explain the Changes
Replaced deprecated @azure/monitor-query
Summary by CodeRabbit