Skip to content

fix: random UUID installation_id + verify-rls.sh edge cases (v0.11.16.1)#462

Merged
garrytan merged 2 commits intomainfrom
garrytan/cebu-v2
Mar 24, 2026
Merged

fix: random UUID installation_id + verify-rls.sh edge cases (v0.11.16.1)#462
garrytan merged 2 commits intomainfrom
garrytan/cebu-v2

Conversation

@garrytan
Copy link
Owner

Summary

  • Installation IDs are now random UUIDs instead of SHA-256(hostname+username). The old approach meant anyone who knew your machine identity could compute your installation ID. Now uses a random UUID stored in ~/.gstack/installation-id — not derivable from any public input, rotatable by deleting the file.
  • verify-rls.sh handles edge cases — 409 conflicts and 204 no-ops treated correctly.
  • Gitignore supabase/.temp/

Test Coverage

All telemetry paths tested — 22/22 pass. UUID format assertion updated.

Pre-Landing Review

No issues found. 34-line diff — no SQL, no LLM, no concurrency concerns.

Test plan

  • bun test test/telemetry.test.ts — 22 pass, 0 fail
  • bash supabase/verify-rls.sh — 9/9 PASS

🤖 Generated with Claude Code

garrytan and others added 2 commits March 24, 2026 15:13
Replace SHA-256(hostname+user) with random UUID v4 stored in
~/.gstack/installation-id. Not derivable from public inputs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace SHA-256(hostname+user) with random UUID v4 stored in
~/.gstack/installation-id. Gitignore supabase/.temp/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@garrytan garrytan merged commit 2b85b1d into main Mar 24, 2026
17 checks passed
@github-actions
Copy link

E2E Evals: ❌ FAIL

14/38 tests passed | $7.26 total cost | 12 parallel runners

Suite Result Status Cost
e2e-routing 7/19 $3.63
e2e-routing 7/19 $3.63

12x ubicloud-standard-2 (Docker: pre-baked toolchain + deps) | wall clock ≈ slowest suite

Failures

  • ❌ journey-ideation: success
  • ❌ journey-qa: success
  • ❌ journey-debug: error_max_turns
  • ❌ journey-visual-qa: success
  • ❌ journey-ideation: success
  • ❌ journey-ideation: success
  • ❌ journey-debug: success
  • ❌ journey-visual-qa: success
  • ❌ journey-debug: success
  • ❌ journey-visual-qa: success
  • ❌ journey-design-system: success
  • ❌ journey-design-system: success
  • ❌ journey-ideation: success
  • ❌ journey-qa: success
  • ❌ journey-debug: error_max_turns
  • ❌ journey-visual-qa: success
  • ❌ journey-ideation: success
  • ❌ journey-ideation: success
  • ❌ journey-debug: success
  • ❌ journey-visual-qa: success
  • ❌ journey-debug: success
  • ❌ journey-visual-qa: success
  • ❌ journey-design-system: success
  • ❌ journey-design-system: success

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