diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d517f8..c899fe7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,9 @@ jobs: - name: Type-check run: npm run typecheck + - name: Unit tests + run: npm test + - name: Test Rust core run: cargo test --manifest-path wasm/board-core/Cargo.toml @@ -53,3 +56,40 @@ jobs: - name: Run end-to-end tests run: npx playwright test + + # The e2e suite is red on `main` already (run 32238922648, same step), so a + # failing check on a PR carries no information on its own. Publish which + # tests failed — as a job summary readable without downloading logs, and + # as the HTML report artifact for local inspection. + - name: Summarize end-to-end results + if: always() + run: | + { + echo '### Playwright results' + echo '```' + node scripts/summarize-playwright-report.mjs playwright-report + echo '```' + } >> "$GITHUB_STEP_SUMMARY" + # Run it again for the workflow commands: annotations are only parsed + # from a step's stdout, and they are the one CI channel readable + # without access to the log/artifact blob storage. + node scripts/summarize-playwright-report.mjs playwright-report --annotations + + # GitHub keeps 10 annotations per level per step, so a red suite with more + # than 10 failures needs a second step to stay fully visible. + - name: Annotate remaining end-to-end failures + if: always() + run: node scripts/summarize-playwright-report.mjs playwright-report --annotations --page=2 + + - name: Annotate the page state at each failure + if: always() + run: node scripts/summarize-playwright-report.mjs playwright-report --contexts + + - name: Upload Playwright report + if: always() + uses: actions/upload-artifact@v4 + with: + name: playwright-report + path: playwright-report/ + retention-days: 7 + if-no-files-found: ignore diff --git a/dist/index.html b/dist/index.html index 91e3839..443a40c 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,26 +5,26 @@
{text}
-Учебная хронология разработки MiroBoard, зафиксированная Git-коммитами.
-- React, TypeScript, Vite, Tailwind, Yjs, WebRTC, IndexedDB и Rust/WASM. Factory Droid harness выполняет scoped-изменения, Rust/TypeScript-проверки, production build, Git commit/push и ведёт локальную операционную историю через jj. -
-- Git не содержит точных usage-метрик LLM, поэтому число токенов не выводится как оценка. Достоверный учёт возможен только при подключении telemetry API провайдера модели. -
-
- Commit, например 394dec5, это неизменяемый точный снимок исходного кода. По ссылке можно увидеть, какие файлы и почему изменились. Release, например v0.6.0, это понятная пользователю стабильная версия, объединяющая проверенные commits и готовый HTML.
-
- jj автоматически хранит локальные операции и позволяет безопасно отменять шаги, но пока не генерирует этот UI-список commits. В текущем release список обновляется вручную и поэтому отражает только опубликованные этапы. Сейчас развивается BPMN-симулятор: после длительностей, стоимости и ресурсов добавлены очереди, SLA и рабочий календарь. Следующий этап, приоритеты очереди, несколько экземпляров процесса и bottleneck-анализ. -
-Загрузите готовую схему, прочитайте цель и проверьте результат симуляции.