test(e2e): finalize settings suite stabilization#5885
test(e2e): finalize settings suite stabilization#5885BillLeoutsakosvl346 wants to merge 1 commit into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Migration 0266 SSO hardening adds a shared legacy-provider audit, a one-shot preflight in E2E harness changes include the Docs Ask AI replaces inline Zod on Reviewed by Cursor Bugbot for commit fbbc9f2. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThis PR stabilizes the Settings E2E suite and hardens the SSO migration rollout.
Confidence Score: 3/5This PR should not merge until the Helm migration init container can start when optional or retired SSO preflight Secret keys are absent. The new non-optional secretKeyRef entries are resolved before the migration code runs, so a missing one-shot key can block every app pod even when the database no longer needs the preflight. helm/sim/templates/deployment-app.yaml Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
Deploy[Deployment starts] --> Init[Migration init container]
Init --> Resolve[Resolve SSO preflight environment]
Resolve --> Audit{Migration 0266 pending?}
Audit -- Yes --> Gate[Quiescence and provider audit]
Gate --> Migrate[Apply migrations]
Audit -- No --> Migrate
Migrate --> App[Start application container]
Reviews (1): Last reviewed commit: "test(e2e): finalize settings suite stabi..." | Re-trigger Greptile |
| {{- if .Values.migrations.ssoPreflight.existingSecret }} | ||
| valueFrom: | ||
| secretKeyRef: | ||
| name: {{ .Values.migrations.ssoPreflight.existingSecret | quote }} | ||
| key: {{ .Values.migrations.ssoPreflight.providerWritesQuiescedKey | quote }} | ||
| {{- else }} | ||
| value: {{ .Values.migrations.ssoPreflight.providerWritesQuiesced | quote }} | ||
| {{- end }} | ||
| - name: SSO_AUDIT_APPROVED_PROVIDER_IDS | ||
| {{- if .Values.migrations.ssoPreflight.existingSecret }} | ||
| valueFrom: | ||
| secretKeyRef: | ||
| name: {{ .Values.migrations.ssoPreflight.existingSecret | quote }} | ||
| key: {{ .Values.migrations.ssoPreflight.auditApprovedProviderIdsKey | quote }} |
There was a problem hiding this comment.
Optional secret keys block startup
When migrations.ssoPreflight.existingSecret omits either preflight key, these non-optional secretKeyRef entries prevent the migration init container from starting, causing CreateContainerConfigError even after migration 0266 is applied or when no provider approvals are required. Mark these references optional or emit them only for the one-shot rollout.
Knowledge Base Used: Database schema and migrations (packages/db)
Summary
--repeat-eachrun every Playwright project sequentially on one stack, rather than repeating only the terminal dependency projectVerification
Manual follow-up after umbrella merge