Repository navigation
Conversation
|
Thanks for the PR, @892041548! It links an issue, but that issue isn't assigned to you yet: #408 (unassigned). Per our workflow, claim the issue first by commenting |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
Walkthrough
ChangesTunnel TTL warning behavior
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to
|
|
🏆 Season 4 CLI Improvement Bonus: entry recorded. Thanks, @892041548! To be counted, this PR needs the following by Oct 29, 11:59 PM PT:
Rewards go to merged PRs judged a genuine improvement, and up to three bonus-eligible PRs count per person. Untick the box to withdraw the entry. This comment refreshes when you edit the PR. Full rules. |
|
Thanks for the PR. #408 was closed as not planned: |
Season 4 CLI Improvement Bonus
What's broken (Closes #408)
tunnel start --ttlaccepts any positive integer and lets the server silently clamp it to 60–28800, so--ttl 5yields a 60s tunnel with no feedback.How you found it
Black-box probing of numeric flags against their documented ranges;
--ttl 5and--ttl 999999both passed through silently.Why it matters
Same class as #361 (
--request-timeoutsilent clamping): the user's explicit request is changed without telling them. A one-line stderr warning closes the gap without changing accepted behavior.Tests
src/commands/tunnel.spec.ts(below-min warning, above-max warning, in-range silence, omitted silence, invalid still rejected)tunnel.spec.ts: 97 passed;tsc --noEmitclean; eslint 0 errorsSummary by CodeRabbit