Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(submit): tailor submit output to stack shape#1270

Open
jonnii wants to merge 1 commit into
jonnii/20260610220955/tighten-submit-output-and-surface-swallowed from
jonnii/20260620010701/tailor-submit-output-to-stack-shape
Open

feat(submit): tailor submit output to stack shape #1270
jonnii wants to merge 1 commit into
jonnii/20260610220955/tighten-submit-output-and-surface-swallowed from
jonnii/20260620010701/tailor-submit-output-to-stack-shape

Conversation

@jonnii

@jonnii jonnii commented Jun 20, 2026
edited
Loading

Copy link
Copy Markdown
Collaborator

Submit framed every run the same way — a "Stack to submit:" header and a
per-branch tree — regardless of whether there was a real stack to show.
The output now adapts to where submit is run from:

  • A lone branch off trunk reads as a single PR ("name → base"), dropping
    the stack header, the "Submitting 1 branch" count, the per-row branch
    name, and the "Pull requests" list in favor of a bare ref + URL.
  • A real stack keeps the stack framing, now annotated with its base
    ("Stack to submit → main") and aligned action columns.
  • Running submit while checked out on trunk surfaces a distinct outcome
    (OutcomeOnTrunk) that points at creating or checking out a branch,
    rather than a bare "No branches to submit".

The plan snapshot already carries the branch set, current branch, and
trunk, so the shape is known before the first plan line streams in.


Stack

Auto-generated by Stackit

Submit framed every run the same way — a "Stack to submit:" header and a
per-branch tree — regardless of whether there was a real stack to show.
The output now adapts to where submit is run from:
- A lone branch off trunk reads as a single PR ("name → base"), dropping
 the stack header, the "Submitting 1 branch" count, the per-row branch
 name, and the "Pull requests" list in favor of a bare ref + URL.
- A real stack keeps the stack framing, now annotated with its base
 ("Stack to submit → main") and aligned action columns.
- Running submit while checked out on trunk surfaces a distinct outcome
 (OutcomeOnTrunk) that points at creating or checking out a branch,
 rather than a bare "No branches to submit".
The plan snapshot already carries the branch set, current branch, and
trunk, so the shape is known before the first plan line streams in.
@jonnii jonnii force-pushed the jonnii/20260610220955/tighten-submit-output-and-surface-swallowed branch from 8558de4 to f510aa4 Compare June 23, 2026 02:14
@jonnii jonnii changed the base branch from jonnii/20260610220955/tighten-submit-output-and-surface-swallowed to main June 23, 2026 02:14
@jonnii jonnii force-pushed the jonnii/20260620010701/tailor-submit-output-to-stack-shape branch from d822ea9 to 4a9f9c6 Compare June 23, 2026 02:14
@jonnii jonnii changed the base branch from main to jonnii/20260610220955/tighten-submit-output-and-surface-swallowed June 23, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /