-
Notifications
You must be signed in to change notification settings - Fork 4
chore(database-forwarder): ensure it works cross platform #2127
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
📝 WalkthroughWalkthroughThe pull request modifies the Changes
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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 (2)
scripts/database-forwarder/forward.sh (2)
296-297
: Use of grep and sed for IP Extraction
The command now extracts the public IP address by piping the JSON output from ipinfo.io throughgrep
andsed
instead of usingjq
. This reduces external dependencies, which can improve portability. However, please verify that the regular expression reliably handles potential variations in JSON formatting (e.g., extra whitespace or ordering changes) returned by ipinfo.io.
295-302
: Cross-Platform Availability of Text Utilities
Given the PR’s cross-platform objective, ensure that utilities likecurl
,grep
, andsed
are available and behave consistently on all target platforms. If any of these tools might be missing or have slightly different behavior (for example, on some minimal installations or non-Unix environments), consider adding fallback logic or clear error messages.
🤖 I have created a release *beep* *boop* --- ## [1.65.0](v1.64.4...v1.65.0) (2025-05-08) ### Features * **infra:** add workload profiles for container apps ([#2259](#2259)) ([4a5500b](4a5500b)) ### Bug Fixes * **infra:** change to workload profiles for test and yt01 ([#2271](#2271)) ([7feb4c0](7feb4c0)) * **infra:** Remove count from consumption workload profile ([#2268](#2268)) ([ac88d85](ac88d85)) * **infra:** revert workload profiles for CAE ([#2270](#2270)) ([aea9209](aea9209)) ### Miscellaneous Chores * **database-forwarder:** ensure it works cross platform ([#2127](#2127)) ([1bff01e](1bff01e)) * **performance:** removed search without enduserid and use enduserid instead of enduser ([#2263](#2263)) ([2044f09](2044f09)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Description
Related Issue(s)
Verification
Documentation
docs
-directory, Altinnpedia or a separate linked PR in altinn-studio-docs., if applicable)