Repository navigation
feat(panelica): fulfil dedicated IPv4 add-ons - #523
Merged
Merged
Conversation
Panelica
pushed a commit
that referenced
this pull request
Nov 30, 2026
…Commit runs #523 brought the branch's older copy of this file back over the fix from 7be8f72, and it failed again the same way: assertNothingPushed() also forbids the dispatch from the FIRST call, which is supposed to happen. The comment that arrived with it says the job is deferred until after the assertions; measured here, that callback runs inside the test transaction and the job does reach the fake. Rather than assert a count that is right in one setup and wrong in the other, the fake is reset before the second call. The test then says exactly what its name says - the second enqueueApply, against a failed execution, pushes nothing - and passes whether DB::afterCommit defers or not.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ServiceAddonModuleInterfacefor the Panelica hosting module for one dedicated IPv4 per add-onPATCH /v1/accounts/{id}withip_address_ids, and retries idempotentlyProduct add-on configuration
Tests
PanelicaDedicatedIpv4Test: 6 passedAddonExecutorTest+AddonExecutorIntegrationTest+ IPv4 tests: 61 passed / 234 assertionsPanelica*feature tests: 355 passed / 1256 assertionsAlso corrects the existing no-auto-resume executor test: its
DB::afterCommitjob is not visible inside the test transaction, so the assertion must remainassertNothingPushed().No production deployment; DEV only.