From: Andreas Hindborg <a.hindborg@kernel.org>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: tools@kernel.org
Subject: Re: [BUG] b4: assertion error with `b4 send`
Date: Fri, 05 Jun 2026 10:07:53 +0200 [thread overview]
Message-ID: <87tsrhif52.fsf@kernel.org> (raw)
In-Reply-To: <20260604-elfish-uppish-poodle-afaad0@meerkat>
Konstantin Ryabitsev <konstantin@linuxfoundation.org> writes:
> On Thu, Jun 04, 2026 at 10:23:39PM +0200, Andreas Hindborg wrote:
>> Hi,
>>
>> I got this assertion error when sending patches today:
>>
>> ---
>> Sent 11 messages
>> Tagging sent/20250305-unique-ref-29fcd675f9e9-v17
>> Recording series message-id in cover letter tracking
>> Created new revision v18
>> Updating cover letter with templated changelog entries.
>> Invoking git-filter-repo to update the cover letter.
>> New history written in 0.06 seconds...
>
> [...]
>
>> File "/nix/store/xl7fx5x8g52g03npg1dpjzvaiijpv98z-python3.13-git-filter-repo-2.47.0/lib/python3.13/site-packages/git_filter_repo.py", line 4767, in _record_metadata
>> self._compute_metadata(metadata_dir, orig_refs)
>> ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
>> File "/nix/store/xl7fx5x8g52g03npg1dpjzvaiijpv98z-python3.13-git-filter-repo-2.47.0/lib/python3.13/site-packages/git_filter_repo.py", line 4712, in _compute_metadata
>> assert(usoa == intermediate) # old wasn't pruned => usoa == intermediate
>
> Looks like this tripped something in git-filter-repo, so not something we
> control anyway.
>
>> It looks like everything is OK and b4 set up for the next spin, cover
>> letter looks right.
>
> Yes, looks like it was during some kind of cleanup.
>
>> I observed this on nixos first with b4 0.14.3 via nixpkgs 25.05, then
>> upgraded to 0.15.2 via nixpkgs unstable.
>
> We actually got rid of git-filter-repo in the latest master, so I'm just going
> to blame this on gremlins and blame the alignment of the celestial spheres. :)
Ok, cool, I'm going to pull down that and see what happens.
Best regards,
Andreas Hindborg
prev parent reply other threads:[~2026-06-05 8:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-04 20:23 [BUG] b4: assertion error with `b4 send` Andreas Hindborg
2026-06-04 20:47 ` Konstantin Ryabitsev
2026-06-05 8:07 ` Andreas Hindborg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tsrhif52.fsf@kernel.org \
--to=a.hindborg@kernel.org \
--cc=konstantin@linuxfoundation.org \
--cc=tools@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox