Repository navigation
fix(platform): treat missing credentials as already deleted - #4190
Conversation
|
Independent review of PR #4190 at
MEDIUM: the conflict resolution breaks the whole register table (verified).
The code fix is verified
LOW (follow-ups; none block on their own)
CI: CI was queued at this head; the previous head |
Independent review receipt — REQUEST CHANGESTALE-523 · reviewer Codex #10 ( Exact reviewed head: Required repairMEDIUM — Acceptance evidence
Verification and limitsPASS: 4 targeted jsdom files, 30/30 tests, existing dependencies, one worker: PATH=/opt/node/bin:$PATH node /agent/workspace/tale/node_modules/vitest/vitest.mjs run \
--config /agent/output/b8673512-ca28-441f-9b5a-6879339c1048/vitest.review.config.ts \
--maxWorkers=1 \
app/features/settings/credentials/credential-row-actions.test.tsx \
app/features/settings/connectors/hooks/connector-reads.test.tsx \
app/features/settings/providers/hooks/provider-reads.test.tsx \
app/features/settings/credentials/credential-edit-dialog.test.tsxThe wrapper retains the repository UI configuration and only permits the isolated delivery-box worktree/shared dependency paths and puts Vite cache inside the delivery box. The first Bun-launched attempt failed before any test executed (external font path denied and CI observed at publication (02:12Z): 1 pass and 7 queued/pending checks: one candidate-source resolver succeeded; four candidate-source resolvers, the E2E preview bundle build, Playwright web, and Playwright docs remain pending. No failures observed. Earlier snapshot had five queued candidate-source checks. Prior-head green CI is not proof of this head. No CI rerun, cancellation, or saturated-check watch. Unrun: real missed-event two-session UI, browser/visual gate, stack, E2E, containers, full platform/workspace suites, lint/format/typecheck, server permission integration, and live GitHub rendering. Row-removal evidence is targeted jsdom, not a live backend/browser reproduction; Markdown evidence is source/GFM parsing, not a browser screenshot. These limits follow the light-only review contract. Disk remained above the 20 GiB floor (262 GiB initially; 253 GiB at final test checkpoint). Next owner: author #13 for the one-row move; TALE-359 reviewer/merger for repaired-head verification and terminal green exact-head CI. No merge, push, implementation edit, card move, or native-review decision by this run. |
Deleting a credential another session already deleted now closes the confirmation without a failure toast, so the box no longer expects settings.credentials.deleteFailed there.
57e8b8b to
a9a79e7
Compare
What changed
CREDENTIAL_NOT_FOUNDin the shared credential row-action delete handler as an already-completed deletion: quietly close confirmation, without a failure toast or failure log.Verification
bun run lint:manualandgit diff --check: pass.credential-table.tsx, test setup and existing ambient declarations, with transitive imports; zero diagnostics. Heap capped at 2560 MiB. No whole-workspace typecheck or platform suite.Local component tests ran on Node 24.14.0 because this sandbox has no Node on PATH and Bun's Vitest execution failed at the Zod import before collecting tests. One frozen dependency install; caches remain inside this task's checkout.
Limits / handoff
Light-only manager authorization: no local stack, browser, E2E or container build. Browser observation is not claimed. No markup, locale strings, authorization rules, backend semantics or infrastructure changed. Independent review requested separately on TALE-359; no self-acceptance, merge or task-status move.
Closes #4081
Exact-head CI result
At
ead685dc691c563a0d6b42dea4a0e026c9ae9ffa,gh pr checks --watchcompleted with exit 0: 50 success, 12 intentionally skipped, 1 neutral Trivy; no failed/pending checks. Playwright annotations were inspected: runner-image migration notices only, no retry-diagnostics notice or failure/retry report artifacts. Distinct review is requested but remains pending; implementation does not self-accept or merge.