Skip to content

Improve derivation "advanced attrs" test, fix almost-bug (backport #13032)#13033

Merged
mergify[bot] merged 2 commits into2.28-maintenancefrom
mergify/bp/2.28-maintenance/pr-13032
Apr 15, 2025
Merged

Improve derivation "advanced attrs" test, fix almost-bug (backport #13032)#13033
mergify[bot] merged 2 commits into2.28-maintenancefrom
mergify/bp/2.28-maintenance/pr-13032

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 15, 2025

Motivation

See each commit for details. I changed the tests to perhaps catch the bug. That the tests didn't need to be updated again proved there was no bug, but it was close!

Context


Add 👍 to pull requests you find important.

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


This is an automatic backport of pull request #13032 done by [Mergify](https://mergify.com).

@mergify mergify bot requested review from Ericson2314 and edolstra as code owners April 15, 2025 17:09
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) conflicts merge-queue labels Apr 15, 2025
@mergify

This comment was marked as resolved.

@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Apr 15, 2025
…alues

We had fields set to the same values before in our test data. This is
not a problem per-se, but does mean we wouldn't catch certain mixups.
Now, the fields are set to distinct values (where possible), which makes
the test more robust.

(cherry picked from commit a0b2b75)
This was almost a bug! It wasn't simply because another assignment would
clobber it later.

(cherry picked from commit 32409dd)
@Ericson2314 Ericson2314 force-pushed the mergify/bp/2.28-maintenance/pr-13032 branch from a0313ca to 29ae141 Compare April 15, 2025 18:28
@mergify mergify bot merged commit 8a7b8dc into 2.28-maintenance Apr 15, 2025
27 checks passed
@mergify mergify bot deleted the mergify/bp/2.28-maintenance/pr-13032 branch April 15, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automatic backport This PR is a backport produced by automation (does not trigger backporting) conflicts merge-queue 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.

1 participant