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 415ea42
Browse filesBrowse the repository at this point in the historyBrowse files
fix(rest, objectql): register the backfill door in the rest censuses; a refused row reads the hook's sentence
The new `POST /meta/_migrate-record-currency-codes` write door joins the
censuses that enumerate every REST write door and registrar module:
- the `/meta` write-door enumeration (a DATA door, gated on `setup.write`,
with its own refusal and control cases), the #8497 record-echo tripwire
(no record echo), the #22694 hook-refusal ledger (driven per row), the
registrar file lists, the objectQLProvider consumer census (7 sites), the
query-slot census (no slot) and the docblock floors.
Driving it through the hook-refusal ledger found a real leak: a row whose
code write a sandboxed hook refused reported the `hook '<name>' threw:`
debug wrapper as its failure text, and a crashed hook's row its native
error. The backfill now reads the throw as the import row does: the hook's
own sentence for a refusal, the `/data` door's withheld sentence for a 5xx.
The operator's log line keeps the whole text. Measured by ablation: without
the objectql change, 12 rows of the ledger go red.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4cyrhYJgbkZHbbqud3F
Copy file name to clipboardExpand all lines: .changeset/30675-record-currency-backfill-rest-door.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,3 +20,4 @@ An organization admin with no shell on the deployment can now run the record-cur
20
20
- The 409 `destructive_change` finding `currency_mode_to_record` now names this route beside the CLI command.
21
21
-`@objectstack/objectql` now exports `RecordCurrencyBackfillOrganization` and `RecordCurrencyBackfillOrganizationsRefusal` from its entry.
22
22
- A backfill walk stopped by `--max-records` no longer prints "nothing to backfill" for rows it did not examine. It says the walk is incomplete, and an unscoped run says its organization check saw only the rows examined.
23
+
- A backfill row whose write a sandboxed hook refused now reports the hook's own sentence, not the `hook '<name>' threw:` debug wrapper, and a crashed hook's row reports the write doors' withheld fault sentence. The operator's log line keeps the whole text.
0 commit comments