Skip to content

fix(objectql)!: a write refused after its before* hook wrote through ctx.api rolls that hook's write back #50505

fix(objectql)!: a write refused after its before* hook wrote through ctx.api rolls that hook's write back

fix(objectql)!: a write refused after its before* hook wrote through ctx.api rolls that hook's write back #50505

Triggered via pull request November 17, 2026 03:29
Status Success
Total duration 2m 7s
Artifacts –

pr-automation.yml

on: pull_request
Check PR Size
32s
Check PR Size
Check Changeset
2m 4s
Check Changeset
Auto Label
12s
Auto Label
Fit to window
Zoom out
Zoom in

Annotations

4 notices
Check PR Size
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Auto Label
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Check Changeset: .changeset/34412-before-hook-side-write-unit.md#L0
ADR-0087 exemption (no-migration-prescription): No metadata moves: no spec key, authorable spelling, export or stored shape is removed, renamed or re-shaped, so there is nothing for `objectstack migrate meta` to rewrite. A hook that loaded before keeps its authored shape. What changes is the meaning of a declared `before*` hook: the write door now opens its unit of work for it, so the hook's `ctx.api` writes roll back with a refused write and the rules of any unit apply on more objects. The other categories are closed on facts: the package publishes (not unpublished); no ADR-0087 id is named or touched (not registered or already-registered); and no exported declaration is removed or narrowed (not runtime-interface-only or type-surface-only).
Check Changeset
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"