Skip to content

Fix Grok usage collection and login flow#126

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/sunny-wren-5b6717de
Jun 4, 2026
Merged

Fix Grok usage collection and login flow#126
SDSLeon merged 1 commit into
masterfrom
lightcode/sunny-wren-5b6717de

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 4, 2026

Copy link
Copy Markdown
Owner
  • Update the Grok usage collector to read the credits config endpoint and derive usage from the returned snapshot, instead of the old billing/live-session path.
  • Add binary request/response support to the usage host and test fakes so gRPC-web bodies can round-trip without being forced through text encoding.
  • Simplify Grok login capture by trusting Grok-auth cookie patterns directly, avoiding a brittle live probe against a private usage endpoint.
  • Refresh the Grok parsing and login tests, and remove the now-unused Grok login probe/export.

- switch the Grok collector to binary gRPC-web frames and byte bodies
- update the usage host/test host to support `bodyBytes`
- stop gating Grok login confirmation on the private usage endpoint
@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment Jun 4, 2026 5:58am

@SDSLeon SDSLeon merged commit 33cd4db into master Jun 4, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/sunny-wren-5b6717de branch June 4, 2026 05:58
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