Skip to content

fix(core): normalize millisecond OAuth timestamps in Antigravity node sync - #2148

Merged
Th0rgal merged 1 commit into
masterfrom
fix/antigravity-sync-timestamp-ms
Nov 23, 2026
Merged

Th0rgal merged 1 commit into
masterfrom
fix/antigravity-sync-timestamp-ms

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Nov 23, 2026

Copy link
Copy Markdown
Owner

CLIProxyAPI Antigravity OAuth JSON files store timestamp in Unix milliseconds (e.g. 1795450000000). readAdminAntigravitySyncPayload? previously computed (ts + expIn) * 1000, producing microseconds and causing sandboxed-node's PUT /managed-auth/antigravity to write a 5-digit RFC3339 year (58865-...), which Go's time.Parse(RFC3339) inside agy rejects as unauthenticated.

  • Adds normalizeAntigravityExpiresAtMs to handle both Unix seconds and milliseconds cleanly.
  • Adds regression assertions in TurnOutcomeTests.lean.

@Th0rgal
Th0rgal merged commit bc59c8e into master Nov 23, 2026
19 checks passed
@Th0rgal
Th0rgal deleted the fix/antigravity-sync-timestamp-ms branch November 23, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant