Skip to content

feat(panelica): fulfil dedicated IPv4 add-ons - #523

Merged
Panelica merged 4 commits into
Panelica:mainfrom
hedon77:feat/panelica-dedicated-ipv4
Nov 30, 2026
Merged

Panelica merged 4 commits into
Panelica:mainfrom
hedon77:feat/panelica-dedicated-ipv4

Conversation

@hedon77

@hedon77 hedon77 commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • implement ServiceAddonModuleInterface for the Panelica hosting module for one dedicated IPv4 per add-on
  • apply selects a free IPv4, records it before the remote write, assigns it through PATCH /v1/accounts/{id} with ip_address_ids, and retries idempotently
  • removal unassigns only the address recorded for the applied execution; primary and other-account addresses are left for manual review
  • add EN/PL/DE/TR/ZH messages and developer documentation

Product add-on configuration

fulfillment_module = panelica
operation          = increment
parameter          = dedicated_ipv4
value              = 1
unit               = (empty)
auto_fulfill       = on

Tests

  • PanelicaDedicatedIpv4Test: 6 passed
  • AddonExecutorTest + AddonExecutorIntegrationTest + IPv4 tests: 61 passed / 234 assertions
  • all Panelica* feature tests: 355 passed / 1256 assertions

Also corrects the existing no-auto-resume executor test: its DB::afterCommit job is not visible inside the test transaction, so the assertion must remain assertNothingPushed().

No production deployment; DEV only.

@Panelica
Panelica merged commit e73df87 into Panelica:main Nov 30, 2026
1 check passed
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.
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.

2 participants