Repository navigation
chore(ci): name the validate check as an identifier, not a sentence - #76
Merged
Merged
Conversation
A job's name is the check context a ruleset has to match exactly, so it should read like an identifier: lowercase, hyphenated, no spaces. "Validate YAML schemas" becomes validate-yaml-schemas, matching quality-gate here and the test (…) / scenario (…) contexts in devlore-cli. This is the prerequisite for requiring it. A ruleset naming a context that does not exist is a required check that never arrives, which blocks every merge rather than none, so the rename lands first and the ruleset follows once develop has reported under the new name. The check itself is red and stays red: star devlore package validate fails with "function run missing 1 argument (ctx)", tracked as devlore-cli#695. That is not a stale signature — the (command, ctx) definition has been in place since 2026-03-23 — and devlore-cli runs the same command in knowledge-extract and passes, which points at how star is built here rather than at the extension. Requiring this check will therefore freeze the repository for anyone who is not a bypass actor until #695 is fixed. That is the intent: a failure this old should not be quietly survivable.
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.
Prerequisite for requiring every pull-request check in this repository.
The rename
Validate YAML schemas→validate-yaml-schemas.A job's
nameis the check context a ruleset must match exactly, so it should read like anidentifier rather than a sentence. This matches
quality-gatehere and thetest (…)/scenario (…)contexts in devlore-cli.It lands before the ruleset deliberately: a ruleset naming a context that does not exist is a
required check that never arrives, which blocks every merge rather than none.
This PR's own
validate-yaml-schemaswill be redExpected, and unrelated to the rename.
star devlore package validatefails with:Tracked as NobleFactor/devlore-cli#695. Two things it is not: a stale signature — the
(command, ctx)definition has been in place since 2026-03-23, five months before the firstrecorded failure — and a stale checkout, since
validate.yamltakes devlore-cli's default branch.devlore-cli runs the same command in
knowledge-extractand passes, which points at howstarisbuilt here rather than at the extension.
Merging over a known-red check is an override made after looking at the result, which is what the
policy sanctions. The script that opens this PR refuses to merge if anything other than
validate-yaml-schemasfails.What follows
Once
develophas reported under the new name, a repository ruleset requires both pull-requestchecks —
quality-gateandvalidate-yaml-schemas. That freezes this repository for anyone who isnot a bypass actor until #695 is fixed, which is the point.
update-indexesis not requirable: it runs only onpush, never reports on a pull request, andrequiring it would block every merge permanently. It has its own defect — it pushes directly into
the protected branch that triggered it, now refused — tracked as #75.