Repository navigation
sminos suite: pass from a symlinked checkout path (Arkho #82, 7.160.2) - #204
Merged
Merged
Conversation
…nked checkout path (Arkho #82, 7.160.2) The CLI renders the spawn preamble's {{SMINOS_CLI}} from its resolved location; the suite kept the path as given, so 'reading chat is the first sminos instruction' failed deterministically under /tmp on macOS. TECH-DEBT listed it with the load flakes; it is not one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #82
What
tests/sminos/run-sminos-tests.shbuiltREPO_ROOTwithpwd, which keeps a symlink in the path.sminos.pyrenders the spawn preamble's{{SMINOS_CLI}}fromos.path.realpath(__file__). From any checkout under a symlink (on macOS, anything in/tmp), "reading chat is the first sminos instruction" therefore compared/tmp/...with/private/tmp/...and failed every time. The CLI is right to render the resolved path, so the test now resolvesREPO_ROOTwithpwd -P.TECH-DEBT's T3 entry on the sminos suites' timing assertions no longer says this test is a load flake that awaits a reproduction. It records the real cause and the fix. Version 7.160.1 -> 7.160.2.
Validation Evidence
git archiveexports of origin/main (the base) and of this branch, each run as the fulltests/sminos/run-sminos-tests.shfrom/tmp/<dir>(symlinked) and/private/tmp/<dir>(resolved), one at a time insidewith-slot.sh:/tmp/.../private/tmp/.../tmp/.../private/tmp/...Nothing fails from one path that does not fail from the other. No other assertion depended on the unresolved path: the sub-suites build their roots with
pwdtoo, but they only use them to locate scripts, and all 1774 assertions pass from the symlinked path.Independent review (
doperpowers:reviewer-low): correct, no findings.