Repository navigation
chore(ci): stop checking out noblefactor-ops, and build star where it lives - #77
Merged
Merged
Conversation
… lives
Both workflows checked out three repositories to validate one. noblefactor-ops
was there for a single step -- `go build ./cmd/star` -- and that package no longer
exists: it was removed in noblefactor-ops#130, having been a copy left behind when
star moved to devlore-cli in March 2026.
It had been the wrong binary for five months. The March copy calls extension `run`
with one argument while the devlore extensions declare `run(command, ctx)`, which
is devlore-cli#695:
Error: function run missing 1 argument (ctx)
star is now built from devlore-cli, which was already being checked out. The Go
pin moves 1.24 -> 1.27 to match devlore-cli's go.mod, and the module cache keys on
devlore-cli/go.sum rather than a repository no longer present.
This does not make validate-yaml-schemas pass. With the right binary the failure
moves on to target resolution: `--target` is documented in a comment but never
declared as a flag, so ctx.args.get("target") is empty and _resolve_target falls
through to a sibling `../devlore-registry` that does not exist in this layout --
the registry is checked out at the workspace root. fsroot confinement then refuses
the `..` with "path escapes from parent". That is devlore-cli's to fix, planned in
its docs/plans/goreleaser-ship-star.md.
What changes here is that the failure is now the real one.
David-Noble-at-work
added a commit
that referenced
this pull request
Aug 27, 2026
…is in-tree (#78) 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. Co-authored-by: David Noble <[email protected]>
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.
Both workflows checked out three repositories to validate one:
noblefactor-opsexisted for a single step —go build ./cmd/star— and that package no longerexists. It was removed in NobleFactor/noblefactor-engprod#130, having been a copy left behind when
starmoved to devlore-cli in March 2026.It had been the wrong binary for five months. The March copy calls extension
runwith one argumentwhile the devlore extensions declare
run(command, ctx)— the whole of devlore-cli#695:Changes
starbuilt fromnoblefactor-opsdevlore-cligo-version1.241.27(matches devlore-cli'sgo.mod)cache-dependency-pathnoblefactor-ops/go.sumdevlore-cli/go.sumnoblefactor-ops,devlore-clidevlore-cliThis does not turn the check green
With the right binary the failure moves on to target resolution:
--targetis documented in a comment but never declared as a flag, soctx.args.get("target")returns empty;
_resolve_targetthen falls through to a sibling../devlore-registrythat does not exist in thislayout — the registry is checked out at the workspace root, not beside it;
..withpath escapes from parent.Those are devlore-cli's to fix, planned in its
docs/plans/goreleaser-ship-star.md. What changeshere is that the failure is now the real one rather than an artifact of building a five-month-old
binary from a repository that no longer contains it.
validate-yaml-schemasis a required check, so merging this needs an override. That is the freezeworking as intended.