Skip to content

test: pin the NVCNT bump-last ordering in confirm - #24

Merged
0xEthamin merged 1 commit into
mainfrom
test/confirm-nvcnt-order
Aug 23, 2026
Merged

test: pin the NVCNT bump-last ordering in confirm#24
0xEthamin merged 1 commit into
mainfrom
test/confirm-nvcnt-order

Conversation

@0xEthamin

Copy link
Copy Markdown
Member

Updater::confirm clears the pending record before it bumps NVCNT. Moving the bump first leaves every suite green while opening a brick window: a cut between a raised NVCNT and a record still Armed lets the boot stage auto-revert to an old image now below the anti-rollback floor.

Two fault-injection tests pin the order from both cut points, using the FaultPoint machinery that already exists.

Updater::confirm clears the pending record before it bumps NVCNT. Moving
the bump first leaves every suite green while opening a brick window: a cut
between a raised NVCNT and a record still Armed lets the boot stage
auto-revert to an old image now below the anti-rollback floor.

Two fault-injection tests pin the order from both cut points, using the
FaultPoint machinery that already exists.
@0xEthamin
0xEthamin merged commit 5bca8e0 into main Aug 23, 2026
13 checks passed
@0xEthamin
0xEthamin deleted the test/confirm-nvcnt-order branch August 23, 2026 16:07
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