Stabilize official plugin asset publish observability and memory usage #346
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#346
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
publish-official-plugin-assets.ymlworkflow andregistry-assets:publishscript remain too opaque and too memory-hungry under Forgejo CI.
Problem
leaves long gaps after
Forgejo releases page ...without showing asset-pageprogress or whether the scan is still active.
official-plugin-assets-*releases even though it only needs to know whetherthe selected plugin/version prefixes already exist.
especially notebook/docs/canvas assets, which increases OOM risk.
prove whether the build ran with remote cache env configured or whether the
current build shape is making poor use of it.
Goal
Make official plugin asset publish runs faster to understand, lower-memory, and
easier to debug in Forgejo CI without changing the published asset contract.
Scope
upload batch sizes.
Non-goals
release file layout.
Acceptance Criteria
registry-assets:publish --publishand--verifyscan onlyofficial-plugin-assets-*releases and stop once all requestedplugin/version prefixes are found.
status, batch sizes, and per-asset upload progress with sizes.
turbo run buildinvocation with repeated--filterflags plus--concurrency=1.memory before upload.
publish_githubandupload_batch_sizeinputs and usesa Forgejo-compatible artifact upload action.
Implementation Notes
remains skip/fail compatible with existing callers.
introducing a new archive or upload dependency.
heap pressure, not eliminating staging work.
Suggested Files or Specs To Inspect
.forgejo/workflows/publish-official-plugin-assets.ymlscripts/publish-official-plugin-assets.mjsscripts/plugin-release.mjsscripts/forgejo-release.mjsscripts/github-release.mjsscripts/publish-release-assets.mjsscripts/publish-official-plugin-assets.test.mjsscripts/plugin-release.test.mjsspec/src/80-maintenance/monorepo-scripts.mdspec/src/80-maintenance/release-management.mdspec/src/30-cross-package-contracts/plugin-registry.mdValidation Commands
pnpm test:scriptspnpm check:allmdbook build specRelated Issues
Follow-up Tasks
Implementation Summary
Added targeted Forgejo asset scanning, single-invocation Turbo builds, streamed packaging/uploads, CI workflow controls, and release publish observability docs.