Stabilize workspace app-boot smoke timing and diagnostics #354
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stabilize the workspace browser app-boot smoke path so CI failures are easier to diagnose and less likely to fail on cold Linux runners while preserving the current boot-order contract.
Problem
Recent public Forgejo
checks.ymlfailures are not failing inpnpm check:all; they are failing later inpnpm test:smokeduringpackages/workspace/e2e/app-boot-smoke.spec.ts. The first smoke test times out waiting forapp.workspace.activeLeafafter creating a fresh Browser vault, even though the same path often passes locally and in the containerized CI repro.That leaves two gaps:
activeLeafplus.workspace) and provides little context when it times out.Goal
Scope
App.sveltestartup path, and the smoke test should still fail on startup errors.Non-goals
App.svelteorVaultBootstrap.svelteunless the investigation proves a real product bug.Acceptance Criteria
packages/workspace/e2e/app-boot-smoke.spec.tscontinues to assert successful shell boot and core app-service availability.Implementation Notes
checks.ymlrun246for commit36851532759aon 2026-06-07;pnpm check:allandpnpm testboth passed there, and the failure occurred inpnpm test:smoke.checks.ymlfailures, so this looks like a recurring smoke-stability problem rather than one isolated commit.Suggested Files or Specs To Inspect
packages/workspace/e2e/app-boot-smoke.spec.tspackages/workspace/e2e/boot-smoke.helpers.tspackages/workspace/playwright.smoke.config.tspackages/workspace/scripts/run-smoke.mjspackages/workspace/src/lib/components/app/App.sveltespec/src/20-packages/workspace/index.mdspec/src/40-testing/current-state.mdValidation Commands
pnpm --filter @lapis-notes/workspace check:allpnpm --filter @lapis-notes/workspace testpnpm --filter @lapis-notes/workspace test:e2e:smokeRelated Issues
Follow-up Tasks
Implementation Summary
Reworked workspace app-boot smoke readiness waits to report shell and startup diagnostics instead of timing out on activeLeaf.