- Notifications
You must be signed in to change notification settings - Fork928
chore: remove tailnet v1 API support#14641
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
spikecurtis commentedSep 11, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This stack of pull requests is managed by Graphite.Learn more about stacking. Join@spikecurtis and the rest of your teammates on |
dc5927c
toe95c7bd
Compared9c89d3
to2f00bd9
Comparee95c7bd
to4f41732
Compare44596a9
to2d609da
Compare4f41732
tobc16937
Compare2d609da
to64abeb7
Compare@@ -683,7 +592,13 @@ func TestPGCoordinator_Unhealthy(t *testing.T) { | |||
logger := slogtest.Make(t, &slogtest.Options{IgnoreErrors: true}).Leveled(slog.LevelDebug) | |||
calls := make(chan struct{}) | |||
// first call succeeds, so that our Agent will successfully connect. |
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.
previously, we started a pipe connection and used the v1 API over it. This eventually callsCoordinate()
, but starting the pipe didn't block onCoordinate()
returning.
With the v2 API, we synchronously callCoordinate()
from the main test goroutine, so we need to get an initially successful heartbeat to unblock theCoordinate()
call or this test would deadlock.
64abeb7
toa5b7eac
Comparebc16937
to46730d8
Comparea5b7eac
tof785a08
CompareThere 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.
Nice work on the test rewriting 👍
spikecurtis commentedSep 12, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Merge activity
|
f785a08
to5560316
Compared6154c4
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Drops support for v1 of the tailnet API, which was the original coordination protocol where we only sent node updates, never marked them lost or disconnected.
v2 of the tailnet API went GA for CLI clients in Coder 2.8.0, so clients older than that would stop working.