fix(metering): a demo target given the tenant's own sources counts under the cap #1080

Merged
sharang merged 1 commits from fix/demo-target-claim into main 2026-11-29 09:56:18 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 aad3831e82 fix(metering): a demo target given the tenant's own sources counts under the cap
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m1s
CI / Check (pull_request) Successful in 21m44s
A demo target sat outside the entry plan's cap for good, even once it
was pointed at the tenant's own code. Now, when its artifacts change to
other sources (editor, attach, upload), it becomes the tenant's own
target: the demo mark goes and it counts. If the plan has no room, the
change is refused with 409 `target_limit` and it stays a demo target.
A new name or branch on the same sources changes nothing.

The dashboard says so in words in the target editor and the upload.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-28 23:20:57 +01:00