Skip to content

fix: stage symlink patches and honor space-form doc update hints - #247

Merged
SebTardif merged 3 commits into
mainfrom
fix/improve-mpi-20260828-s0618
Aug 28, 2026
Merged

fix: stage symlink patches and honor space-form doc update hints#247
SebTardif merged 3 commits into
mainfrom
fix/improve-mpi-20260828-s0618

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

Summary

Cycle 2 after v0.5.0. Tightens tests that would stay green if production
broke, and closes two leftover holes from cycle 1: workspace patch
symlinks that realpath outside were not staged, and human doc update
stderr did not get the picker hint.

Why

A zip extract test only checked that xf appeared somewhere in argv.
GitHub latest-release stubs ignored URL and headers. Agent-rules failure
logging was asserted with an OR regex that matched the formatted toast.
A workspace-visible symlink to an outside patch skipped the copy step
that keeps --contain on.

Verification

  • npm run check (unit + coverage + package) on this branch
  • New symlink staging test; space-form doc update formatter test

Checklist

  • All commits in this pull request are signed off with git commit -s
  • I ran npm run check and it passes
  • I updated docs if user-facing behavior changed
  • I am contributing this work under the repository license (MIT)

Zip extract now checks full tar argv. defaultFetchJson stubs assert
URL and GitHub headers. generateAgentRules failure logs the raw
envelope, not a substring that matches the formatted toast.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
Workspace-visible patch symlinks that realpath outside are copied so
--contain stays on. Human stderr that says doc update (space form)
gets the same picker hint as doc.update.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
@SebTardif
SebTardif marked this pull request as ready for review August 28, 2026 13:39
@SebTardif
SebTardif enabled auto-merge (squash) August 28, 2026 13:39
@SebTardif
SebTardif merged commit 6d416a3 into main Aug 28, 2026
22 checks passed
@SebTardif
SebTardif deleted the fix/improve-mpi-20260828-s0618 branch August 28, 2026 13:44
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