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 — fix(fleet): accept --comment as close reason text in the fleet gh closure layer by developing-today-fleet[bot] · Pull Request #15077 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot 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
Contributor

Refs dezren39/fleet#118

Defect

fleet gh issue close / pr close refused every invocation carrying gh's native --comment/-c flag with "--comment is not accepted on a closure: use --reason-text" — including shapes that also passed --reason-text. The natural gh close shape therefore could not attach evidence text at all; the 2026-11-24 lane closing code#5864 fell back to the REST API (dezren39/fleet#118).

Reproduction matrix against the pre-fix binary (stub gh, no GitHub writes):

  • --reason implemented --reason-text "x" → works
  • --reason implemented --comment "x" → refused with the error above
  • --reason implemented -c "x" → refused, same error
  • --reason implemented --comment "x" --reason-text "y" → refused, same error

Fix (pkgs/fleet/crates/fleet/src/gh_closure.rs)

  • On a close, --comment/-c is an alias of --reason-text: the text folds into the composed close comment ("Closed as . "), and the two flags combine in argument order when both are given. Exactly one --comment reaches gh — the composed one.
  • On a reopen there is no composed comment, so --comment forwards to gh unchanged (real gh accepts it there).
  • The fleet gh: closure records + reason-required closes (audit trail by construction) #9221 taxonomy --reason requirement (implemented / superseded / cancelled / started-incorrectly) is unchanged, including the verbatim policy error.
  • Book page pkgs/fleet/book/concepts/gh.md updated in the same change to document the flag handling.

Tests

Three new oracle tests in gh_closure::tests, named for dezren39/fleet#118: comment_flag_is_the_reason_text_on_a_close, short_comment_flag_and_reason_text_combine_in_order, comment_forwards_to_gh_on_a_reopen.

Verification (remote, fleet-command workflow bypass after queue dispatch hit the known fleet-forks 403): run 45609208762, conclusion success — cargo test -p fleet gh_ ran 66 tests, 66 passed / 0 failed, including all three new tests by name and every pre-existing gh_closure/gh_guard test.

Left unmerged for Felix's review.

{
  "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-25T12:08:46Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch/workspace/issue-fleet-118/wt",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch/workspace/issue-fleet-118/wt",
      "repo": "developing-today/code",
      "branch": "felix/fleet118-gh-close-comment",
      "sha": "28293707b7697865ca400b531a41061c17977c55"
    },
    "auth_subject": "felix",
    "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
felix
fix(fleet): accept --comment as close reason text in fleet gh closure…
2829370
… layer

gh's native --comment/-c on an issue/pr close was refused with
"--comment is not accepted on a closure: use --reason-text", so the
natural gh close shape could not attach evidence text at all
(dezren39/fleet#118). On a close, --comment/-c is now an alias of
--reason-text: the text folds into the composed close comment, and
the two flags combine in argument order. On a reopen --comment
forwards to gh, which accepts it there. The #9221 taxonomy --reason
requirement is unchanged. Book page updated in the same change.
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

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: 721cd8af-95cc-4c86-8a7e-b55943740dc5

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:

  • Trigger review
  • 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.

@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 25, 2026
fleet gh issue close rejects --reason-text on its own closure path dezren39/fleet#118
Closed
@developing-today-fleet
developing-today-fleet Bot merged commit 92f1015 into main Nov 25, 2026
2 checks passed

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot deleted the felix/fleet118-gh-close-comment branch November 25, 2026 12:09
This was referenced Nov 25, 2026
ci(id): planted-bug-check.sh (the membership/voiding mutation proof from #1395) runs nowhere — no workflow, no flake check, not in check-all, not in the test-suite registry #8037
Closed
audit: open-issue graph hygiene — blockers, children, labels, splits #14863
Open
@developing-today developing-today Bot mentioned this pull request Nov 27, 2026
fleet transport: broker live overlay keyed to the registry host record #14715
Closed
3 tasks
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
fleet transport: host resolution and selection over the #13717 forms #14716
Open
3 tasks
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.

0 participants

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.