Skip to content

staging-next 2026-08-20 - #554614

Merged
vcunat merged 626 commits into
masterfrom
staging-next
Aug 25, 2026
Merged

vcunat merged 626 commits into
masterfrom
staging-next

Conversation

SFrijters and others added 30 commits August 14, 2026 12:30
pkgsStatic is also only used for passthru.tests
Since structuredAttrs are enabled, the *Flags variables already are arrays.
@vcunat

vcunat commented Aug 25, 2026 •

Copy link
Copy Markdown
Member Author

@vcunat

vcunat commented Aug 25, 2026 •

Copy link
Copy Markdown
Member Author

Measured on a PySide6 application, dropping the propagation removes 17 paths
and 1.72 GiB, 813 MiB of which is clang-21.1.8-lib alone.

The generator is now depended on directly by the packages that run it to
generate bindings: pyside6 and the KDE python bindings. pyside6-qtads already
did this.

Assisted-by: claude-code with claude-opus-5[1m]-high
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Aug 25, 2026
@SuperSandro2000

Copy link
Copy Markdown
Member

That works for me without issues 🤔

@vcunat

vcunat commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

Temporarily "fixed" in 921f175

That works for me without issues 🤔

Thanks to the last line, surely? (first line here in my post)

@SuperSandro2000

Copy link
Copy Markdown
Member

Temporarily "fixed" in 921f175

That works for me without issues 🤔

Thanks to the last line, surely? (first line here in my post)

Yep, I built it with nix build --eval-system aarch64-darwin -f. python3Packages.httpx2.

@vcunat
vcunat added this pull request to the merge queue Aug 25, 2026
Merged via the queue into master with commit 103cb3a Aug 25, 2026
24 checks passed
justinmwarner added a commit to justinmwarner/gh-ext that referenced this pull request Sep 5, 2026
The data half of scoping the diff to commits. Nothing renders it yet.

PullRequest.commits is its own document, issued alongside the
batched read and settled rather than unwrapped, on the same
reasoning as the pending-review lookup: it is not needed to paint
the diff, so it does not belong on the query the cold-start budget
is spent on, and a commit list that could not be read costs the
picker rather than the page. Both documents were executed against
live GitHub as they are written here.

The cap is the part worth stating. GitHub stops this connection at
250 nodes and then reports hasNextPage: false — observed against
NixOS/nixpkgs#554614, whose totalCount is 626, as pages of 100, 100
and 50 with the walk declared complete. So collectConnection cannot
detect it and reports truncated: false in perfect good faith, while
376 commits are missing. totalCount is the only field that knows,
and the shortfall is measured against it, because a commit the
reviewer cannot see is not one they can be asked to notice.

diffScope resolves every narrowing this page will offer — a single
commit, a range, and "since my last review" — into the same pair of
commits, because they are the same request. Three-dot is not a
preference: /compare/{a}..{b} answers 404, verified on 2026-09-04,
so it is the only range syntax there is.

It also carries the fact that makes narrowing dangerous. A thread's
line is a position in the *pull request's* diff, so unless the
narrowed head is the pull request's head and the narrowed base its
base, line 42 here is not line 42 there — and it is very likely to
exist, so the annotation renders, on the wrong text, silently.
resolveScope reports which sides can be trusted; the next commit
makes anchoring obey it.
justinmwarner added a commit to justinmwarner/gh-ext that referenced this pull request Sep 5, 2026
The reference notes gain §5a, and every claim in it was executed
against the live API on 2026-09-04 with the pull request named
beside it, to the same standard as the rest of that file.

Three of them are the kind that only turn up by asking. GitHub stops
PullRequest.commits at 250 nodes and then reports hasNextPage:
false, so following the cursors is not enough to know the list is
complete — NixOS/nixpkgs#554614 says 626 and hands back 250 with the
walk declared finished. /compare/{a}..{b} answers 404, so three-dot
is the only range syntax there is. And a commit force-pushed off a
branch stays fetchable: NixOS/nixpkgs#550556's pre-push commit is
gone from its commit list, still returns 200 six days later, and
still compares successfully against the new head as "diverged" —
which is why a selected commit has to be checked against the list
rather than against the response.

Also recorded: the compare endpoint answers a reversed pair with
HTTP 200 and an empty body, which reads as "these commits changed
nothing"; and that the thread mutation has no commit argument, which
is the whole reason a narrowed diff cannot be commented on freely.

The comparison document holds the three decisions that are genuinely
product calls — whether commenting should be allowed while narrowed,
what a selected range includes, and how the picker should work —
with the options, the costs and a recommendation for each. It also
says plainly which claim about GitHub's own range behaviour could
not be verified from here, rather than asserting it.
@vcunat vcunat mentioned this pull request Sep 6, 2026
2 tasks done
@felixsinger felixsinger mentioned this pull request Oct 28, 2026
3 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 4.workflow: staging A staging-next or staging-next-XX.YY branch 8.has: package (new) This PR adds a new package 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.