Skip to content

Test the staged SkLC website in Chromium - #133

Draft
Fnorgh2 wants to merge 2 commits into
mainfrom
codex/browser-artifact-check
Draft

Fnorgh2 wants to merge 2 commits into
mainfrom
codex/browser-artifact-check

Conversation

@Fnorgh2

@Fnorgh2 Fnorgh2 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

What reviewers can verify

The Static site artifact job starts Chromium against the staged Prebuilt website before uploading it. One worker visits the same build at the server root and at a nested path. Each visit checks the source revision, searches the catalog, opens skill instructions, follows the assessment links, and downloads the selected skill's ZIP. The test compares the report and ZIP bytes with the packaged files and opens the archived SKILL.md.

Running the test in the packaging job keeps the browser and the uploaded site on the same revision. A failed journey stops the preview upload and saves a Playwright trace. CI.md includes local reproduction steps. Testing an externally deployed Pages URL is a separate follow-up.

Verification

The final Linux CI run passed at b35b33c, including the Chromium journeys and static site upload.

  • Both browser journeys passed locally with Playwright 1.65.1 and its matching Chromium headless shell against the main artifact from run 45226546591.
  • In separate local copies of that artifact, a broken ZIP link and a broken adjudication link each failed at both mount paths. The ZIP failure identified the HTTP 404 and the exact URL. All four failures produced traces.
  • TypeScript, Astro diagnostics, ESLint, markdownlint and actionlint passed locally.
  • On Windows, the existing Node suite reported 18 passes and two failures (symlink creation and timezone formatting). The existing Python suite reported 220 passes, 17 failures and one skip. The Linux CI runs on this PR exercise those suites in the project's supported runner environment.

Review scope

137 manually reviewed changed lines and 46 lockfile lines. Review moved the journey into the site's test directory, strengthened the rendered-instructions check and disabled persisted checkout credentials in the packaging job. The initial browser run found two level-one headings on a skill page; the check now scopes the skill title to the page header.

The implementation used the repository's implement, durable-behavior-tests and code-review guidance, plus Skill Exchange CI migration guidance. Browser setup and download handling follow the official Playwright CI and downloads documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant