Skip to content

Pin XML and JSON report timestamps - #122

Open
Bencodes wants to merge 1 commit into
masterfrom
deterministic-report-timestamps
Open

Bencodes wants to merge 1 commit into
masterfrom
deterministic-report-timestamps

Conversation

@Bencodes

@Bencodes Bencodes commented Nov 8, 2026

Copy link
Copy Markdown
Member

PMD writes the wall-clock run time into XML and JSON reports, so identical inputs produced different outputs on every rebuild. The wrapper now pins the report timestamp to 1970-01-01T00:00:00.000 (alongside the existing SARIF path fix). Adds a JSON integration test and checks the pinned value for XML and JSON.

PMD writes the wall-clock run time into XML and JSON reports, so identical
inputs produced byte-different outputs. Pin it to the epoch in the wrapper.
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