Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+14
-14
@@ -4,15 +4,15 @@
|
||||
|
||||
**Full "everything-on" chromium run against boiler (web image `944ef476`, freshly
|
||||
reseeded): `203 passed / 0 failed / 5 skipped` (9.3m).** The 5 skips are correctly
|
||||
operator-gated and justifiably impossible here: real-Stripe `subscription-success`
|
||||
×3 (need an externally-acquired Stripe session), the registration email-verification
|
||||
operator-gated and justifiably impossible here: real-Legacy-Provider `subscription-success`
|
||||
×3 (need an externally-acquired Legacy-Provider session), the registration email-verification
|
||||
inverse pair (env runs with `E2E_REGISTRATION_EXPECTS_EMAIL_VERIFICATION=0`), and the
|
||||
`E2E_REQUIRE_PLUGIN_HOOK_AUDIT` hook-audit lane (operator-gated). A second clean
|
||||
full run was used to confirm stability.
|
||||
|
||||
**The 12 remaining failures from the previous handoff, all fixed this session:**
|
||||
1. **plugin cluster (49/120/173/201)** — cross-spec pollution. `plugin-hook-lifecycle`
|
||||
now targets the dedicated, fully-provisioned `com.toolctrl.e2e-lifecycle` plugin
|
||||
now targets the dedicated, fully-provisioned `com.hivegrid.e2e-lifecycle` plugin
|
||||
instead of mutating the shared `e2e-readiness` plugin's audit-missing baseline.
|
||||
2. **plugin-settings 244** — the grant/revoke + restore reloaded the page before the
|
||||
in-flight single-fetch POST landed (stale read). Now waits for RR7 revalidation.
|
||||
@@ -32,8 +32,8 @@ full run was used to confirm stability.
|
||||
that api-docs was fine; only this test asserts `status < 500`). Fixed by gating the
|
||||
editor behind a client mount (server + first client render emit an identical
|
||||
placeholder → no hydration mismatch).
|
||||
6. **portal-management** — operator chose to SHIP portals. Un-ignored the portal routes
|
||||
(`app.$tenant/__portals/**`, `admin/portals.tsx`), gated the global enable behind
|
||||
6. **portal-management** — operator chose to SHIP tenant portals. Un-ignored the tenant portal routes
|
||||
(`app.$tenant/__portals/**`), gated the global enable behind
|
||||
`PORTALS_ENABLED` (boilerplate default stays off; **boiler Coolify env set to
|
||||
`true`**), seeded a minimal published Portal fixture (subdomain `e2e-readiness`),
|
||||
and fixed 2 pre-existing type-drift errors the route-tree typecheck surfaced.
|
||||
@@ -65,7 +65,7 @@ also deployed to boiler staging) · **Companion docs:** `docs/testing/e2e-readin
|
||||
**Current state:** `main` HEAD `d8aaeacb`, deployed to boiler (web image `3cbb12d3`; the two
|
||||
commits after it are test-only/docs and don't change the runtime image). Full chromium run, freshly
|
||||
reseeded: **192 pass / 11 fail / 5 skip**. The original 26 failures are mostly fixed; the 11 are the
|
||||
hard tail below. The 5 skips are correctly-gated (real-Stripe success + email-verification inverse).
|
||||
hard tail below. The 5 skips are correctly-gated (real-Legacy-Provider success + email-verification inverse).
|
||||
|
||||
**What's already done (don't redo):** subscription/api-docs/golden-path/registration/workflow-builder-actions/
|
||||
mobile-shell-drawer race+selector fixes; seed prunes leaked accounts; seed fully-provisions the
|
||||
@@ -88,13 +88,13 @@ is now permitted (recipe in §4); you can also just psql the readiness plugin/gr
|
||||
|
||||
1. **[BIGGEST WIN — ~6 tests] Plugin cluster needs FIXTURE SEPARATION.** plugin-settings is **14/0 in
|
||||
isolation** but fails ~5 in the serial run as CROSS-SPEC POLLUTION: `plugin-hook-lifecycle.*` sorts
|
||||
first, mutates the SHARED `com.toolctrl.e2e-readiness` plugin (grants audit / deactivates), and the
|
||||
first, mutates the SHARED `com.hivegrid.e2e-readiness` plugin (grants audit / deactivates), and the
|
||||
"enabled + audit-missing" baseline is UI-unrestorable (revoke auto-disables; `plugins.tsx:415`
|
||||
hides the enable form for disabled+missing-cap). **Fix:** seed a SECOND, fully-provisioned readiness
|
||||
plugin WITH a settings UI (clone `buildE2eReadinessPluginManifest` → new id e.g.
|
||||
`com.toolctrl.e2e-hooklifecycle`, grant ALL caps incl `hook:workflow.executed`), and repoint
|
||||
`com.hivegrid.e2e-hooklifecycle`, grant ALL caps incl `hook:workflow.executed`), and repoint
|
||||
`plugin-hook-lifecycle.mobile-a11y.spec.ts` (146/201) + the lifecycle/iframe tests at it; keep the
|
||||
audit-missing `com.toolctrl.e2e-readiness` ONLY for the review/grant/deny tests (49/120/173/244).
|
||||
audit-missing `com.hivegrid.e2e-readiness` ONLY for the review/grant/deny tests (49/120/173/244).
|
||||
Then nothing mutates the audit-missing plugin's audit state. Also fix hook-lifecycle's
|
||||
`isCapabilityGranted` — after grantAndEnable the grant lands server-side (DB-confirmed) but the
|
||||
revoke-form detection misses it (inspect the rendered DOM for the audit revoke control).
|
||||
@@ -189,7 +189,7 @@ restores it between runs), and `.check()` targets all review checkboxes. plugin-
|
||||
⚠️ **BUT in the FULL serial run (CI), plugin-settings still shows ~5 failures — and they are
|
||||
CROSS-SPEC POLLUTION, not the original cause.** `plugin-hook-lifecycle.*` sorts BEFORE
|
||||
`plugin-settings.*`, so its mutating tests (146 grants audit; 201 grant/deactivate) run first on the
|
||||
SHARED `com.toolctrl.e2e-readiness` plugin and leave it audit-GRANTED (or disabled) — then
|
||||
SHARED `com.hivegrid.e2e-readiness` plugin and leave it audit-GRANTED (or disabled) — then
|
||||
plugin-settings' review/grant tests (49/120/173) fail with "fixture has no missing capability" because
|
||||
audit is no longer missing. The "enabled + audit-missing" baseline is UI-unrestorable (revoke
|
||||
auto-disables), so NO per-test restore can undo this in a single seeded serial run. **The only clean
|
||||
@@ -341,8 +341,8 @@ query to confirm account count/`defaultTenantId` was **blocked by the auto-mode
|
||||
- Re-seed works and reports "E2E readiness fixtures seeded." (the trailing `EACCES … .env` is
|
||||
harmless). Helper scripts left at `/tmp/e2e-reseed.sh`, `/tmp/e2e-run.sh` (full matrix),
|
||||
`/tmp/e2e-run-chromium.sh` (fast triage) — they set the complete opt-in env.
|
||||
- The 3 real-Stripe `subscription-success` tests (`subscription-smoke:198,260,603`) use
|
||||
`skipWhenE2eOperatorOptInMissing` (never fail-closed) and need an externally-acquired Stripe
|
||||
- The 3 real-Legacy-Provider `subscription-success` tests (`subscription-smoke:198,260,603`) use
|
||||
`skipWhenE2eOperatorOptInMissing` (never fail-closed) and need an externally-acquired Legacy-Provider
|
||||
session path — they are **separate from the 28** and correctly stay skipped here.
|
||||
|
||||
---
|
||||
@@ -390,7 +390,7 @@ pass. The opt-in env vars (grep the specs for the exact set; current list):
|
||||
| `E2E_ALLOW_REGISTRATION_CREATE=1` | registration creates a real account (2) | creates users/tenants in the DB |
|
||||
| `E2E_ALLOW_ACCOUNT_CREATE=1` | account creation (1) | creates a tenant |
|
||||
| `E2E_ALLOW_NO_TENANT_ACCOUNT_CREATE=1` | no-tenant account path (1) | creates a user |
|
||||
| `E2E_ALLOW_SYNTHETIC_CHECKOUT_RETURN_SURFACE=1` | Stripe checkout return surface (2) | renders the post-checkout surface; check whether it needs Stripe test keys / a synthetic session |
|
||||
| `E2E_ALLOW_SYNTHETIC_CHECKOUT_RETURN_SURFACE=1` | Legacy-Provider checkout return surface (2) | renders the post-checkout surface; check whether it needs Legacy-Provider test keys / a synthetic session |
|
||||
| `E2E_REQUIRE_WORKFLOW_OUTBOX_DRAIN=1` | already set in your runs | needs the general worker draining the outbox |
|
||||
| `REQUIRE_E2E_READINESS=1` | makes every fixture/opt-in guard FAIL instead of skip | the fail-closed mode you must satisfy |
|
||||
|
||||
@@ -498,7 +498,7 @@ cat "$d/error-context.md"
|
||||
- SSH: `ssh boilerplate-staging` (root@46.225.5.93, key `~/.ssh/node1`).
|
||||
- Web container name pattern: `mrf8lj...` (app UUID `mrf8lj70kmy9hqprx9dd6w7q`). General worker
|
||||
(drains outbox + runs native executor): `wzshv933n2nhy0cvsxu8bqmm`.
|
||||
- Gitea API: `https://git.tool-ctrl.de/api/v1`, repo `toolctrl-labs/boilerplate`, token
|
||||
- Gitea API: `https://git.tool-ctrl.de/api/v1`, repo `toolctrl-labs/HiveGrid-Cloud`, token
|
||||
`~/.cli-tokens/gitea` (the `gitea-ci-pat` lacks actions:read — use `gitea`).
|
||||
|
||||
**Re-seed (REQUIRED after every web deploy AND before every full run — `/tmp` is ephemeral):**
|
||||
|
||||
Reference in new issue
Block a user