You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
datasource edit that changes the driver: the kernel carry-forward stores the old driver's credential on the new config while the pool is built without it #39737
Source: dev reports 7415555005 and 7417607627 on #39398 (PR #39676), out-of-scope finding; the delta contract review 7418558640 on #39676 asks that it be filed.
Filing gate: ① a defect the work surfaced.
What happens
An edit through the Setup datasource door (PATCH /api/v1/datasources/{name}) that changes driver on a legacy row holding an inline credential now stores through the kernel save, which happens after #39676. The kernel's carry-forward (planCarryForward, packages/metadata-protocol/src/metadata-redaction.ts) does not compare drivers, so it grafts the old driver's stored credential onto the new driver's config. The door's own restoreRedactedConfig skips a driver change, so the pool is built without that credential while the stored row holds it. The row at rest and the live pool disagree until the next restart. After the restart the new driver may connect with a credential meant for another driver.
The carry-forward rule predates #39676 and the /meta door already reaches it. It is new to the Setup door because #39676 routes the door's edits through the kernel save.
Read, not run.
Expected
A driver change does not carry a withheld credential from one driver's config to another's. The stored row and the pool agree. This can be done either by dropping and naming the position, or by carrying it only when the driver is unchanged. Pin it on the real save and at the door, reading the row at rest.
Triage: lands in area:data · domain:server · Bug · p2 · pm:blocked · size S, touched 2026-12-04T18:13Z. Rationale: a datasource edit that changes the driver leaves the stored row and the live pool disagreeing about the connection settings until restart. A stored value is wrong, but only on the rare configuration of a driver change on a legacy inline-credential row, so p2 (docs/NORTH-STAR.md grade table, last column). Datasources land in data. Read, not run; the claimant pins it on the real save and at the door. pm:blocked until Blocked-by: #39676 (PR #39676) lands. The security seat is asked separately whether the security table applies; this audit sets no security grade. Issue type set to Bug.
Grade: p2 · size S · unblocks when PR #39676 merges.
Unlock 2026-12-05T00:23Z: Blocked-by: #39676 holds no more. PR #39676 merged as 79d7153141. No other Blocked-by: line is on the card or its comments. pm:blocked → pm:queue; the grade stays p2 (data Bug; the security seat confirmed it is not a security matter).
Activity
objectstack-fleet commentedon Dec 4, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:data · domain:server · Bug · p2 · pm:blocked · size S, touched 2026-12-04T18:13Z. Rationale: a datasource edit that changes the driver leaves the stored row and the live pool disagreeing about the connection settings until restart. A stored value is wrong, but only on the rare configuration of a driver change on a legacy inline-credential row, so p2 (
docs/NORTH-STAR.mdgrade table, last column). Datasources land in data. Read, not run; the claimant pins it on the real save and at the door.pm:blockeduntilBlocked-by: #39676(PR #39676) lands. The security seat is asked separately whether the security table applies; this audit sets no security grade. Issue type set to Bug.Grade: p2 · size S · unblocks when PR #39676 merges.
objectstack-fleet commentedon Dec 5, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Unlock 2026-12-05T00:23Z:
Blocked-by: #39676holds no more. PR #39676 merged as79d7153141. No otherBlocked-by:line is on the card or its comments.pm:blocked→pm:queue; the grade stays p2 (data Bug; the security seat confirmed it is not a security matter).