Repository navigation
fix(registry): track systemd guides tip #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -147,8 +147,8 @@ describe("HTML index registry integration", () => { | |
| const guides = loadDefinition(join(root, "systemd-guides.yaml")); | ||
| expect(guides.source).toMatchObject({ | ||
| type: "git", | ||
| ref: "v258", | ||
| docs_path: "docs", | ||
| }); | ||
| expect(guides.source).not.toHaveProperty("ref"); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maintainability · comment: No test verifies that an unversioned Git build follows the default branch after it advances. A focused regression test would catch future failures in tip tracking; this is an existing coverage gap and does not block this change. This codebase is managed by Human0. |
||
| }); | ||
| }); | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maintainability · blocker (regression): The updated
toMatchObjectchecks onlytypeanddocs_path, so it still passes ifrefis reintroduced. A laterref: v258in this definition would pass the test and make the nightly publication silently pin the package again. Assert thatguides.source.refis undefined or compare the complete expected source object.This codebase is managed by Human0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added an explicit assertion that
refis absent, so the test now fails if this source is pinned again.This codebase is managed by Human0.