Skip to content

Prototype fix for emberjs#19287: defer dynamic attribute updates to commit - #36

Open
johanrd wants to merge 1 commit into
todo-test-gh19287from
prototype-fix-gh19287-generic
Open

Prototype fix for emberjs#19287: defer dynamic attribute updates to commit#36
johanrd wants to merge 1 commit into
todo-test-gh19287from
prototype-fix-gh19287-generic

Conversation

@johanrd

@johanrd johanrd commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Prototype for emberjs#19287 (see also the todo-test PR emberjs#21529).

Defers every dynamic attribute update at the opcode site through the env transaction, flushed at the top of TransactionImpl.commit() — after the tracking transaction has closed, mirroring how modifier install/update is already scheduled. No name-specific behavior added (deliberately; see emberjs#21344 for why the attribute layer needs fewer per-name special cases, not more).

Verification: full browser suite green (9436 tests, 0 failures), tsc --noEmit clean, the GH#19287 repro passes as @test.

@johanrd
johanrd changed the base branch from main to todo-test-gh19287 July 27, 2026 09:36
Defer every dynamic attribute update at the opcode site through the env
transaction and flush at the top of commit(), after the tracking
transaction has closed -- mirroring how modifier install/update is already
scheduled. No name-specific behavior added. Flips the GH#19287 repro from
@todo to a passing @test. Full suite: 9436 tests, 0 failures. tsc clean.
@johanrd
johanrd force-pushed the prototype-fix-gh19287-generic branch from 2895347 to 829a6f7 Compare July 27, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant