Commit Graph

4 Commits

Author SHA1 Message Date
weli a2b7825188 Fix course-package:610 flaky — use expect.poll for post-save API check
Replace fixed waitForTimeout(2000) with expect.poll({ timeout: 15_000 })
so the API verification retries until the created package and its item
association are queryable. CI is slower than local, causing false failures.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 22:09:38 +08:00
weli 92cce7612e Merge AGENTS.md conventions into CLAUDE.md; fix course-package-store:465 skip
CLAUDE.md: merge communication style, toolchain, project structure from
AGENTS.md; add gh run watch workflow instructions.

course-package-store:465: skip gracefully when pkg-mc-001 doesn't exist
or student can't access detail page (CI data dependency).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 21:40:29 +08:00
weli f6ecdf224e docs: add local E2E test workflow before CI push
- Document running playwright tests locally against moicen before pushing
- Helps avoid wasted CI cycles

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 20:16:04 +08:00
weli b2b69207e1 docs: add CLAUDE.md with CI workflow guide
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 16:09:44 +08:00