GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fleet gh: ledger issue and PR creates by dezren39 · Pull Request #14819 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 25, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

fleet gh issue/pr create/comment
  reserve shared content-ledger row
  run gh (capture stdout)
  finalize as created or failed

Part of #2227. This closes the gh-shim filing bypass for issues, PRs, and comments by writing to hatch’s shared content-ledger.sqlite. Reservation failures fail closed with exit 5; finalization failure is reported but does not rewrite gh’s exit code.

Deferred: pacing budgets, circuit breaker, verify-by-search; release create, gist create, POST-class api, and pr review --comment shapes.

Evidence

  • Before: fleet gh issue/PR/comment writes bypassed the shared creation ledger.
  • After: unit coverage checks classification, reservation/finalization, shared vocabulary, empty-output failure semantics, and batch replay. End-to-end test asserts the reservation is visible before fake gh runs and that exit-0 empty output records failed.
  • Validation: targeted cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet --bin fleet gh dispatched; result pending.

Merge Danger

Door: Two-way; revert removes ledger writes from this shim path.

Blast Radius: Fleet-wide fleet gh issue/PR/comment creates. Ledger reservation failures refuse every such filing with exit 5. The fail-closed posture follows gh-post but is in tension with #2227 intake review’s note that ledger failure must never block filing; explicitly resolve this in follow-up policy. Likely adjacent gh.rs merge conflicts with PRs #14507 and #14494. Deferred create shapes listed above remain unledgered.

{
  "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-25T02:55:36Z",
    "session_id": "ses_e5defdac4d2ffeIO0gLzpATOBo",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/code-g-2227-20261125T010313Z-17b9b75e",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/code-g-2227-20261125T010313Z-17b9b75e",
      "repo": "developing-today/code",
      "branch": "code-g/2227-gh-shim-ledger",
      "sha": "e6085630b79fc22c46a3916a9dae1eab3f5e0a41"
    },
    "auth_subject": "agent-next-21-local",
    "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.

All reactions
@dezren39
fleet gh: ledger issue and PR creates
e608563
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 51f28db0-9e4a-468f-b233-023cc4c5e0b1
Commits

Reviewing files that changed from the base of the PR and between 0b577d0 and e608563.

Files ignored due to path filters: 1

  • pkgs/fleet/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 3

  • pkgs/fleet/crates/fleet/src/gh.rs
  • pkgs/fleet/crates/fleet/src/gh_content_ledger.rs
  • pkgs/fleet/crates/fleet/src/main.rs
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 25, 2026
impl: fleet content-creation throttle — shared ledger, pacing budgets, and verify-by-read filing #2227
Open
fleet: ready PRs are left unmerged (20 open; the merge sweep has filed nothing since 2026-11-17) #12280
Open
@developing-today-fleet

developing-today-fleet Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Agent note — lane WX (archer queue lane, task 24027) — shepherd verified, merging

Fresh verification this pass (2026-11-26), not copied from the PR body:

  • PR is OPEN, non-draft, no labels (no held / user gate), head e6085630b79fc22c46a3916a9dae1eab3f5e0a41 on code-g/2227-gh-shim-ledger, unchanged since creation.
  • All comments read: the only PR comment is CodeRabbit's rate-limit notice (no findings); 0 reviews, 0 review comments — nothing unanswered.
  • Mergeability re-checked immediately before merging: mergeable=true, mergeable_state=clean against current main.
  • Prior verification on the exact head found and confirmed in its log: dezren39/fleet run 45536214133 (https://github.com/dezren39/fleet/actions/runs/45536214133), job "Linux (developing-today/code)" = success. The log shows checkout of e6085630b79fc22c46a3916a9dae1eab3f5e0a41, Target HEAD = same sha, command cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet --bin fleet gh, result: 89 passed; 0 failed — including all gh_content_ledger tests (classify, reserve/finalize roundtrip, batch replay).
  • Linked issue impl: fleet content-creation throttle — shared ledger, pacing budgets, and verify-by-read filing #2227 read with all comments: it is "Part of impl: fleet content-creation throttle — shared ledger, pacing budgets, and verify-by-read filing #2227" (no closing keyword), so merging does not close impl: fleet content-creation throttle — shared ledger, pacing budgets, and verify-by-read filing #2227 — correct, its remaining warn-week / enforce work stays tracked there and on Fleet content-creation throttle: remaining phases — throttle wrapper (warn-only then enforce), circuit breaker, comment reduction, gap detector (from code#2227) dezren39/hatch#13. Adjacent PRs feat(fleet-gh): persistent [gh] rotation config with env overrides (#10311 (a)) #14507 / fix(fleet-gh): missing-gh error names the remedy; provider errors print once (#10311 (d)) #14494 are still open; the noted gh.rs conflict risk is future, not present (this PR is clean today).
  • A fresh fleet Actions exec attempt from the sandbox failed at dispatch with a certificate error (UnknownIssuer), so no new test run was started from here; the exact-head run above is the verification of record.

Merging now via merge commit under standing merge authority.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot merged commit c969162 into main Nov 26, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 27, 2026
feat(fleet-gh): ledger pr review --comment creates (#2227) #15905
Merged
This was referenced Nov 27, 2026
feat(fleet-gh): ledger release create calls (#2227 slice) #15974
Merged
fleet-queue: ledger release create in gh_content_ledger (#2227) #15988
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.