Skip to content

Run Fo's commit check unbounded again - #89

Merged
krystophny merged 1 commit into
mainfrom
hooks/unbounded-fo
Oct 30, 2026
Merged

krystophny merged 1 commit into
mainfrom
hooks/unbounded-fo

Conversation

@krystophny

Copy link
Copy Markdown
Member

Since f9e7008 the hook runs fo hook pre-commit --bounded. Bounded mode accepts a staged view only when every fast test passed within its deadline (fo_hook.f90#L465-L469), while the unbounded run it asks for defers tests beyond its budget and never records a complete pass. A project with many fast tests can therefore never commit; fortfem (867 fast tests) fails every time with "staged verification incomplete; prepare with: fo hook pre-commit".

The hook calls fo hook pre-commit without --bounded again, as before f9e7008. It also updates hook_sha256 in git-hooks.sh, which #88 left stale, so the colleague installer failed its checksum.

Checked: bash -n and shellcheck clean; git-hooks.sh installs into an empty home directory.

Chris&AI

fo hook pre-commit --bounded accepts only a complete fast tier within its deadline; projects with many fast tests (fortfem: 867) never reach it, so every commit failed. Also update the installer checksum, which #88 left stale.
@krystophny
krystophny enabled auto-merge October 30, 2026 05:35
@krystophny
krystophny added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 95e62e1 Oct 30, 2026
1 check passed
@krystophny
krystophny deleted the hooks/unbounded-fo branch October 30, 2026 05:38
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