Skip to content

Update data file format#1247

Merged
marc-vanderwal merged 1 commit into
zonemaster:developfrom
marc-vanderwal:chore/test-data-file-update
Jun 10, 2026
Merged

Update data file format#1247
marc-vanderwal merged 1 commit into
zonemaster:developfrom
marc-vanderwal:chore/test-data-file-update

Conversation

@marc-vanderwal

Copy link
Copy Markdown
Contributor

Purpose

This PR regenerates the t/*.data files used in the test suite of Zonemaster-Backend.

Context

Follow-up to zonemaster/zonemaster-engine#1517.

Changes

  • Regenerate the t/*.data files in the new CBOR format
  • Adjust the logic slightly around the handling of ZONEMASTER_RECORD=1 in the corresponding t/*.t files
  • Update the DS keytag and digest of the .fr KSK because the Internet changed

How to test this PR

Unit tests should pass.

Changes to the cache file format in Zonemaster::Engine require
regeneration of some data files in use by the test suite in
Zonemaster-Backend.

There also was a small mistake in the logic that decides whether to
save or restore data from the corresponding data files. Restoration
should not be attempted if ZONEMASTER_RECORD=1 is not set in the
environment, and likewise, the data files should not be written to if
that same variable isn’t in the environment.
@marc-vanderwal marc-vanderwal added this to the v2026.1 milestone Jun 9, 2026
@marc-vanderwal marc-vanderwal added P-High Priority: Issue to be solved before other RC-None Release category: Not to be included in Changes file. labels Jun 9, 2026
@mattias-p mattias-p mentioned this pull request Jun 9, 2026
@matsduf matsduf added the V-Patch Versioning: The change gives an update of patch in version. label Jun 9, 2026
@mattias-p mattias-p mentioned this pull request Jun 9, 2026
@marc-vanderwal marc-vanderwal merged commit a0e5c08 into zonemaster:develop Jun 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P-High Priority: Issue to be solved before other RC-None Release category: Not to be included in Changes file. V-Patch Versioning: The change gives an update of patch in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants