Fase 2 stap C: leesschakelaar (off/compare/on) voor het bibliotheekscherm, read-check endpoint, workflow-input

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 23:25:14 +01:00
co-authored by Claude Sonnet 5.5
parent 3558e91fde
commit e1010007fa
16 changed files with 633 additions and 6 deletions
@@ -25,6 +25,11 @@ on:
type: choice
options: [unchanged, 'on', 'off']
default: unchanged
media_library_read:
description: 'Media library read switch on the TEST deploys (Media__Library__ReadFromLibrary in shared/env): unchanged, off, compare or on'
type: choice
options: [unchanged, 'off', compare, 'on']
default: unchanged
pull_request:
types: [opened, synchronize, reopened]
push:
@@ -567,6 +572,7 @@ jobs:
run_db_backup: false
media_library_copy: ${{ github.event.inputs.media_library_copy || 'unchanged' }}
media_library_dual_write: ${{ github.event.inputs.media_library_dual_write || 'unchanged' }}
media_library_read: ${{ github.event.inputs.media_library_read || 'unchanged' }}
# Production deploy ONLY on an explicit workflow_dispatch run with deploy_sls_production checked, and
# only when that run is on a release/* branch (same rule as ASF) — never reachable from a plain push
@@ -696,6 +702,7 @@ jobs:
run_db_backup: false
media_library_copy: ${{ github.event.inputs.media_library_copy || 'unchanged' }}
media_library_dual_write: ${{ github.event.inputs.media_library_dual_write || 'unchanged' }}
media_library_read: ${{ github.event.inputs.media_library_read || 'unchanged' }}
# --- Smoke tests of the deployed compositions (anonymous requests, see scripts/smoke-site.sh) ---
# The CI tests the master CMS; this is the check that the composition of each site that was just deployed to test