Stabilize plugin-manager install-bundle tests under CI load #279

Closed
opened 2026-06-04 21:47:01 +00:00 by steve · 0 comments
Owner

Problem

Forgejo checks fail on pnpm test after #278 added unit tests to CI.
plugin-manager.test.ts install-bundle cases (especially lapis-notebook) can
exceed Vitest's default 5s timeout under CI CPU load and default Turbo
parallelism.

Goal

Keep pnpm test green in Forgejo checks without weakening coverage.

Acceptance Criteria

  • External install-bundle cases in plugin-manager.test.ts have explicit timeouts
  • checks.yml sets TURBO_CONCURRENCY=1 and NODE_OPTIONS like docker:ci-check
  • pnpm test and pnpm check:all pass locally

Validation Commands

  • pnpm exec turbo run test --filter=@lapis-notes/api --force
  • pnpm test
  • pnpm check:all

Implementation Summary

Raised plugin-manager external install-bundle Vitest timeout to 30s (lapis-notebook exceeds 5s under load). Set TURBO_CONCURRENCY=1 and NODE_OPTIONS in checks.yml to match docker:ci-check. Validated: pnpm test, api test --force, docker:ci-check --skip-smoke --pull.

## Problem Forgejo checks fail on `pnpm test` after #278 added unit tests to CI. `plugin-manager.test.ts` install-bundle cases (especially `lapis-notebook`) can exceed Vitest's default 5s timeout under CI CPU load and default Turbo parallelism. ## Goal Keep `pnpm test` green in Forgejo checks without weakening coverage. ## Acceptance Criteria - [ ] External install-bundle cases in `plugin-manager.test.ts` have explicit timeouts - [ ] `checks.yml` sets `TURBO_CONCURRENCY=1` and `NODE_OPTIONS` like `docker:ci-check` - [ ] `pnpm test` and `pnpm check:all` pass locally ## Validation Commands - `pnpm exec turbo run test --filter=@lapis-notes/api --force` - `pnpm test` - `pnpm check:all` ## Implementation Summary Raised plugin-manager external install-bundle Vitest timeout to 30s (lapis-notebook exceeds 5s under load). Set TURBO_CONCURRENCY=1 and NODE_OPTIONS in checks.yml to match docker:ci-check. Validated: pnpm test, api test --force, docker:ci-check --skip-smoke --pull. <!-- backlog:task_id=TASK-stabilize-plugin-manager-ci-timeouts source_spec=spec/src/80-maintenance/monorepo-scripts.md related_issue=278 -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lapis-notes/lapis#279
No description provided.