Skip to content

fix(ci): nightly-E2E grün + Dependabot + Action-Versionen bumpen - #13

Merged
phash merged 1 commit into
mainfrom
ci/e2e-fix-dependabot
Jun 25, 2026
Merged

fix(ci): nightly-E2E grün + Dependabot + Action-Versionen bumpen#13
phash merged 1 commit into
mainfrom
ci/e2e-fix-dependabot

Conversation

@phash

@phash phash commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Warum

Die nightly-E2E (e2e.yml) war seit Erstellung bei jedem Lauf rot — 27+ Runs in Folge, nie grün (zuletzt 17 passed / 12 failed). Außerdem fehlte Dependabot komplett und alle Actions liefen auf dem deprecateten Node 20.

Ursachen & Fixes

1. Onboarding-Overlay (7× Editor + Logout + Screenshots) — das Welcome-Modal triggert beim ersten /editor-Render eines frischen Users und fängt alle Klicks ab (editor-reset-all, Slider, Masken, Logout) → 30s-Timeouts. Fix: beforeEach setzt lumen.onboarding.v1=dismissed + clearCookies (gleiches Muster wie admin/feedback.spec).

2. Marketplace-Seed (3×)uploadTinyImage lud ein PNG, das Backend verlangt für öffentliche Preset-Previews aber JPEG (presets.py) und prüft die Magic-Bytes (images.py) → 400/415. Fix: valides 1×1-JPEG.

Außerdem

  • screenshots.spec ist ein Doku-Generator, kein CI-Test → hinter LUMEN_SCREENSHOTS=1 gegated (skippt im nightly).
  • playwright.config: html-Reporter ergänzt — der Artifact-Upload hatte bisher nie Inhalt (nur list-Reporter, kein playwright-report/).
  • .github/dependabot.yml: npm (/frontend), pip (/backend), github-actions — wöchentlich, minor+patch gruppiert.
  • Action-Bumps: checkout v5, setup-node v6, setup-python v6, pnpm/action-setup v6, upload-artifact v5.

Verifiziert

YAML-Parse ✓ · tsc -b --noEmit ✓ · Playwright --list (alle 36 Specs parsen) ✓ · Latest-Tags der Actions per GitHub-API geprüft ✓. Echter E2E-Lauf via workflow_dispatch auf diesem Branch (siehe Checks).

⚠️ Dependabot Security Alerts müssen zusätzlich manuell aktiviert werden: Repo → Settings → Code security → Dependabot alerts. Die dependabot.yml deckt nur Version-Updates ab.

🤖 Generated with Claude Code

Die nightly-E2E (e2e.yml) war seit Erstellung bei JEDEM Lauf rot
(17 passed / 12 failed). Zwei Ursachen behoben:

- Onboarding-Welcome-Modal-Overlay fing Klicks ab (Reset-All, Slider,
  Masken, Logout) -> 30s-Timeouts in editor/login/screenshots.spec.
  Fix: beforeEach setzt `lumen.onboarding.v1=dismissed` + clearCookies,
  analog zu admin/feedback.spec.
- Marketplace-Seed lud ein PNG hoch, Backend verlangt fuer oeffentliche
  Preset-Previews aber JPEG (presets.py) + prueft Magic-Bytes
  (images.py) -> 400/415. Fix: uploadTinyImage nutzt jetzt ein valides
  1x1-JPEG (image/jpeg, ff d8 ff ...).

Zusaetzlich:
- screenshots.spec ist ein Doku-Generator, kein CI-Test -> hinter
  LUMEN_SCREENSHOTS=1 gegated (skippt im nightly).
- playwright.config: html-Reporter ergaenzt, damit der Artifact-Upload
  (frontend/playwright-report/) tatsaechlich Inhalt hat.
- .github/dependabot.yml: npm (frontend), pip (backend), github-actions
  -- woechentlich, minor+patch gruppiert.
- Action-Versionen gebumpt (Node-20-Deprecation): checkout v5,
  setup-node v6, setup-python v6, pnpm/action-setup v6,
  upload-artifact v5.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@phash
phash merged commit 02065b5 into main Jun 25, 2026
4 checks passed
@phash
phash deleted the ci/e2e-fix-dependabot branch June 25, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant