Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -9,6 +9,11 @@ name: E2E Readiness
on:
workflow_dispatch:
inputs:
customer_portal_invitation:
description: "Operator-approved disposable VA-P26a invitation, delivered-mail, setup and replay proof"
required: false
default: "false"
type: boolean
plugin_lifecycle_mutation:
description: "Operator-approved disposable run: persist plugin grant/revoke and enable/disable state"
required: false
@@ -64,27 +69,23 @@ env:
E2E_TENANT_ACCOUNT_NAME: E2E Readiness
E2E_TENANT_ACCOUNT_SLUG: e2e-readiness
E2E_TENANT_DASHBOARD_PATH: /e2e-readiness/dashboard
E2E_TENANT_SETTINGS_ACCOUNT_PATH: /e2e-readiness/settings/account
E2E_TENANT_CHAT_PATH: /e2e-readiness/chat/chat_e2e_readiness
E2E_TENANT_SETTINGS_ACCOUNT_PATH: /e2e-readiness/settings/workspace
E2E_TENANT_SETTINGS_PROFILE_PATH: /e2e-readiness/settings/profile
E2E_TENANT_SUBSCRIPTION_PATH: /e2e-readiness/settings/subscription
E2E_TENANT_MEMBERS_PATH: /e2e-readiness/settings/members
E2E_TENANT_ROLES_AND_PERMISSIONS_PATH: /e2e-readiness/settings/roles-and-permissions
E2E_TENANT_NOTIFICATIONS_PATH: /e2e-readiness/settings/notifications
E2E_TENANT_LOGS_PATH: /e2e-readiness/settings/logs
E2E_TENANT_LOG_EVENTS_PATH: /e2e-readiness/settings/logs/events
E2E_TENANT_AUDIT_EXPORT_PATH: /e2e-readiness/settings/audit-export
E2E_TENANT_PRIVACY_PATH: /e2e-readiness/settings/privacy
E2E_TENANT_CHATBOT_PATH: /e2e-readiness/settings/chatbot
E2E_TENANT_AI_USAGE_PATH: /e2e-readiness/settings/ai-usage
E2E_TENANT_API_PATH: /e2e-readiness/settings/api
E2E_TENANT_API_KEYS_PATH: /e2e-readiness/settings/api/keys
E2E_TENANT_API_DOCS_PATH: /e2e-readiness/settings/api/docs
E2E_TENANT_API_LOGS_PATH: /e2e-readiness/settings/api/logs
E2E_TENANT_POLICIES_PATH: /e2e-readiness/settings/policies
E2E_TENANT_PORTAL_ANALYTICS_PATH: /e2e-readiness/portals/e2e-readiness/analytics
E2E_TENANT_PORTAL_SETTINGS_PATH: /e2e-readiness/portals/e2e-readiness/settings
E2E_TENANT_SUBSCRIPTION_PATH: /e2e-readiness/settings/billing
E2E_TENANT_MEMBERS_PATH: /e2e-readiness/settings/team
E2E_TENANT_ROLES_AND_PERMISSIONS_PATH: /e2e-readiness/settings/team/roles
E2E_TENANT_NOTIFICATIONS_PATH: /e2e-readiness/settings/profile/notifications
E2E_TENANT_LOGS_PATH: /e2e-readiness/settings/compliance
E2E_TENANT_LOG_EVENTS_PATH: /e2e-readiness/settings/compliance/events
E2E_TENANT_AUDIT_EXPORT_PATH: /e2e-readiness/settings/compliance/audit-export
E2E_TENANT_PRIVACY_PATH: /e2e-readiness/settings/profile/data
E2E_TENANT_API_PATH: /e2e-readiness/settings/integrations/api
E2E_TENANT_API_KEYS_PATH: /e2e-readiness/settings/integrations/api/keys
E2E_TENANT_API_LOGS_PATH: /e2e-readiness/settings/integrations/api/logs
E2E_TENANT_POLICIES_PATH: /e2e-readiness/settings/workspace/policies
E2E_ADMIN_EMAIL_SEQUENCES_PATH: /email-sequences
E2E_PLUGIN_SETTINGS_PATH: /e2e-readiness/settings/plugins
E2E_PLUGIN_SETTINGS_PATH: /e2e-readiness/settings/integrations/plugins
E2E_WORKFLOW_ENGINE_PATH: /e2e-readiness/workflow-engine/workflows
E2E_WORKFLOW_BUILDER_PATH: /e2e-readiness/workflow-engine/workflows/wf_123
E2E_WORKFLOW_RUN_API_PATH: /e2e-readiness/workflow-engine/workflows/wf_123/run/api
@@ -122,19 +123,27 @@ jobs:
fi
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version-file: .nvmrc
- name: Persist Node.js toolchain
run: bash scripts/ci/persist-node-toolchain.sh
- name: Enable Corepack
run: corepack enable
run: corepack enable --install-directory /usr/local/bin
- name: Prepare pnpm 10.33.0
run: corepack prepare pnpm@10.33.0 --activate
- name: Prepare pnpm 11.12.0
run: corepack prepare pnpm@11.12.0 --activate
- name: Configure pnpm store
run: pnpm config set store-dir .pnpm-store
- name: Cache pnpm store
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: .pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@@ -142,7 +151,7 @@ jobs:
${{ runner.os }}-pnpm-
- name: Cache Playwright browsers
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: .cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }}
@@ -199,9 +208,40 @@ jobs:
- name: Run strict E2E readiness suite
run: pnpm run verify:e2e-a11y
- name: Run operator-gated VA-P26a invitation lifecycle
if: ${{ github.event_name == 'workflow_dispatch' && inputs.customer_portal_invitation }}
env:
E2E_BASE_URL: https://staging-app.hivegrid.de
E2E_TENANT_EMAIL: ${{ secrets.E2E_PORTAL_INVITATION_ADMIN_EMAIL }}
E2E_TENANT_PASSWORD: ${{ secrets.E2E_PORTAL_INVITATION_ADMIN_PASSWORD }}
E2E_TENANT_CUSTOMER_PORTAL_SETTINGS_PATH: /demo-pro-crm/settings/customer-portal
E2E_PORTAL_BASE_URL: https://staging-portal.hivegrid.de
E2E_PORTAL_TENANT_SLUG: demo-pro-crm
E2E_PORTAL_INVITATION_ENTRYPOINT: admin
E2E_PORTAL_INVITATION_EXPECTED_PROJECT: ${{ vars.E2E_PORTAL_INVITATION_EXPECTED_PROJECT }}
E2E_PORTAL_INVITATION_SETUP_PASSWORD: ${{ secrets.E2E_PORTAL_INVITATION_SETUP_PASSWORD }}
E2E_PORTAL_SETUP_MAIL_FIXTURE_URL: ${{ secrets.E2E_PORTAL_SETUP_MAIL_FIXTURE_URL }}
E2E_PORTAL_SETUP_MAIL_FIXTURE_TOKEN: ${{ secrets.E2E_PORTAL_SETUP_MAIL_FIXTURE_TOKEN }}
E2E_PORTAL_SETUP_MAIL_FIXTURE_TIMEOUT_MS: "90000"
E2E_ALLOW_CUSTOMER_PORTAL_P26A_INVITATION_MUTATION: "1"
REQUIRE_E2E_READINESS: "1"
REQUIRE_E2E_MUTATING_READINESS: "1"
run: |
run_id="${GITHUB_RUN_ID:-}"
run_attempt="${GITHUB_RUN_ATTEMPT:-1}"
case "$run_id:$run_attempt" in
*[!0-9:]*|":"|*:*:*) echo "Invalid workflow run identity" >&2; exit 1 ;;
esac
correlation_key="p26a-${run_id}-${run_attempt}"
export E2E_PORTAL_SETUP_MAIL_FIXTURE_KEY="$correlation_key"
export E2E_PORTAL_INVITATION_EMAIL="customer-portal-invitation+${correlation_key}@saas-ctrl.com"
export E2E_PORTAL_INVITATION_FIRST_NAME="Portal"
export E2E_PORTAL_INVITATION_LAST_NAME="Invitation E2E"
pnpm run verify:e2e-customer-portal-invitation
- name: Upload Playwright traces
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5 # v3
with:
name: e2e-readiness-results
path: test-results/