Repository navigation
Backlog
Description
Follow-up from the cross-review of #289 (row B13 in the organization gate, ADR-0092). The reviewer found no blocking point. These are its low, non-blocking findings, filed here so that #289 keeps its reviewed head.
Owner: Core maintainer.
missingEcosystems(scripts/lib/dependabot.mjs) readspackage-ecosystemwith a regex anchored at\s*$. A trailing comment (package-ecosystem: "npm" # note) makes it reportno entry for npmalthough the entry exists.ungroupedEntriesstrips comments, so the 2 readers disagree. Now that a required check uses the reader, this is a false positive infleet-conventions.fetchTreeFiles(scripts/lib/fleet-conventions.mjs) passes a listing that is not truncated and hastree: []. A listing that does not hold.github/dependabot.ymlcannot be the tree of a repository whose contents API returned that file, so the gate should fail closed on it.- ADR-0092 Consequences: state that the gate does not weigh a repository's own ADR that needs a second entry, which ADR-0089 calls a sweep "conflict" finding.
scripts/check-fleet-conventions.mjsheader comment: cite ADR-0092 (the gate check) beside ADR-0089.- ADR-0092 Consequences: "2 more GitHub API requests" is a maximum (a missing file skips the tree request). Write "up to 2". Because ADRs are immutable once accepted, this needs a link-only-safe wording or a note in the design doc.
Acceptance
- A test in
test/repository-baseline.test.mjspassespackage-ecosystem: "npm" # notetomissingEcosystemsand expects no gap. It fails on the current regex. The fix (a comment-tolerant regex, or theyamlparser asentryGapsuses) keeps every existing B13 test green. - A test in
test/fleet-conventions.test.mjsgives a tree listing with no.github/dependabot.ymlblob and expects<owner>/<name>: git tree listing is not readable. It fails before the fix. - The header comment of
scripts/check-fleet-conventions.mjscites ADR-0092. - Items 3 and 5 are recorded in
docs/design/quality-loop.md, or in an ADR that is not yet accepted, without a change of meaning to accepted ADR-0092. -
make cipasses, andnode scripts/check-fleet-conventions.mjsexits 0 for the enabled repositories.
Metadata
Metadata
Assignees
Labels
No labels
Activity