Skip to content

WASM plugins: reject duplicate page types at registration; per-plugin store quota; wider reserved-slug list #577

Description

@compscidr

Small follow-ups from the #575 review, all low severity:

  • RegisterDynamic rejects duplicate plugin names but not duplicate page types; a plugin declaring another plugin's page type can shadow it and, on uninstall, DeletePages removes that page row (restored on next restart). Reject at registration and have DeletePages skip types still claimed by a registered plugin.
  • plugin_store has per-key/value caps but no per-plugin quota; add a byte/row cap.
  • reservedSlugs in ensurePages should also include comments, wizard_db, test_db, wp-content.
  • Re-instantiation backoff (reinstantiatedAt) is only stamped on success; stamp on attempt so a failing instantiate() doesn't retry on every call.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions