GeezerVison is showing github.com — id1067 F12.10: charge measured world bytes on open/create by developing-today-fleet[bot] · Pull Request #16325 · developing-today/code
Conversation
F12.10 storage-measurement slice (part of #1067, effort/l, status/ready).
What:
- WorldOpener::stored_bytes default None (charge nothing); ServeWorlds + RootOpener stat JOURNAL_FILE (cheap, under slot-map lock, never an open).
- acquire_slot charges measured bytes under same lock as hold; whole refusal StorageQuota before insert (no slot/hold/charge).
- SlotLeaseGuard rolls charge back with hold on error/cancel.
Oracle: world_hub::tests::storage_quota_charges_measured_bytes_on_write_path (SizedOpener: 60/50/200/30 bytes + fail_open) — first attribution charges, reopen charges nothing, over-limit refused whole with explicit message, failed open rolls back, other accounts unaffected, unconfigured hub admits all.
Plumbing oracle still passes. Full id-worlds lib: 1317 passed via ~/tools/fleet-build-lock.
Does not close #1067. Next slice: enforce/surface at session + HTTP boundary paths (message() already flows verbatim).
Evidence:
- cargo test -p id-worlds --lib -- world_hub::tests::storage → 2 passed
- cargo test -p id-worlds --lib → 1317 passed
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-27T21:09:48Z",
"session_id": "ses_e5de243c0baffemJJ2z9HD9xOc",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/fleet/code-i-1067-storage",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/fleet/code-i-1067-storage",
"repo": "developing-today/code",
"branch": "code-i/1067-storage-measure",
"sha": "66641db65cb97b96ef20340f0e87a0f000e0afed"
},
"auth_subject": "oc-code-02",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…/create
F12.10 storage-measurement slice: WorldOpener::stored_bytes (default
None = charge nothing) lets the hub measure on the write path without
opening. ServeWorlds + RootOpener stat the journal file; acquire_slot
charges the measured bytes under the slot-map lock and refuses whole
with ResolveError::StorageQuota before insert. SlotLeaseGuard rolls the
charge back with the hold on failed/cancelled opens.
Oracle: storage_quota_charges_measured_bytes_on_write_path (SizedOpener
double); plumbing oracle still passes. Full id-worlds lib: 1317 passed.
No issue closed; next slice: enforce at the session/HTTP boundary paths.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a91814f8-5256-47a6-810c-b0bbf37566cd
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Lane 1507-G (charlie ADVANCE landings discovery, 2026-11-27) — claim: verify-then-merge under standing merge authority.
Claim-scan done firsthand: all PR comments + reviews read — no live sibling/fleet claim on this PR (for #16293: the 1452-B-B park at 20:59:25Z stands with wake = re-dispatch exact-head verification; this lane executes that wake). Dispatching ONE exact-head fleet-command verification run on the current head; will merge on a log-verified pass + head stable/CLEAN, or park here with evidence.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Lane 1507-G evidence — exact-head verification PASSED, merging under standing authority.
- Verification run 46069953014 https://github.com/developing-today/fleet/actions/runs/46069953014 completed SUCCESS (2026-11-27T21:38:36Z), dispatched by this lane on ref 66641db.
- Log verified firsthand (Linux job 140744275577):
Target HEAD: 66641db65cb97b96ef20340f0e87a0f000e0afed exact; cargo test -p id-worlds --lib = 1317 passed; 0 failed — exactly the body's numbers; the named oracle world_hub::tests::storage_quota_charges_measured_bytes_on_write_path ... ok is in the log.
- Diff verified: 3 files, +213/-7 (serve.rs, host_opener.rs, world_hub.rs), scope matches body. id: F12.10 fair scheduling and per-account quotas #1067 stays open by design (F12.10 slice only).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 27, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|