NTM: Hotfix - #6971
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe network tunnel manager now exposes ChangesNetwork tunnel port verification
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/nym-node-setup/network-tunnel-manager.sh`:
- Around line 852-854: Update the PORT_MAPPINGS declaration parser in
nym-gateway-probe/build.rs to recognize the global associative-array form used
by declare -gA, while remaining compatible with declare -A. Make flag matching
order-agnostic so equivalent declare options are accepted and mappings continue
to be parsed during probe builds.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 479b183c-a1b6-41a0-80f1-07c099437577
📒 Files selected for processing (1)
scripts/nym-node-setup/network-tunnel-manager.sh
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@nym-gateway-probe/build.rs`:
- Around line 50-55: Update the PORT_MAPPINGS declaration detection condition
near the existing starts_with/contains check to enforce an exact variable-name
boundary, so names such as OTHER_PORT_MAPPINGS cannot match. Parse or validate
the declaration tokens while preserving support for the existing declare flag
combinations, and ensure EXIT_POLICY_PORTS is generated from the canonical
PORT_MAPPINGS block.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 9056b0be-9368-4ae8-b7aa-e60fd716cc4a
📒 Files selected for processing (1)
nym-gateway-probe/build.rs
Make test robust, not hardcoded
This change is
Summary by CodeRabbit