fix(ci): モックエンジンをwarm upしてテストが時間切れになるのを防ぐ - #2730
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR addresses test timeout issues by pre-warming the mock engine. The changes add a beforeAll hook to warm up the tokenizer before running tests, preventing timeouts during test execution.
- Pre-warm the tokenizer in test setup to avoid timeouts
- Export the
createOrGetTokenizerfunction to make it accessible for warm-up
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/unit/mock/engineMock/index.spec.ts | Adds beforeAll hook to warm up tokenizer before tests run |
| src/mock/engineMock/talkModelMock.ts | Exports createOrGetTokenizer function for external access |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@codex レビューお願いします |
|
🚀 プレビュー用ページを作成しました 🚀 更新時点でのコミットハッシュ: |
|
Codex Review: Didn't find any major issues. Swish! About Codex in GitHubYour 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, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback". |
|
@copilot |
|
マージします。 |
内容
モックエンジンをwarm upしてテストが時間切れになるのを防ぐようにしてみました。
関連 Issue
スクリーンショット・動画など
その他
個人的なメモ
CodexのURL
https://chatgpt.com/codex/tasks/task_e_68bc2424f770832890ff05eeeb529d33