Skip to content

fix: handle upstream DHCP relay deprecation from systemd v261-rc1#441

Merged
SJrX merged 1 commit into
242.xfrom
issue-440
May 23, 2026
Merged

fix: handle upstream DHCP relay deprecation from systemd v261-rc1#441
SJrX merged 1 commit into
242.xfrom
issue-440

Conversation

@SJrX
Copy link
Copy Markdown
Owner

@SJrX SJrX commented May 23, 2026

Summary

  • Restores green CI by reacting to upstream systemd v261-rc1 commits cb2bba6b04 (deprecated RelayTarget/RelayAgentCircuitId/RelayAgentRemoteId in [DHCPServer] and removed config_parse_dhcp_server_relay_agent_suboption) and 1a75eb7d8b (added the replacement [DHCPRelay] section, v261-rc1+ only).
  • Removes the now-orphaned validator class/registration, marks the deprecated keys in undocumentedSectionToKeywordMap.json with version-aware wording so v260 users aren't steered toward a section they don't have, and bumps the OptionValueTest burn-down startingCount 612 → 619 for ~1 week of buffer.

Resolves #440.

Test plan

  • SemanticDataDocumentationCompletionTest passes
  • SemanticDataRepositoryTest passes
  • OptionValueTest passes
  • Full test suite passes (./gradlew test -x generateDataFromManPages, 1016 tests)
  • Verify CI is green on the PR

Notes

  • The deprecated keys are real and well-established (added 2021-03 and 2021-04). The replacement [DHCPRelay] section was added 2026-05-03 and is only in v261-rc1 (tagged 2026-05-22) — not in v260.1 stable. The deprecation description reflects that so v260 users aren't told to migrate to a section that doesn't exist on their systemd.
  • Burn-down bump is +7 (not +1) because the threshold caught up to the missing count naturally; +1 would have failed again tomorrow. The burn-down still continues at 1/day from the new baseline.
  • Unrelated: ./gradlew generateDataFromManPages fails locally with Could not find method getXsltTransformer() after the recent Gradle 9.x compat work in fff9c2e — not addressed here, may want a follow-up.

🤖 Generated with Claude Code

…solves #440)

Upstream commit cb2bba6b04 (v261-rc1) removed config_parse_dhcp_server_relay_agent_suboption
and deprecated RelayTarget/RelayAgentCircuitId/RelayAgentRemoteId in [DHCPServer], dropping
their man-page entries. A companion commit 1a75eb7d8b introduced a replacement [DHCPRelay]
section, but only in v261-rc1+.

- Remove the now-orphaned config_parse_dhcp_server_relay_agent_suboption validator class
  and registration (no gperf entry references it anymore).
- Mark the three deprecated keys in undocumentedSectionToKeywordMap.json with version-aware
  wording so v260 users aren't steered toward a section that doesn't exist on their systemd.
- Bump OptionValueTest burn-down startingCount 612 -> 619 for ~1 week of buffer; the
  burn-down naturally caught up to the missing-validator count.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Test Results

1 014 tests   1 014 ✅  43s ⏱️
  246 suites      0 💤
  246 files        0 ❌

Results for commit 28ecc65.

@SJrX SJrX merged commit 6241d15 into 242.x May 23, 2026
4 checks passed
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.

Test failures from upstream systemd v261-rc1 DHCP relay refactor

1 participant