Route local official plugin bundles in workspace E2E #358
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#358
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?
The workspace Playwright helpers route local official-registry metadata from
https://local.lapis.test/v1/**, but the generated local registry fixture nowpublishes plugin bundles at
../releases/<plugin>-<version>.lapis-plugin.During install, the plugin-distribution manager resolves that relative bundle
URL against the routed detail document, which produces
https://local.lapis.test/releases/.... The browser test runtime does not havethat origin routed, so the installer's fetch fails during the daily-use journey.
Problem
packages/workspace/e2e/daily-use-journey.spec.tsfails while installing thenotebook plugin from the local official registry fixture.
helper's current
.../v1/**route and hits an unrouted.../releases/**request.
host.
Goal
Route local official plugin bundle requests in workspace E2E so official plugin
installs can fetch the generated
.lapis-pluginarchive from the local fixtureorigin instead of failing with browser
fetch()errors.Scope
generated local bundle path used by the fixture.
official-plugin install coverage.
Non-goals
verification rules.
validation proves another local dependency in the same path is broken.
Acceptance Criteria
lapis-notebookfrom the local officialplugin fixture without
Failed to fetchfrom the bundle download step.bundle requests needed by the generated fixture.
contract.
Implementation Notes
../releases/<bundle>, whichresolves outside
/v1/.Suggested Files or Specs To Inspect
packages/workspace/e2e/official-plugin-install.helpers.tspackages/workspace/e2e/local-official-plugin.helpers.tspackages/workspace/scripts/run-daily-use-e2e.mjsscripts/build-local-official-plugin-registry.mjspackages/api/src/lib/plugin-distribution/installer.tsValidation Commands
pnpm --filter @lapis-notes/workspace test:e2e:daily-usepnpm --filter @lapis-notes/workspace test:e2e:official-pluginsRelated Issues
Follow-up Tasks
Implementation Summary
Route local official plugin bundle requests in workspace E2E from the fixture base directory so local registry installs can fetch ../releases/*.lapis-plugin assets again. Validated with workspace daily-use E2E, the repo official-plugin wrapper, workspace check:all, and workspace test.