Skip to content

Reapply "Merge pull request #13741 from xokdvium/toml-timestamps"#13883

Merged
Mic92 merged 2 commits intoNixOS:masterfrom
xokdvium:toml-timestamps-reapply
Sep 1, 2025
Merged

Reapply "Merge pull request #13741 from xokdvium/toml-timestamps"#13883
Mic92 merged 2 commits intoNixOS:masterfrom
xokdvium:toml-timestamps-reapply

Conversation

@xokdvium
Copy link
Contributor

Motivation

This reverts commit 75740fb. The offending tests have been fixed in nixpkgs (NixOS/nixpkgs#433710). Backports of the original PR (#13741) have been merged since. This cherry-picks a test for the error (thanks @emilazy).

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

xokdvium and others added 2 commits September 1, 2025 01:26
This adds regression tests for fromTOML overflow/underflow behavior.
Previous versions of toml11 used to saturate, but this was never an
intended behavior (and Snix/Nix 2.3/toml11 >= 4.0 validate this).

(cherry picked from Lix [1,2])

[1]: https://git.lix.systems/lix-project/lix/commit/7ee442079dfbae4fe2d2fbb91a7226b87251cd65
[2]: https://git.lix.systems/lix-project/lix/commit/4de09b6b5493db4bd7f6348255a1fdcb38b9ed2f
@xokdvium xokdvium requested review from Ericson2314 and Mic92 August 31, 2025 22:55
@xokdvium xokdvium requested a review from edolstra as a code owner August 31, 2025 22:55
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Aug 31, 2025
@Mic92 Mic92 enabled auto-merge September 1, 2025 07:12
@Mic92 Mic92 merged commit fea4a29 into NixOS:master Sep 1, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants