Skip to content

fix(ci): correct nself release tarball extraction in quarterly-doc-audit - #29

Merged
acamarata merged 1 commit into
mainfrom
fix/quarterly-doc-audit-tar-strip-components
Aug 16, 2026
Merged

acamarata merged 1 commit into
mainfrom
fix/quarterly-doc-audit-tar-strip-components

Conversation

@acamarata

Copy link
Copy Markdown
Contributor

The nself CLI release tarballs nest the binary inside a nself-${VERSION}-${OS}-${ARCH}/ directory. The quarterly-doc-audit install step assumed a flat extraction and did mv /tmp/nself ..., which fails since the release packaging added the wrapping dir. Adds --strip-components=1 (matching the already-working fix in nchat/nclaw/nfamily/clawde/homebrew-nself) and fails soft instead of hard-erroring the whole audit.

Verified locally: downloaded the current v1.2.5 linux-amd64 release tarball and confirmed --strip-components=1 extracts /tmp/nself correctly. Confirmed this repo's quarterly-doc-audit workflow_dispatch runs were failing with mv: cannot stat '/tmp/nself': No such file or directory before this fix.

…arterly-doc-audit

The CLI release tarballs (nself-${VERSION}-${OS}-${ARCH}.tar.gz) nest
the binary inside a nself-${VERSION}-${OS}-${ARCH}/ directory. The
audit-tool install step extracted flat into /tmp and then did
'mv /tmp/nself ...', which no longer finds the binary since the
release packaging added the wrapping directory. Add
--strip-components=1 (matching the fix already applied in
nchat/nclaw/nfamily/clawde/homebrew-nself) and fail soft instead of
hard-erroring the whole audit if the download/extract ever fails.

Verified: current v1.2.5 linux-amd64 tarball extracts /tmp/nself
correctly with this flag; confirmed live failures in this repo's
quarterly-doc-audit runs before this fix (mv: cannot stat '/tmp/nself').
@acamarata
acamarata merged commit d999eda into main Aug 16, 2026
34 checks passed
acamarata added a commit that referenced this pull request Aug 16, 2026
…d-paths (#31)

peter-evans/create-pull-request's git add treats multiple pathspec
arguments atomically: since this repo has zero .mdx files, the
**/*.mdx pathspec always fails with 'pathspec did not match any
files', which aborts the whole git add — so none of the 44 legitimately
modified .md wiki files get staged either, and the commit step then
fails with 'no changes added to commit'.

Confirmed via gh run view --log-failed on run 31956740627 (head_sha
d999eda, current main HEAD) and reproduced locally: an unmatched
pathspec element in a multi-pathspec git add aborts the entire
command. This is unrelated to the prior --strip-components=1 CLI
tarball fix (#29), which is already correctly in place.

find . -iname '*.mdx' confirms this repo has no mdx files, so drop
the pattern entirely rather than working around it.
@acamarata
acamarata deleted the fix/quarterly-doc-audit-tar-strip-components branch August 30, 2026 18:45
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