Skip to content

リリース検証で設定読込前に進むテストの待機条件を修正 - #36

Merged
ivgtr merged 1 commit into
mainfrom
fix/release-summary-test-readiness
Oct 10, 2026
Merged

ivgtr merged 1 commit into
mainfrom
fix/release-summary-test-readiness

Conversation

@ivgtr

@ivgtr ivgtr commented Oct 10, 2026

Copy link
Copy Markdown
Owner

原因

Release #31 は、ビルド前の npm test で診断保存の試験が1件失敗していました。

マウント用helperが、過去の chrome.storage.local.get 呼出しだけで準備完了と判定していました。診断保存時の読込が残っていると、設定の非同期ハッシュ計算前にボタンをクリックし、設定未読込のエラー行が表示されてキャッシュが保存されません。

修正

  • ボタンと一覧ライフサイクルの両helperで、今回のマウント後に対象PDFの要約キャッシュを読んだことを待つ
  • 既存の診断保存・再表示試験とOFF/ON試験で設定読込を明示的に保留し、過去の読込で待機が終わらないことを確認する
  • 製品コード・workflow・バージョン・タイムアウト・既存の保存検証条件は変更しない

検証

  • 旧待機条件へ戻すと、制御した2試験がともに失敗
  • 修正後の重点2試験は5回連続成功。hook試験32件も成功
  • Releaseと同じNode 20.20.2 / npm 10.8.2、npm ci、ローカルで0.7.13へ一時更新した条件で確認
  • npm run type-check、npm run lint、npm test(1,636件/58ファイル)、npm run build が成功
  • CMap168個とLICENSEの同梱・バイト一致を確認
  • 検証用のバージョン更新は戻し、差分はテスト1ファイルのみ

リリース再開時の注意

旧runのcheckout先はPR #35のmerge commitに固定されているため、再実行してもこの修正は入りません。修正を取り込んだ新しいmerge commitのRelease workflowで検証する必要があります。

このPRにはリリースラベルを付けていません。ローカル検証の成功と、GitHub Actions上のリリース成功は分けて確認します。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 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-10-10T12:32:36.201913Z adc0b1a 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.

@ivgtr
ivgtr merged commit 8ff00ff into main Oct 10, 2026
@ivgtr
ivgtr deleted the fix/release-summary-test-readiness branch October 10, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant