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
Commit cc8da2b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(runtime): an addressed `/automation/:ns/:name/(runs|trigger)` route under a verb it does not serve answers the automation domain, as its bare path does
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
On the standalone server (the dispatcher plugin on an HTTP adapter), an address is served exactly as its bare path (ADR-0150 D5), but a verb the route is not served under was answered differently on the two. `DELETE /api/v1/automation/send_digest/runs` answered the automation domain's `405` with `Allow: GET` in the dispatcher's envelope, and `401 UNAUTHENTICATED` to an anonymous caller. `DELETE /api/v1/automation/crm/send_digest/runs` answered the transport's `405` with `Allow: GET, HEAD` and an `error.details` envelope, to an anonymous caller too. The same held for `POST` / `PUT` on the addressed `/runs`, `GET` on `/automation/NS/NAME/trigger` and `GET` on `/automation/trigger/NS/NAME`.
11
+
12
+
The dispatcher now declares those three addressed shapes as routes whose domain decides every verb, as it already did for their bare two-segment shapes. Each of them answers an anonymous caller `401`, and a signed-in caller the domain's `405` with the verbs the route serves (`Allow: GET` for `/runs`, `Allow: POST` for both triggers) in the dispatcher's envelope. A served verb on an address (`GET .../runs`, `POST .../trigger`) is unchanged, and so is a three-segment path whose first segment is no installed namespace: under an unserved verb it now answers the dispatcher's `404 ROUTE_NOT_FOUND`, as the same path does under `GET`.
docs(spec): the `HttpConfigSchema.method` TSDoc says how a durable `http` node's verb is resolved, without quoting removed code
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
The TSDoc on `method` in `io-node-config.zod.ts` quoted two `??` spellings the `http` node executor no longer has. It now says that a durable node with no `method` sends `POST`, whether through the messaging HTTP outbox or on the no-outbox fallback, and that the executor resolves the verb once from the authored `method` and `durable`. The schema itself is unchanged.
fix(service-automation)!: a trigger binding does not dispatch a slot whose package is disabled (ADR-0150 D3)
6
+
7
+
Clause-②: no (narrowing)
8
+
Metadata-protocol: none
9
+
10
+
<!-- adr-0087: not-required (no-migration-prescription) No key of any schema is added, removed, renamed or re-shaped, and no export changes shape. The moved answer is a trigger-fired run under a reversible package state: no stored row, slot key, run key, trigger binding or dispatch key changes, so there is nothing for a migration to rewrite and no tombstone. -->
11
+
12
+
**BREAKING** for a deployment where two packages each ship a flow of the same name and one of them is disabled at runtime: that package's flow no longer runs on its trigger (record-change, schedule, time-relative, or an api inbound hook's queued post). Before this release it kept running.
13
+
14
+
When two packages each ship a flow of the same name, the engine holds one slot per package and arms each slot's trigger. Until now a slot whose package was disabled at runtime kept running on its trigger, because the run a trigger fires executed the armed slot without asking whether its package is still served.
15
+
16
+
Now the engine asks when the trigger fires. While the slot's package is disabled, the run is skipped: nothing runs, no other package's flow of the name runs in its place, and no run-history row is written. The skip is logged once at `info` per slot while the package stays disabled. When the package is enabled again, the slot runs on its trigger again, with no re-arm.
17
+
18
+
An event that fires while the package is disabled is dropped, not replayed when the package is enabled again: a one-shot schedule or time-relative fire that falls inside the disable is lost, as it is for a switched-off flow.
19
+
20
+
Nothing durable moves: slot keys, run keys, the trigger bindings and the dispatch holder stay judged over every holder, so there is nothing to migrate. A flow name only one package ships answers as before.
Copy file name to clipboardExpand all lines: docs/qa/platform-checklist/areas/identity-auth.json
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3529,7 +3529,7 @@
3529
3529
"title": "Sign-out leaves none of the signed-out user's browser state and no return link, while a session that ended on the server sends the next in-app navigation to sign-in with its return link",
3530
3530
"since": "v18.4",
3531
3531
"status": "active",
3532
-
"revision": 2,
3532
+
"revision": 3,
3533
3533
"priority": "P1",
3534
3534
"surface": "browser",
3535
3535
"personas": [
@@ -3554,8 +3554,8 @@
3554
3554
{
3555
3555
"clause": "sign-out sweeps both stores down to the device keys before the sign-in page shows",
3556
3556
"oracle": "dom",
3557
-
"verify": "after sign-out both stores hold only keys from the kept set: auth-session-token, auth-session-user-id, vite-ui-theme, objectui-locale and objectui-locale-seed; qa-probe-<run> and every objectui:metadata:* key are gone from both (ui/packages/auth/src/ActiveOrganizationStorage.ts#purgeSignedOutUserClientState, run by ui/packages/auth/src/AuthProvider.tsx#AuthProvider on every sign-out path)",
3558
-
"evidence": "the two key lists before and after"
3557
+
"verify": "after sign-out no key the signed-out user's session wrote survives in either store (the same test as negative[1]): every key left is in the kept set (SIGNED_OUT_KEPT_KEYS: auth-session-token, auth-session-user-id, vite-ui-theme, objectui-locale, objectui-locale-seed and objectui:auth:signed-out-via-provider) or is anonymous-shell state that a never-signed-in visit to /_console/login writes too, which today is exactly flow-palette-recents holding [] (the unscoped key ui/packages/app-shell/src/context/FlowPaletteRecentsProvider.tsx#FlowPaletteRecentsProvider writes when it re-hydrates with no user after the sweep); qa-probe-<run>, every objectui:metadata:* key and every user-scoped :u:<id> key are gone from both, and flow-palette-recents holding anything but [] is the signed-out user's. A key outside both lists is judged against a fresh never-signed-in context opening /_console/login: written there with the same value, it is anonymous-shell state to name in the run record for this verify to list; otherwise it is a FAIL (ui/packages/auth/src/ActiveOrganizationStorage.ts#purgeSignedOutUserClientState, run by ui/packages/auth/src/AuthProvider.tsx#AuthProvider on every sign-out path)",
3558
+
"evidence": "the two key lists before and after, with the value of every key outside the kept set"
3559
3559
},
3560
3560
{
3561
3561
"clause": "an explicit sign-out carries no return link, so the next person lands on their own home",
@@ -3603,6 +3603,12 @@
3603
3603
"date": "2026-11-14",
3604
3604
"change": "acceptance[1].verify re-pointed (stale spec, QA run #32953, card body of #32908; ledger row 41). After sign-in without a redirect the console resolves the root landing (RootLandingRedirect.tsx), which on the showcase is the member's app, not /home. What the clause tests, no carry-over of the admin's record, is unchanged. Read at base 82838e83",
3605
3605
"ref": "#33328"
3606
+
},
3607
+
{
3608
+
"revision": 3,
3609
+
"date": "2026-11-15",
3610
+
"change": "acceptance[0].verify re-pointed (stale spec, QA run #33853, card #33859). The verify listed the kept keys as the only keys allowed after sign-out, but the anonymous login page writes its own flow-palette-recents = [] (FlowPaletteRecentsProvider re-hydrates with no user after the purge and saves the unscoped key); a never-signed-in visit writes the same. The verify now judges keys the signed-out user's session wrote, as negative[1] does, names that anonymous-shell key with its value, adds objectui:auth:signed-out-via-provider to the kept list as SIGNED_OUT_KEPT_KEYS has it, and has the runner diff any other unlisted key against a fresh anonymous visit. What the clause tests, no signed-out user's state left behind, is unchanged. Read at base 895783a1",
Copy file name to clipboardExpand all lines: packages/objectql/src/package-scoped-exact-qualifier.test.ts
+81Lines changed: 81 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1276,6 +1276,87 @@ describe('[#31699 F2] a pair member row two holders could own is refused on both
1276
1276
});
1277
1277
});
1278
1278
1279
+
/**
1280
+
* [#33817, from #33131 N1] A package X of an App holds the name only through
1281
+
* its own stored row (`package_id` X, hydrated into the bare slot), and that
1282
+
* holding is a bundle ADDITION to a holder D: D ships the name, D is in X's
1283
+
* declared dependency closure and outside X's App (a module of another App),
1284
+
* and X's row carries a member D does not ship. The App's customization pair
1285
+
* stores an undeclared row of another member. The review read (PR #33220, N1)
1286
+
* predicted that X's scoped list leaves the pair row out while X's exact read
1287
+
* admits X and serves it.
1288
+
*
1289
+
* MEASURED on `main` 1e65a389 with this fixture, both registration orders:
1290
+
* they DISAGREE, as predicted. `packageScopedHoldersOf` with no caller drops X
1291
+
* (an addition to D), so the list's `holdsNameForExactRead` is false and X's
1292
+
* list and execution list leave the row out; X's exact read admits X (asked
1293
+
* as the caller it names), the registry binds the row to X
1294
+
* (`overlayRowBinding`), and `?package=X&member=de-DE` serves it. This pin
1295
+
* records the cells as they are today; the route (which side moves) is the
1296
+
* card's open question, so the fix flips the side it decides.
1297
+
*/
1298
+
describe('[#33817] a package holding the name only through a stored row that is a bundle addition to a closure dependency outside its App: its exact read serves the App pair\'s undeclared row, its scoped list leaves it out (measured, unresolved)',()=>{
1299
+
constAPP='com.acme.suite';
1300
+
constX='com.acme.suitex';
1301
+
/** D's own App: D is a module of another App, so it is outside X's (X then has one App, APP). */
it.each([['holding first',true],['pair row first',false]]asconst)('X\'s exact read serves the pair\'s undeclared de-DE row; X\'s list and execution list leave it out (%s)',async(_order,holdingFirst)=>{
0 commit comments