Repository navigation
feat: add just doctor diagnostics and close audit coverage gaps - #1419
Merged
Merged
Conversation
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.
Summary
Implements #1418: closes the coverage gaps surfaced by the #1413 test-suite audit and adds the
just doctorhost diagnostic that replaces the deleted skip-on-failure host-preflight tests.Changes
docs/generate.pyunits: 11 new hermetic tests forload_skills(front-matter parsing, malformed/unterminated/missing-name skips, sort order, missing-dir warning) andgroup_skills(declared order, shared Git & PR heading, unknown-prefix drop, intro attachment), via the establishedgenerate.__file__repoint pattern.nvimandactionlintrun-tests;LOCALE_ARCHIVEshape+existence and asetlocaleround-trip proving the slimmed single-locale archive (Restrict image glibcLocales to en_US.UTF-8 (rebind imageTools AND LOCALE_ARCHIVE) #1104) resolvesen_US.UTF-8. Every asserted fact verified againstflake.nix/nix/devtools.nix.permissionsmaps pinned forrelease-core.yml(workflow + validate/finalize jobs, test-job inheritance) andrelease-publish.yml(workflow + publish job) — a silent widening now fails review.devc-upgradebehavioral tests: six stub-driven bats tests (loggingcurlemitting a fake installer + stubpodman) proving the pin honor path end-to-end (DEVKIT_VERSION, legacy DEVCONTAINER_VERSION, unpinned/latestfloating), the runtime-missing error before any download, and the in-container guard.just doctor(TDD, red-first): PASS/WARN diagnostics for git identity, commit signing (incl. unreadable ssh key path), ssh-agent, gh auth; always exits 0. Newtests/bats/doctor.batsdrives it under a controlled environment. Docs regenerated; changelogAddedentry.Verification
tests/test_utils.py+test_release_core.py+test_workflow_release_publish.py: 55 passed.tests/bats/just.bats+doctor.bats: 59 tests, all pass; devc-upgrade failure-attribution spot-checked (broken expectation → red → restored).tests/test_image.py: collect-clean (112 tests); the three new image tests execute in this PR's Image Tests lane.Closes #1418