Skip to content

Setup output: name the changes to show an owner, say what it commits, explain a candidate pin - #72

Merged
alexei-led merged 4 commits into
mainfrom
fix/setup-output
Nov 24, 2026
Merged

alexei-led merged 4 commits into
mainfrom
fix/setup-output

Conversation

@alexei-led

Copy link
Copy Markdown
Contributor

Four low-severity fixes to archfit setup output from the usability rerun.

  • Named changes to show an owner. The replay line and the setup pull request body name up to three changes, each with the status an owner would see: 1 to show an owner (#1: unknown), then N more. Setup reads replay without GitHub labels, so #N comes from the commit subject ((#12), Merge pull request #12); without one, the short commit id. replay.Result gains LookAt; the archfit replay text is unchanged.
  • No "cannot tell" pin line in setup. Setup leaves out cannot tell whether the local engine matches the workflow pin: nothing in setup changes it (the usual cause is the # candidate pin setup itself wrote). doctor still reports it.
  • Setup says what it commits and pushes. After the check and before the commit: setup commits <files> on archfit/setup and pushes the branch. committed <files> as <id> is now committed as <id>. The first run (no policy) says the next run commits the hook files, and to add --no-hooks to that run to leave them out. Setup prints its lines at the end, so this is the last point where --no-hooks helps. No prompt was added.
  • # candidate explained. When a candidate build pins the Action by commit, the pull request body says what a # candidate pin is.

Docs: docs/commands.md (setup), CHANGELOG.md.

Checks: GOWORK=off make all steps pass locally: fmt, names, lint, arch-lint, and tests in 75 packages. cmd/archfit passes with -race in 521 s. It needs more than the 10-minute default here because the host is loaded (load average 17–41); one run hit that timeout, with a git rev-parse deadline in an unrelated hook test. New tests cover each line, and the vocabulary checks (StoryNotUsedIn) run on all new output. Not run locally: .NET, Rust and language contracts; CI checks those. No fixtures, policies or extractors changed.

Review: an independent reviewer subagent found three text issues: the commit line printed before an unknown stop, the hook hint dropping -C, and "PR" in the docs. All three are fixed.

@archfit-review

Copy link
Copy Markdown
Contributor

✅ Archfit: pass

@alexei-led
alexei-led merged commit 432979b into main Nov 24, 2026
19 checks passed
@alexei-led
alexei-led deleted the fix/setup-output branch November 24, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant