Repository navigation
Host cost projections and maintenance accounting boundaries - #15
Merged
Merged
Conversation
…d label unmodeled host costs
… accompany the 40% margin scenarios
FelineStateMachine
force-pushed
the
feat/maintenance-accounting
branch
from
September 4, 2026 21:22
c164fb4 to
055f3d6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Fuel's four tenant meters do not cover every provider expense. The previous projection mixed socket messages with platform requests and could be read as a complete provider bill. Maintenance planning needs the accounting gaps and budget boundaries to be explicit before a backend upgrade.
Change
Host costs remain the existing storage, execution and operation expenses. Tenant usage stays on the same four meters, with traffic uncharged and Git storage sharing the file allowance. This PR adds no runtime work or new customer charge.
#14 is merged. Projection/tests and documentation remain separate logical commits; a test-only follow-up makes PR-ref checks wait through temporary Git alarm contention. README and landing-page claims were reviewed; the landing page already describes aggregate meters and host overhead accurately.
Testing Completed
Focused GRASP object suite: 11 tests pass after the contention fix.
npm run typecheck, including generated console/templates and configuration checks.npm test -- --project unit test/unit/margin.test.ts: 2 tests pass for gross-margin arithmetic, default target, the socket billing ratio and pooled request allowance.Dated BTC scenario runs, local documentation links and
git diff --check.Responsible AI disclosure
Codex prepared the changes and source review with agent assistance. Provider claims were checked against official Cloudflare documentation; proposed maintenance remains documentation, not enabled behavior.