Skip to content

test(contribution): run chat smoke checks for source-only changes - #1360

Draft
Hao0321 wants to merge 1 commit into
mainfrom
test/check-pr-no-db-chat-20261117
Draft

Hao0321 wants to merge 1 commit into
mainfrom
test/check-pr-no-db-chat-20261117

Conversation

@Hao0321

@Hao0321 Hao0321 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

What changes

  • Add an explicit source-to-smoke-suite mapping for MemberMessages.tsx, covering sticker sending, direct-list polling/rendering, and message receipts. Run this allowlist without requiring TEST_DATABASE_URL.
  • Reject missing or symlinked required suites. Preserve existing database-backed test behavior when configured and report explicitly when those suites are skipped.
  • Contribution tooling and tests only. No changes to product code, GitHub workflows, branch protection, or production deployment.

Local checks

  • Selector tests: 10/10. Static checks passed.
  • Source-only overlays: the historical chat change failed the selected polling/render suites (33 failures in the paired control); the repaired source passed all four selected suites. The historical paired suites improved from 111 passing / 33 failing to 144 passing.
  • Missing required suite produced exit status 1; a changed database-backed test explicitly reported that it did not run without a database.

CI verification is pending.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@detna-vibe-coding detna-vibe-coding left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

草稿預審/CI 診斷:Verify 44132317473 的 runtime 全分片及彙總、CodeQL 均過;UI shard 1(job 134212896102)為 693 過/1 敗,其他三個 UI 分片成功,不能視為完整 Verify 通過。

失敗是 tests/e2e/absurd-daily.spec.ts:1335:260:注入 WebGL2RenderingContext.prototype.clear 的例外後,等待 .ck-visual-light 5 秒未出現。這不是起初的 renderer import fallback 失敗,而是 reload 並繼續料理後的 draw-fault 段。

來源初診:kitchen-stage.ts 的 slice staticKey 不變就直接 return,不重新 render。此測試只替換 clear,沒有明確觸發下一個可見變化,因而可能在已快取靜態畫面時根本未走到注入點。這是來源推論,尚未由 trace 或定向重跑證實;不要直接認定產品 fallback 壞掉,也不要只放寬 timeout。建議檢查 trace 中故障是否真正觸發,安排不改變料理 count 的可見變化觸發 draw,再保留原 fallback、canvas 移除及 1/6 → 2/6 恢復斷言。

本 PR 僅改三個 contribution tooling/test 檔,沒有更動上述遊戲來源或測試。尚無證據把此失敗歸因於本 PR。維持 Draft,未重跑、核准或部署。

This branch has not been deployed

No deployments
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.

2 participants