mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-02 13:15:17 +09:00
- docs/EXTENSIONS.md: honest author guide (manifest, contributions, SDK, lifecycle, install sources, production frontend constraint, conversion recipe) - Retire the serverkit-git compat shim in contributions.js (manifest is canonical) - scripts/sync-builtin-frontends.mjs + extensions-ci.yml: builtin-frontend drift gate (single source of truth per D5) - Marketplace UI truth pass: relabel bundled entries "Built-in" - backend/tests/test_plugins_pipeline.py: first coverage for the install pipeline (builtin install, contributions envelope, disable 503, reinstall refresh, zip-slip) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
name: Extensions CI
|
|
|
|
# Guards the builtin-extension platform. The pre-bundled plugin frontends under
|
|
# frontend/src/plugins/<slug>/ are build artifacts of builtin-extensions/<slug>/
|
|
# frontend/ (decision D5 in docs/plans/12_EXTENSIONS_PLATFORM_PLAN.md). They used
|
|
# to be hand-duplicated and silently drifted; this job fails the build if the
|
|
# artifact no longer matches its source, so the two can never diverge unnoticed.
|
|
|
|
on:
|
|
push:
|
|
branches: [dev, main]
|
|
paths:
|
|
- 'builtin-extensions/**'
|
|
- 'frontend/src/plugins/**'
|
|
- 'scripts/sync-builtin-frontends.mjs'
|
|
- '.github/workflows/extensions-ci.yml'
|
|
pull_request:
|
|
branches: [dev, main]
|
|
paths:
|
|
- 'builtin-extensions/**'
|
|
- 'frontend/src/plugins/**'
|
|
- 'scripts/sync-builtin-frontends.mjs'
|
|
- '.github/workflows/extensions-ci.yml'
|
|
workflow_call:
|
|
|
|
jobs:
|
|
builtin-frontend-drift:
|
|
name: builtin frontend drift check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
- name: Check builtin-extension frontends are in sync
|
|
run: node scripts/sync-builtin-frontends.mjs --check
|