Skip to content

v0.1.1 — UsageSink fix for V2 task record

Choose a tag to compare

@tjluyao tjluyao released this 13 May 17:47
· 13 commits to main since this release

v0.1.1

Fix: RunmeshUsageSink previously filtered rows on row.org_id == 'lumid'. End-to-end smoke against kv.run:8000/flowmesh showed V2 leaves UsageRow.org_id="" (sourced from TaskRecord.org_id, not the PrincipalContext we return). With v0.1.0 every row would have been dropped silently.

New behaviour: every row is forwarded. The email-cache lookup remains as a 'do we know enough to bill them' gate; principals whose sub isn't cached are skipped with a logged warning.

No env-var changes. LUMID_ORG_ID now only scopes the optional SubmissionGuard.

35/35 tests passing.