fix: harden billing, revenue, analytics, and investigations#567
fix: harden billing, revenue, analytics, and investigations#567izadoesdev wants to merge 22 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Unkey Deploy
|
|
@greptile-apps review |
Greptile SummaryThis PR hardens billing, revenue reporting, analytics, and investigation workflows. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (3): Last reviewed commit: "fix(api): stop replay claims during shut..." | Re-trigger Greptile |
|
@greptile-apps review |
|
@greptile-apps review |
izadoesdev
left a comment
There was a problem hiding this comment.
Validated the reported findings against the supported deployment topology and addressed the real shutdown issue with focused regression coverage.
Summary
This keeps the verified fixes from #565 on current
stagingwithout restoring the superseded deterministic insights engine.Deliberately excluded
The old deterministic investigation pipeline, legacy evals, evidence reader, queue rename, rollout flags, model/depth rails, and large dispatch-lease machinery from #565 remain excluded. The unsafe worker-attempt fence also remains excluded.
Deployment
bun run db:push. It adds the Autumn webhook inbox, usage-alert organization ownership/index, and links organization index.stagingis safe before that schema push: the staging-connected Basket and Slack Agent services do not use those new PostgreSQL objects.AI_GATEWAY_API_KEY; Axiom usesAXIOM_TOKEN.Verification
Exact head
d4e8eeee9:bun run lint: 1,513 files cleanbun run check-types: 35/35 tasks