Repository navigation
ci: verify static source and correct broken local links - #2
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Reviewer's GuideThis PR introduces a read-only, dependency-free CI gate that validates five HTML entrypoints, their local references, and ten first-party JavaScript files, with focused failure-mode tests and documented scope. It also fixes three favicon paths and two case-sensitive OGOD links, using pinned GitHub Actions and no npm/build or deployment requirements. Sequence diagram for CI static source verificationsequenceDiagram
participant Actions as GitHub Actions
participant Verifier as verify-static-site.py
participant HTML as HTML entrypoints
participant Files as Local files
participant Node as Node.js
Actions->>Verifier: Run verification
Verifier->>HTML: Parse entrypoints and collect references
Verifier->>Files: require_file for local targets
Files-->>Verifier: Exact-case nonempty regular files
Verifier->>Node: node --check JavaScript files
Node-->>Verifier: Syntax result
Verifier-->>Actions: Pass or reject verification
Flow diagram for static site verification gateflowchart TD
Start[Run verify-static-site.py] --> Pages[Parse five HTML entrypoints]
Pages --> Structure[Validate document structure]
Structure --> References[Resolve local src, data-src, poster, and link targets]
References --> Files[Require exact-case, nonempty regular files]
Files --> Syntax[Check ten first-party JavaScript files]
Syntax --> Pass[Verification passes]
Files --> Fail[Reject missing, mis-cased, symlink, empty, or escaping paths]
Syntax --> Fail
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 7
✨ Finishing Touches
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. Comment |
The public site has Pages publication evidence but no source verification; its npm test command starts a development server. Source inspection found three favicon references to a missing directory and two links with incorrect OGOD filename case.
This adds a dependency-free gate for five existing HTML entrypoints, their 138 distinct local resource/link targets, and syntax of the ten explicitly listed first-party JavaScript files. It checks exact case, nonempty regular files, document structure and syntax, while rejecting symlink paths. The five broken URLs are corrected. Eight failure-mode tests verify the gate rejects actual defects.
The new public workflow uses read-only contents, pinned actions and a five-minute standard runner; it requires no npm install, private checkout, credentials, deployment or media changes. Documentation bounds the claim: browser rendering, external availability, CSS URLs, dynamic resources and fragments remain outside this static predicate.
Independent patch review is clear. All eight failure-mode tests and the ten actual JS syntax checks pass locally; exact Git tree metadata confirms all 138 referenced files are nonempty. Full verification against the real checked-out assets remains the hosted acceptance test.
Hosted acceptance now passes on
855e6aff5454c60c265f26dff88c82305cd36e3f: run 38978939360 completed both the failure-mode tests and full verification against the actual checked-out assets. Independent review found no blockers.Summary by CodeRabbit