Repository navigation
fix(platform): preserve OIDC claim mappings on save - #4212
Conversation
|
Independent verdict: request changes (recorded as comment because this credential cannot formally review its own PR).\n\nExact head reviewed: . The implementation source path is directionally correct: it seeds and includes in the OIDC upsert, while the backend still distinguishes omitted mappings from an explicit empty object.\n\nBlocking finding: the new Generic OIDC regression test itself fails under installed Node. The connected fixture omits from the read view and defaults to , so Save stays disabled and is called 0 times. Evidence: at this head: 1 failed, 39 passed, failure at . On , the same full SSO form file passed 39/39 (the new regression is absent). Targeted Oxlint and pass.\n\nCI was read fresh: all five checks remain pending; no rerun or cancellation. Please seed the revealed client ID in the new test (or otherwise make the connected fixture saveable) and rerun the focused suite. No secret was exposed; no IdP, browser, E2E, stack, container, or production test was run. |
|
Correction to the immediately preceding comment: shell quoting mangled inline backticks in that comment. The authoritative verdict is below. Independent verdict: request changes (recorded as a comment because this credential cannot formally review its own PR). Exact head reviewed: Blocking finding: the new Generic OIDC regression test itself fails under installed Node. The connected fixture omits CI was read fresh: all five checks remain pending; no rerun or cancellation. Please seed the revealed client ID in the new test (or otherwise make the connected fixture saveable) and rerun the focused suite. No secret was exposed; no IdP, browser, E2E, stack, container, or production test was run. |
A stored connection's view omits the client id and the form requires it, so Save stayed disabled and the save never reached upsertOidc. Seed the reveal and wait for Save to enable, as the sibling save tests do.
c4e074d to
bf1d158
Compare
The v0.5.89 notes said the upgrade needs no database migration or manual configuration change and described only the native CLI fix. The release adds migration 0204_usage_ledger_provider.sql, moves the API contract from 3.43.0 to 3.44.0, and turns coding-agent sign-in on by default, although the v0.5.88 notes said it stays off unless an operator turns it on. The Upgrade notes now name the migration, applied at boot, and the contract version. They say that sign-in is on by default, which public surfaces that opens, what it needs, and the two switches that keep agents on API keys, with a pointer to the v0.5.90 notes that repeat it. They also name what else asks something of an operator: the two sandbox settings of #4169 that behave differently, the model-access rules without a target that block model-access changes since #4216, and the OIDC claim mappings that form saves before #4212 removed. The Highlights add agent sign-in, the Connected agents settings page, trigger readiness in the automations list and agent runs in a task's activity. A last bullet says the notes were corrected after publication. The published Release body is not changed by this commit; a person edits it. Closes #4970 Task: TALE-199
The v0.5.89 notes said the upgrade needs no database migration or manual configuration change and described only the native CLI fix. The release adds migration 0204_usage_ledger_provider.sql, moves the API contract from 3.43.0 to 3.44.0, and turns coding-agent sign-in on by default, although the v0.5.88 notes said it stays off unless an operator turns it on. The Upgrade notes now name the migration, applied at boot, and the contract version. They say that sign-in is on by default, which public surfaces that opens, what it needs, and the two switches that keep agents on API keys, with a pointer to the v0.5.90 notes that repeat it. They also name what else asks something of an operator: the two sandbox settings of #4169 that behave differently, the model-access rules without a target that block model-access changes since #4216, and the OIDC claim mappings that form saves before #4212 removed. The Highlights add agent sign-in, the Connected agents settings page, trigger readiness in the automations list and agent runs in a task's activity. A last bullet says the notes were corrected after publication. The published Release body is not changed by this commit; a person edits it. Closes #4970 Task: TALE-199
What changed
Verification
z.numberis undefined inpackages/shared/src/schemas/epoch-ms.ts.Closes #3669