ci: port 10 E2E workflows to .gitea/workflows/ (RFC internal#219 §1 Cat C-2) #386
Merged
claude-ceo-assistant
merged 3 commits from 2026-05-11 07:21:28 +00:00
sweep/internal-219-cat-C2-port-e2e into main
3 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| a9d164f0b4 |
Merge branch 'main' into sweep/internal-219-cat-C2-port-e2e
Some checks failed
CI / Detect changes (pull_request) Successful in 1m1s
Harness Replays / detect-changes (pull_request) Failing after 13s
Harness Replays / Harness Replays (pull_request) Has been skipped
E2E API Smoke Test / detect-changes (pull_request) Successful in 1m6s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 15s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 1m5s
sop-tier-check / tier-check (pull_request) Successful in 15s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 52s
audit-force-merge / audit (pull_request) Successful in 17s
CI / Canvas (Next.js) (pull_request) Successful in 9s
CI / Platform (Go) (pull_request) Successful in 9s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 7s
CI / Python Lint & Test (pull_request) Successful in 9s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging SaaS (pull_request) Failing after 4m53s
E2E Staging External Runtime / E2E Staging External Runtime (pull_request) Successful in 5m17s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Failing after 4m16s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 5m0s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 9m57s
|
|||
|
|
e434a3c466 |
ci(C-2): fix YAML parser-rejection in canary-verify.yml
Some checks failed
audit-force-merge / audit (pull_request) Has been skipped
E2E API Smoke Test / detect-changes (pull_request) Successful in 24s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 31s
Harness Replays / detect-changes (pull_request) Failing after 14s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 37s
Harness Replays / Harness Replays (pull_request) Has been skipped
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 7s
sop-tier-check / tier-check (pull_request) Successful in 8s
E2E Staging External Runtime / E2E Staging External Runtime (pull_request) Successful in 5m18s
E2E Staging SaaS (full lifecycle) / E2E Staging SaaS (pull_request) Failing after 5m36s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Failing after 2m59s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2m38s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 7m38s
Mechanical porter inserted a duplicate `env:` block in
.gitea/workflows/canary-verify.yml — the file already had an
`env: { IMAGE_NAME, TENANT_IMAGE_NAME, CP_URL }` block so the
second `env: { GITHUB_SERVER_URL: ... }` block triggered Gitea's
parser error "yaml: mapping key 'env' already defined".
Merged GITHUB_SERVER_URL into the existing env block.
Verified via fresh `docker logs molecule-gitea-1 --since 5m` after
push — no new parser-rejection warnings for canary-verify.yml.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|
|
58f80f7e42 |
ci: port 10 E2E workflows to .gitea/workflows/ (RFC internal#219 §1, Category C-2)
Some checks failed
E2E API Smoke Test / detect-changes (pull_request) Successful in 23s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 21s
Harness Replays / detect-changes (pull_request) Failing after 7s
Harness Replays / Harness Replays (pull_request) Has been skipped
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 9s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 16s
sop-tier-check / tier-check (pull_request) Failing after 6s
E2E Staging SaaS (full lifecycle) / E2E Staging SaaS (pull_request) Failing after 4m36s
E2E Staging External Runtime / E2E Staging External Runtime (pull_request) Successful in 5m15s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Failing after 3m53s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 4m33s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 8m12s
Sweep companion to PR#372 (ci.yml port), PR#378 (Cat A), PR#379 (Cat B), PR#383 (Cat C-1 gates/lints). Ports 10 E2E-shaped workflow files from .github/workflows/ to .gitea/workflows/. Each port applies the four-surface audit pattern. Per RFC §1 contract: every job has `continue-on-error: true` so surfaced defects do not block PRs. Follow-up PR flips to false after triage. Files ported: - canary-staging.yml — every-30-min canary smoke against staging. Two `actions/github-script@v9` blocks (open-issue-on-failure + auto-close-on-success) replaced with curl calls to the Gitea REST API (/api/v1/repos/.../issues|comments). Same single-issue + comment-on-repeat semantics. - canary-verify.yml — post-publish image promote-to-:latest. Still uses workflow_run trigger; Gitea 1.22.6's support for that event is partial — flagged in the file header. If review confirms it doesn't fire, follow-up PR replaces with push-with-paths-filter on .gitea/workflows/publish-workspace-server-image.yml. Removed the `|| github.event_name == 'workflow_dispatch'` branch (this port drops workflow_dispatch). - continuous-synth-e2e.yml — synthetic E2E every 10 min cron. Dropped workflow_dispatch.inputs. Real-cron paths intact. - e2e-api.yml — API smoke. dorny/paths-filter@v4 replaced with inline `git diff` per PR#372 pattern; detect-changes job + per-step if-gate shape preserved for branch-protection check-name parity. - e2e-staging-canvas.yml — Playwright canvas E2E. dorny/paths-filter replaced with inline git diff. upload-artifact@v3.2.2 kept (Gitea 1.22.x compatible per PR#372 notes; v4+ is not). - e2e-staging-external.yml — workspace-status enum regression coverage. Dropped workflow_dispatch.inputs + cron-trigger inputs. - e2e-staging-saas.yml — full lifecycle E2E. Dropped workflow_dispatch.inputs. Heaviest port; cleaned via mechanical porter then manual review. - e2e-staging-sanity.yml — weekly intentional-failure teardown sanity. github-script issue block replaced with Gitea API curl. - handlers-postgres-integration.yml — Postgres integration tests. dorny/paths-filter replaced with inline git diff. Dropped merge_group + workflow_dispatch. - harness-replays.yml — tests/harness boot suite. Standard port. Dropped merge_group + workflow_dispatch. Open questions for review: 1. workflow_run trigger on canary-verify.yml — unconfirmed Gitea 1.22.6 support. continue-on-error+canary-verify-dead doesn't block anything either way; review can validate. 2. github.event.before fallback in detect-changes paths — on Gitea the event.before field is populated for push events but its exact shape on initial pushes / forced updates differs from GitHub. The shallow-fetch + cat-file recovery branch handles the missing-base case correctly. 3. MOLECULE_STAGING_* secrets reused — verified at /etc/molecule-bootstrap/all-credentials.env that the names are defined. Tier-low because failure-mode is "smoke skip" + log warning, not silent green. DO NOT MERGE without orchestrator-dispatched Five-Axis review + @hongmingwang chat-go. Cross-links: - RFC: molecule-ai/internal#219 - Companions: PR#372, PR#378, PR#379, PR#383 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |