Skip to content

fix(ci): stabilize flaky shiki test and knip entry - #12

Merged
Fryuni merged 1 commit into
mainfrom
t3code/fix-ci-main-failures
Sep 15, 2026
Merged

Fryuni merged 1 commit into
mainfrom
t3code/fix-ci-main-failures

Conversation

@Fryuni

@Fryuni Fryuni commented Sep 15, 2026

Copy link
Copy Markdown
Owner

What Changed

  • Pinned Date.now in the shiki review highlighter test and restored it with onTestFinished, so wall-clock contention in CI can no longer truncate tokenization of the fixture.
  • Added smoke-cli-archive.ts to the knip entry list, since the CLI archive smoke tool is run manually in this fork without release workflows.

Why

The shiki test was flaky in CI: Shiki bounds tokenization by wall time, and under CI contention the fixture could be truncated, failing the assertion intermittently. Mocking the clock removes the variability without changing production code.

The knip change fixes a false unused-file report for the smoke tool after the fork trimmed release workflows.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

- Mock Date.now in shiki highlighter test so CI contention can't truncate tokenization
- Register smoke-cli-archive.ts as a knip entry since release workflows don't run in this fork
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-15T02:00:33.605660Z 4187a54 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Fryuni
Fryuni merged commit 654ab65 into main Sep 15, 2026
8 checks passed
@Fryuni
Fryuni deleted the t3code/fix-ci-main-failures branch September 15, 2026 01:59
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