Repair external symlinks that prevent the validator action from unpacking - #43
Conversation
|
Warning Review limit reachedNext included review available in 53 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (11)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (1)
|
| Layer / File(s) | Summary |
|---|---|
Archive link validation .github/workflows/validate-action-tests.yml, validate-action/tests/* |
The workflow tests archive links and validates symlinks in an extracted Git archive. The checker rejects dangling links and links outside the archive root. |
Container gatekeeper policy editors/vscode/container/.gatekeeper.yaml, pandoc/container/.gatekeeper.yaml |
The shared configuration references are removed. The Pandoc file now contains Svalinn route, authentication, rate-limit, validation, CORS, and audit-logging rules. |
Site presentation site/assets/style.css, site/templates/default.html |
The site gains local responsive styles and a shared HTML template with metadata, navigation, accessibility controls, licensing, and footer content. |
Priority: ➖ Normal
Estimated code review effort: 3 (Moderate) | ~20 minutes
Merge Risk: 🔵 Low · up to 2ee51
The site template may render without its expected brand in generated page headers. This is a bounded presentation issue and does not otherwise block the archive-link repair.
Sequence Diagram(s)
sequenceDiagram
participant GitHub Actions
participant Git archive
participant check-archive-links.sh
GitHub Actions->>Git archive: Extract HEAD
Git archive-->>GitHub Actions: Provide archive tree
GitHub Actions->>check-archive-links.sh: Validate archive symlinks
check-archive-links.sh-->>GitHub Actions: Return pass or failure status
Possibly related PRs
- hyperpolymath/k9-ecosystem#42: Adds related archive-symlink safeguards that this pull request extends to extracted archives.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly describes the primary change: repairing external symlinks that prevent the validator action repository from being unpacked. |
| Description check | ✅ Passed | The description is directly related to the changes. It explains the symlink repairs, archive-link checks, validation coverage, and affected consumers. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2… |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
- Create stacked PR
- Commit on current branch
📝 Generate docstrings
- Create stacked PR
- Commit on current branch
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit reads each line,
The patch grows clear beneath the moon,
Small changes hop in place,
Tests guard the garden path,
Reviews bloom before the dawn.
Comment @coderabbitai help to get the list of available commands.
|



GitHub cannot unpack the K9 action repository because four symlinks point outside the repository to the former standards monorepo's
_sharedtree. This fails consumers before the validation action starts, including Hypatia and cicd-suite.Materialize the four existing shared files from the canonical standards source as ordinary files, retaining their content and licence headers. Add a repository-archive link check and controls that reject dangling and escaping links while accepting internal links.
Validation: K9 validator regression tests pass; archive-link positive/negative controls pass; all links in the repaired checkout pass. Consumer CI will additionally verify that GitHub can unpack and execute the action from this commit.
Related incident: hyperpolymath/natsci-studio#82, hyperpolymath/fraying-model-computational-testbed#65, hyperpolymath/cicd-suite#5, and hyperpolymath/hypatia#769.