Repository navigation
Conversation
#2277 assigned scheduledPhoneWindow and scheduledCallLimit, which #2293 made constants and moved to the router's phoneWindow and callLimit. The call helper now sets the router's own fields, with the same values and the same cleanup, so the api integration tests compile again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kanat
commented
Nov 24, 2026
kanat
left a comment
Collaborator
Author
There was a problem hiding this comment.
VERDICT: GO
Reviewed fdf38f4 on origin/main 6d3cb55 (up to date, no merge needed).
- The change swaps the three
scheduledPhoneWindow/scheduledCallLimitassignments fors.router.phoneWindow/s.router.callLimitincallOn. It uses the same values (deliveryWait,2*deliveryWait) and the same save/restore cleanup, in the shape ofshortCallsinscheduled_phone_test.go. No assertion changed. go vet -tags integration ./...inacceleration/is clean on the head.- No other assignment to
scheduledPhoneWindow,scheduledCallLimitorscheduledReplyWindowremains on main (all three are consts, read only atserver.go:617-619). NoDeliveryRetriesorFinishRetriesvar remains (SetFinishRetriesis a method). TestTelnyxUnpaidSuitepasses on the merged tree (94.8 s). Mutation: setting the ring window to 1 ms fails 5 call tests, so the new fields reach the code under test. Dropping either set still passes, because the real windows are upper bounds these tests never reach (author's note, same as the 1 ms limit case); not a new rule.- Draft PR, so no integration CI yet; it runs at
gh pr ready.
No findings.
kanat
marked this pull request as ready for review
November 24, 2026 08:34
Collaborator
Author
|
Closing as a duplicate: #2341 (AI-3712) landed the same change on main ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
go vet -tags integration ./internal/apifails on main:scheduled_unpaid_test.go(from #2277) assignsscheduledPhoneWindowandscheduledCallLimit. #2293 made both constants and moved the values to the router'sphoneWindowandcallLimitfields, so everyIntegration (router)job fails at compile time.How it works
TelnyxUnpaidSuite.callOnnow saves, sets and restoress.router.phoneWindowands.router.callLimit, the wayshortCallsinscheduled_phone_test.godoes. Values (deliveryWait,2*deliveryWait) and the cleanup are unchanged; no assertion changed.Changes
acceleration/internal/api/scheduled_unpaid_test.go: 3 lines.Validation
go vet -tags integration ./...inacceleration/: clean.go test -tags integration ./internal/api -run TestTelnyxUnpaidSuite -count=1: ok (101 s).🤖 Generated with Claude Code