Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package b4 for openSUSE:Factory checked in at 2026-11-26 15:55:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/b4 (Old) and /work/SRC/openSUSE:Factory/.b4.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "b4" Thu Nov 26 15:55:04 2026 rev:49 rq:1400763 version:0.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/b4/b4.changes 2026-08-09 21:39:37.187007713 +0200 +++ /work/SRC/openSUSE:Factory/.b4.new.1340718/b4.changes 2026-11-26 15:56:29.543597176 +0100 @@ -1,0 +2,7 @@ +Mon Nov 9 09:13:01 UTC 2026 - Jiri Slaby <[email protected]> + +- add + * i586-tui-tracking-test-timing.patch + * i586-tui-tracking-footer-race.patch + +------------------------------------------------------------------- New: ---- i586-tui-tracking-footer-race.patch i586-tui-tracking-test-timing.patch ----------(New B)---------- New: * i586-tui-tracking-test-timing.patch * i586-tui-tracking-footer-race.patch New:- add * i586-tui-tracking-test-timing.patch * i586-tui-tracking-footer-race.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ b4.spec ++++++ --- /var/tmp/diff_new_pack.UumEoB/_old 2026-11-26 15:56:30.867653269 +0100 +++ /var/tmp/diff_new_pack.UumEoB/_new 2026-11-26 15:56:30.872653481 +0100 @@ -31,6 +31,8 @@ Group: Development/Tools/Other URL: https://git.kernel.org/pub/scm/utils/b4/b4.git Source0: https://github.com/mricon/b4/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: i586-tui-tracking-test-timing.patch +Patch1: i586-tui-tracking-footer-race.patch BuildRequires: %{python_module base >= 3.11} BuildRequires: %{python_module pip} BuildRequires: fdupes ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.UumEoB/_old 2026-11-26 15:56:30.976657887 +0100 +++ /var/tmp/diff_new_pack.UumEoB/_new 2026-11-26 15:56:30.984658226 +0100 @@ -1,4 +1,4 @@ -mtime: 1786006429 -commit: fd6b7840474a577ef2fe5ee38e45620d2c6bbcac17bf5c4d4fa203a636bd9dd2 +mtime: 1794466877 +commit: c030cd3fe6cb938c669688e4763fc2aa5e587732ef76fd11dbb79e84c5953778 url: https://src.opensuse.org/jirislaby/d-t-b4.git ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-11-12 08:01:17.000000000 +0100 @@ -0,0 +1 @@ +.osc ++++++ i586-tui-tracking-footer-race.patch ++++++ --- a/src/b4/review_tui/_tracking_app.py 2026-11-09 10:07:09.098984181 +0100 +++ b/src/b4/review_tui/_tracking_app.py 2026-11-09 10:08:06.729134755 +0100 @@ -1303,12 +1303,22 @@ ): await widget.remove() + try: + footer = self.query_one(Footer) + except NoMatches: + # The widget.remove() calls above yield control back to the + # event loop; if the app is shutting down concurrently (e.g. + # a pending refresh racing app teardown), the Footer may + # already be gone by the time we get here. Nothing left to + # update. + return + if not display_series: empty = Static( 'No tracked series. Use "b4 review track" to add series.', id='tracking-empty', ) - await self.mount(empty, before=self.query_one(Footer)) + await self.mount(empty, before=footer) return header_text = f'{"Submitter":<20s}{"A":>1s} {"A·R·T":>7s} {"Msgs":>6s} {"S":<4s}{"Subject"}' @@ -1316,8 +1326,8 @@ list_items: List[ListItem] = [TrackedSeriesItem(s) for s in display_series] lv = ReplacementListView(*list_items, id='tracking-list', scroll_y=scroll_y) - await self.mount(header, before=self.query_one(Footer)) - await self.mount(lv, before=self.query_one(Footer)) + await self.mount(header, before=footer) + await self.mount(lv, before=footer) new_index = 0 if self._focus_change_id: ++++++ i586-tui-tracking-test-timing.patch ++++++ --- a/src/tests/test_tui_tracking.py 2026-08-05 18:36:05.000000000 +0200 +++ b/src/tests/test_tui_tracking.py 2026-11-06 07:29:06.052790975 +0100 @@ -2076,6 +2076,20 @@ app = TrackingApp(identifier) async with app.run_test(size=(120, 30)) as pilot: await pilot.pause() + # pilot.pause() with no explicit delay relies on Textual's + # wait_for_idle() heuristic, which compares wall-clock time to + # this process's own CPU time to decide the app has settled. + # on_mount() here spawns several real `git` subprocesses (branch + # tip lookup, plus a background _startup_rescan worker thread) + # before the deferred _refresh_list() call actually mounts + # #tracking-list. While this process is blocked waiting for a + # forked git subprocess, it isn't burning its own CPU time, so + # the heuristic can decide "idle" before those subprocesses (and + # the resulting mount) have actually finished -- especially on + # slow/emulated builders where subprocess fork+exec overhead is + # much higher in wall-clock terms. An explicit extra pause makes + # the wait robust regardless of that heuristic. + await pilot.pause(0.5) lv = app.query_one('#tracking-list', ListView) items = [c for c in lv.children if isinstance(c, TrackedSeriesItem)] assert len(items) == 3
