Repository navigation
fix(ci): nest the registry checkout inside devlore-cli so the target is in-tree - #78
Merged
Merged
Conversation
…is in-tree validate-yaml-schemas has been red for months. With noblefactor-ops' stale star out of the way (#77) the real cause was visible in one line: Error in file.is_dir: statat ..: path escapes from parent Two constraints were pulling in opposite directions. star resolves its extensions relative to the working directory, so the commands have to run from devlore-cli -- that is the only place com.noblefactor.devlore.* exists. But fsroot confinement refuses a target outside that working directory, and the registry sat beside it, so --target had to climb out through `..`. Checking this repository out INSIDE devlore-cli satisfies both at once: the working directory still finds the extensions, and the target is in-tree. Order matters -- devlore-cli is checked out first, because its checkout would otherwise clean away the nested one. Verified before pushing, with a real star built from devlore-cli's develop against this repository's actual content: devlore package validate -> Validated 10 files across 1 types devlore knowledge validate -> Validated 6 files across 1 types update-indexes gets the same layout, and its commit step gains a working-directory, having previously run at the workspace root that was the registry checkout. No devlore-cli change is required. Shipping star as a release artifact remains worth doing -- self-install, and validating a sync against the binary that generated it -- but it was never the blocker it appeared to be. update-indexes will still fail: it pushes directly into the protected branch that triggered it, which the ruleset refuses. That is #75, untouched here.
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.
Unfreezes this repository.
validate-yaml-schemashas been red for months; with noblefactor-ops'stale
starout of the way (#77), the real cause showed up in one line:Two constraints, pulling opposite ways
starresolves its extensions relative to the working directory — so the commands must runfrom
devlore-cli, the only placecom.noblefactor.devlore.*exists.beside devlore-cli, so
--targethad to climb out through...Checking this repository out inside devlore-cli satisfies both at once:
Order is load-bearing: devlore-cli is checked out first, or its checkout cleans away the nested one.
Verified before pushing
A real
star, built from devlore-cli'sdevelop, run against this repository's actual content:The schemas were never the problem.
No devlore-cli change is required
Shipping
staras a release artifact is still worth doing —star self install, and validating async against the exact binary that generated it — but it was never the blocker it appeared to be.
That work stays in devlore-cli's
docs/plans/goreleaser-ship-star.md, now as an improvement ratherthan a prerequisite.
Still failing after this
update-indexesgets the same layout and its commit step gains aworking-directory, but it willcontinue to fail: it pushes directly into the protected branch that triggered it, which the ruleset
refuses. That is #75, untouched here. It is push-only and reports on no pull request, so it gates
nothing.