Commit graph

1,007,583 commits

Author SHA1 Message Date
Aliaksandr
926237f642 ci/github-script/merge: share reviews fetch with bot.js, drop events
`bot.js` already pulls reviews via GraphQL for the approval-count
labels. Move that fetch above the `handleMerge` call, add `commit
{ oid }` to the query, and pass the result through. `handleMerge` no
longer issues its own `listReviews` REST call.

While here, the `approvals` set is now derived from the same reviews
data. Two upsides:

- A reviewer who approved and was later dismissed no longer counts
  towards the approval check; their review now surfaces with state
  DISMISSED instead of leaving a stale `reviewed` event behind.
- `events` is no longer needed by `runChecklist` (it was only feeding
  the approvals filter); the parameter is dropped from both call
  sites. `handleMerge` still uses `events` for tracking the latest
  push and merge-command comments.

Also drop the redundant `user` truthy checks (and the stale "some
users have been deleted" comment) in `runChecklist`. The GraphQL
query uses `author { ... on User { login id } }` and bot.js then
filters via `r.user?.login`, so by the time reviews reach
`runChecklist` every entry already has a populated `user`. Verified
by querying real PRs: bots surface as `{__typename: "Bot"}` (no
`login`/`id`, filtered out by bot.js), and deleted accounts surface
as the "ghost" user (login `"ghost"`, id `10137`), which passes the
filter but matches no committer - harmless for both checks.

Assisted-by: claude-code with claude-opus-4-8[1m]-high
(cherry picked from commit 0c1c3d4813)
2026-06-25 17:10:54 +00:00
Aliaksandr
e934e8a364 ci/github-script/merge: clarify Auto Merge follow-up tip
The previous tip ("Sometimes GitHub gets stuck after enabling Auto
Merge") didn't explain why nothing happens immediately after the bot's
"Enabled Auto Merge" reply, leaving maintainers unsure whether to wait
or intervene. Spell out that Auto Merge waits for required CI before
queueing, that a later CI failure leaves the PR un-queued until it is
fixed, and link to GitHub's documentation; keep the existing "leave
another approval" workaround for the rare cases where Auto Merge stalls
after CI completes.

Assisted-by: claude-code with claude-opus-4-8[1m]-high
(cherry picked from commit 6f9325fb5d)
2026-06-25 17:10:53 +00:00
Aliaksandr
86980620a2 ci/github-script/merge: refuse merge when a committer has requested changes
A "changes requested" review from a committer blocks both the merge
queue and auto-merge, but unlike approvals it isn't auto-dismissed
when new commits are pushed. Surface it as a checklist item so the
bot's reply explains the block instead of silently enabling
auto-merge that will never trigger.

Implementation pulls every review for the PR via `listReviews` and,
for each committer, takes the latest review whose state is
`APPROVED`/`CHANGES_REQUESTED`. The check fails if any committer's
latest stance is `CHANGES_REQUESTED`. Other review states fall out
naturally:

- A dismissed review surfaces as `DISMISSED`, so a committer
  dismissing their own changes-requested review unblocks the PR.
- A comment-only follow-up surfaces as `COMMENTED`, so it doesn't
  override an earlier actionable review - the prior stance still
  stands until the committer explicitly approves or requests changes
  again.

Assisted-by: claude-code with claude-opus-4-8[1m]-high
(cherry picked from commit b94b44d3f9)
2026-06-25 17:10:53 +00:00
Aliaksandr
139a66fe7e ci/github-script/merge: skip auto-merge when CI has already failed
The merge bot falls back to GitHub Auto Merge whenever the merge queue
won't accept a PR yet. That is the right move while CI is still
running, but pointless once CI has already failed: Auto Merge can never
trigger, and fixing CI requires a new push, which invalidates the merge
command anyway (the bot only acts on comments after the latest push).

Fetch the `no PR failures` commit status and, when the merge-queue
enqueue fails, branch on it. If CI has already failed
(`error`/`failure`), skip Auto Merge and reply that a fresh
`@NixOS/nixpkgs-merge-bot merge` comment is needed once CI is green
again. Otherwise (pending or missing status) enable Auto Merge as
before.

`merge()` now returns `{ reaction, messages }` so the CI-failure path
can leave a thumbs-down reaction rather than the rocket used for an
actual merge.

Closes #512554.

Assisted-by: claude-code with claude-opus-4-8[1m]-high
(cherry picked from commit da97bf8423)
2026-06-25 17:10:53 +00:00
Maximilian Bosch
9c71c7ab66
[Backport release-26.05] nextcloud: 32.0.11 -> 32.0.12, 33.0.5 -> 33.0.6 (#535312) 2026-06-25 16:52:00 +00:00
dotlambda
307d046559
[Backport release-26.05] archon-lite: init at 9.3.85 (#534358) 2026-06-25 09:53:56 -07:00
K900
40527ac4f9
[Backport release-26.05] linux: forward features into passthru (#535317) 2026-06-25 16:13:22 +00:00
Florian Klink
4576e99c1d
[Backport release-26.05] nixos/zigbee2mqtt: add RestartSec (#535302) 2026-06-25 16:05:57 +00:00
Paul Grandperrin
4606549b65 linux: forward features into passthru
build.nix accepted `features` as a parameter but discarded it, never
placing it into the derivation's passthru. The NixOS boot.kernelPackages
apply function calls kernel.override() on every evaluation, re-running
build.nix from scratch; any features added via overrideAttrs were
silently lost, causing assertions like hardware.graphics.enable32Bit
(which checks kernel.features.ia32Emulation) to always fail for
linuxManualConfig-based kernels.

Change `features ? null` to `features ? {}` and add it to passthru so
it survives override() call chains.

(cherry picked from commit 2b428514e5)
2026-06-25 15:59:48 +00:00
K900
bc5708eab4
[Backport release-26.05] pnpmConfigHook: allow opt-out (#535316) 2026-06-25 15:58:27 +00:00
K900
18b44fd7d2 pnpmConfigHook: allow opt-out
This is sometimes useful when mixing ecosystems, e.g. in buildGoModule.

(cherry picked from commit 8f26ec5602)
2026-06-25 15:51:58 +00:00
Maximilian Bosch
cb10a073bf nextcloud33: 33.0.5 -> 33.0.6
ChangeLog: https://github.com/nextcloud/server/releases/tag/v33.0.6
(cherry picked from commit bfe759a759)
2026-06-25 15:39:48 +00:00
Maximilian Bosch
023d63fc73 nextcloud32: 32.0.11 -> 32.0.12
ChangeLog: https://github.com/nextcloud/server/releases/tag/v32.0.12
(cherry picked from commit dd9d37cbdc)
2026-06-25 15:39:48 +00:00
Maximilian Bosch
5d1a3cf828
[Backport release-26.05] nextcloudPackages: update (#535292) 2026-06-25 15:23:50 +00:00
Florian Klink
8db1da774a nixos/zigbee2mqtt: add RestartSec
After a cold reboot, zigbee2mqtt didn't properly come up.
The logs showed it crashed too often too quickly, and then systemd
stopped trying to restart it due to rate-limiting.

It might be due to the network not being up yet, or the Zigbee
coordinator still booting.

Either way, with a RestartSec=10, it did come up.

(cherry picked from commit 39e3856dd8)
2026-06-25 15:08:10 +00:00
provokateurin
ee0e84e385 nextcloudPackages: update
(cherry picked from commit 3f6b9fde5e)
2026-06-25 14:25:25 +00:00
nixpkgs-ci[bot]
0fc9820ebd
[Backport release-26.05] cargo-zigbuild: 0.22.3 -> 0.23.0 (#535253) 2026-06-25 13:08:58 +00:00
nixpkgs-ci[bot]
452f7722ad
[Backport release-26.05] cargo-tarpaulin: 0.35.4 -> 0.35.5 (#535252) 2026-06-25 13:08:57 +00:00
David McFarland
5986cd945a
[Backport release-26.05] godot_4_7: init at 4.7-stable (#534983) 2026-06-25 12:45:19 +00:00
nixpkgs-ci[bot]
207cc4496c
[Backport release-26.05] tmc-cli: 1.1.2 -> 1.1.3 (#535255) 2026-06-25 12:23:46 +00:00
Antoine du Hamel
ef95a32d69
[Backport release-26.05] nodejs_26: 26.3.1 -> 26.4.0 (#535214) 2026-06-25 11:46:12 +00:00
ajs124
67c9c56f56
[Backport release-26.05] makemkv: 1.18.3 -> 1.18.4 (#535226) 2026-06-25 11:45:08 +00:00
R. Ryantm
2e1d87b279 tmc-cli: 1.1.2 -> 1.1.3
(cherry picked from commit af32b5d6aa)
2026-06-25 11:33:09 +00:00
R. Ryantm
92939309b1 cargo-zigbuild: 0.22.3 -> 0.23.0
(cherry picked from commit 48a8ded748)
2026-06-25 11:30:16 +00:00
R. Ryantm
309f2fbd82 cargo-tarpaulin: 0.35.4 -> 0.35.5
(cherry picked from commit a7b4a5492c)
2026-06-25 11:30:11 +00:00
Vincent Laporte
c8c824b412
[Backport release-26.05] rocqPackages.hierarchy-builder: 1.10.2 -> 1.10.3 (#535187) 2026-06-25 11:17:20 +00:00
Cosima Neidahl
30a28e8318
[Backport release-26.05] palemoon-bin: 34.3.0.1 -> 34.3.1 (#535220) 2026-06-25 10:49:49 +00:00
Sandro
0befeeae19
[Backport release-26.05] openafs: 1.8.15 → 1.8.16, patch for Linux kernel 7.1 (#534892) 2026-06-25 10:32:07 +00:00
XlNTARO
1a14fbacad makemkv: 1.18.3 -> 1.18.4
(cherry picked from commit 2f707eb558)
2026-06-25 10:07:45 +00:00
R. Ryantm
09f25b2a53 palemoon-bin: 34.3.0.1 -> 34.3.1
(cherry picked from commit 145397a6c5)
2026-06-25 09:52:43 +00:00
Kerstin Humm
fe2aa1ded1
[Backport release-26.05] mastodon: 4.6.0 -> 4.6.1 (#534988) 2026-06-25 09:49:53 +00:00
Martin Weinelt
1983e5453e
[Backport release-26.05] python315: 3.15.0b2 -> 3.15.0b3 (#534952) 2026-06-25 09:47:31 +00:00
Antoine du Hamel
b3de928932 nodejs_26: 26.3.1 -> 26.4.0
(cherry picked from commit d2b1d30e06)
2026-06-25 09:33:17 +00:00
Pierre Roux
41b423f061 rocqPackages.hierarchy-builder: 1.10.2 -> 1.10.3
(cherry picked from commit 45906568b2)
2026-06-25 08:26:24 +00:00
Wolfgang Walther
4062d36ebe
[Backport release-26.05] librewolf-unwrapped: 152.0.1-2 -> 152.0.2-1 (#535180) 2026-06-25 08:17:00 +00:00
Marc Bornand
13fa88967f librewolf-unwrapped: 152.0.1-2 -> 152.0.2-1
(cherry picked from commit 44fa15d9b0)
2026-06-25 07:57:45 +00:00
Paul Meyer
dfbbc8588a
[Backport release-26.05] nono: 0.53.0 -> 0.61.1 (#534940) 2026-06-25 07:33:58 +00:00
Gaétan Lepage
d3286b8c59
[Backport release-26.05] fbida: 2.14->2.15 (#535098) 2026-06-25 07:27:39 +00:00
nixpkgs-ci[bot]
fdb483ef13
[Backport release-26.05] spaceship-prompt: 4.22.3 -> 4.22.4 (#534993) 2026-06-25 06:36:37 +00:00
nixpkgs-ci[bot]
696eca4018
[Backport release-26.05] homebank: 5.10.1 -> 5.10.2 (#534677) 2026-06-25 06:36:23 +00:00
Vladimír Čunát
cf12887ca8
[Backport release-26.05] perl5Packages.ModuleCPANTSAnalyse: skip failing test (#535148) 2026-06-25 06:19:00 +00:00
Ryan Omasta
d247ce0b6d perl5Packages.ModuleCPANTSAnalyse: skip failing test
(cherry picked from commit 0eaf2dd6bd)
2026-06-25 06:13:32 +00:00
Matt Sturgeon
303a007ec7
[Backport release-26.05] ci/treefmt: enable or-identifier rule (#535138) 2026-06-25 05:14:43 +00:00
nixpkgs-ci[bot]
514847b33a
[Backport release-26.05] krita: 6.0.1 -> 6.0.2.1 (#534963) 2026-06-25 05:14:13 +00:00
George Macon
be04fab4f2 ci/treefmt: enable or-identifier rule
All remaining unquoted uses of or as an identifier were removed in
PR #475723, so this rule can now be enabled to prevent it from coming
back.

(cherry picked from commit 45e309e3a3)
2026-06-25 04:31:10 +00:00
nixpkgs-ci[bot]
991c8e5b86
[Backport release-26.05] psi-plus: 1.5.2139 -> 1.5.2140 (#535104) 2026-06-25 01:23:41 +00:00
Peder Bergebakken Sundt
ff97f214fa
[Backport release-26.05] glpi-agent: 1.17 -> 1.18 (#534974) 2026-06-25 00:40:05 +00:00
Peder Bergebakken Sundt
54cb117bd1
[Backport release-26.05] andcli, gradia, netpeek, jocalsend, tauno-monitor: set structuredAttrs; librepods: set structuredAttrs & strictDeps (#534953) 2026-06-25 00:36:35 +00:00
R. Ryantm
b4b2dae667 psi-plus: 1.5.2139 -> 1.5.2140
(cherry picked from commit 1f4df3cdf7)
2026-06-24 23:56:28 +00:00
Maximilian Bosch
936860f69b
[Backport release-26.05] teams.matrix: reform (#535079) 2026-06-24 23:24:44 +00:00