Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(antigravity): forward Google sign-in URLs from browser helper #9425

MergedWellyngtonF(GitHub profile, opens in a new tab)merged 4 commits intomain fromrefs/pull/9425/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 9 changed files with 31 additions and 4 deletions (loading 6).

x
0 of 9 viewed, 9 left
22 additions and 0 deletionsapps/server/src/provider/Layers/AntigravityProvider.test.tsModified
View file
@@ -13,6 +13,7 @@
import * as Ref from "effect/Ref";
import * as Schema from "effect/Schema";
import * as Stream from "effect/Stream";
+import * as TestClock from "effect/testing/TestClock";
import * as EffectAcpErrors from "effect-acp/errors";
import type * as EffectAcpSchema from "effect-acp/schema";
​
@@ -411,6 +412,27 @@
​
+ it.effect("allows a slow packaged runtime health check to finish", () =>
+ Effect.scoped(
+ Effect.gen(function* () {
+ const harness = yield* makeHarness();
+ yield* harness.initialize;
+ yield* Ref.set(harness.probe, Effect.sleep("20 seconds").pipe(Effect.as(initializeResult)));
+​
+ const refresh = yield* harness.provider.snapshot.refresh.pipe(Effect.forkChild);
+ yield* Effect.yieldNow;
+ yield* TestClock.adjust("20 seconds");
+ const snapshot = yield* Fiber.join(refresh);
+​
+ expect(snapshot).toMatchObject({
+ installed: true,
+ status: "warning",
+ auth: { status: "unknown" },
+ });