Repository navigation
Conversation
Add Core-owned tables for desired package state and administrator operations. Keep the migration additive so existing plugin data survives upgrades, and refuse rollback once the new tables contain records.
Allow system generated history entries without an administrator actor and attach the serving instance ID. This makes startup failures traceable while protecting populated runtime history from destructive rollback.
Define the package snapshot, history entry, and paginated list shared by Core, SDK, and UI. Include the startup instance ID in history because the API returns it for process-specific diagnostics.
Parse optional registry metadata with semantic version validation, while retaining versionless v1 fixtures. Resolve required dependencies in load order and report missing, incompatible, cyclic, or duplicate namespace declarations before importing plugin code.
Read only allowlisted package metadata, honor disabled packages, and load dependencies in order. Isolate package failures for registry reporting while preserving the strict loader path used by existing callers.
Store desired activation under a PostgreSQL advisory transaction lock and reject dependency conflicts before changing state. Record administrator requests and process startup results without deleting package data.
Expose list, detail, health, dependencies, permissions, versions, history, and activation operations. Validate list filters, keep responses process-specific, and require plugin settings read or update permission for each route.
Wire registry routes into Core, skip disabled packages before import, and report loaded or failed packages for the serving instance. Persist startup audit events and log failures after Core begins serving.
Exercise metadata and dependency validation plus query parsing in unit tests. Add disposable database coverage for RBAC, concurrent activation, history, startup reconciliation and failure snapshots; expose it as the core-registry test suite.
Expose registry inspection and enable or disable methods through the shared authenticated transport. Document required plugin grants and restart semantics in both package guides, and test paths plus permission failures.
Add list, info, enable, and disable commands using an explicit human token. Require --yes for activation changes, preserve credential handling, and document restart behavior with focused CLI coverage.
Replace the simple plugin settings list with a searchable registry view, detail controls, dependency and capability information, and operation history. Preserve settings editing, read-only access, loading feedback, and English/Russian UI copy.
Document package metadata, desired versus loaded state, permission boundaries, startup reconciliation, deployment-only installation, and additive upgrade behavior in both language guides and architecture pages.
Catalog nine permission gated routes and generate English/Russian OpenAPI schemas from their response shapes. Refresh the route matrix and package guide copies so SDK and CLI behavior matches the published API.
Set the package bin script executable so direct POSIX invocation works after publication. The script contents and builder behavior stay the same.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Реализован Extension Registry для управления доверенными расширениями Collaborative.
Changes
desiredState,actualState,pendingRestartи диагностика ошибок запуска.Validation
Limitations