fix: stop repeating the run id back at the reader #17
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/run-winbar-title"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Checklist
Problem
The title segment was the number already in the buffer's name, and nothing
besides. Every other list earns that space — a commit shows its subject, a pull
request its title — but the run paraphrased its own URI.
guh.nvimdoes repeat ids (PR #%{b:guh.id}against aguh://…/{feat}/{n}bufname), so duplication alone is not the objection. There the id is one
segment among several that are not in the name. Here it was the whole segment.
Solution
The head SHA and the workflow name were both already fetched — the SHA is used
two lines later to build
up— and neither appears in the buffer name:Same shape as the checks list, which reads
e3c5974a feat(dir): open cwd….The attempt suffix goes too, for the same reason:
ci://…/run/{id}/{attempt}already carries it.
A run buffer's winbar read "run 30311973753", which is the number already in its name and nothing besides. Every other list earns its keep there: a commit shows its subject, a pull request its title. This one paraphrased the URI. The head SHA and the workflow name were both already in hand, and neither is in the buffer name, so the run reads like its siblings now: ci://neovim/neovim/run/30311973753 CI neovim/neovim | 1 skipped, 1/2 passing | e3c5974a no_response The attempt goes with it. It was likewise only ever a restatement of the URI.Pull request closed