Repository navigation
search: the filter combos ask for the search; a request reads its search once; frames for ari 3.7.13 - #11
Merged
Conversation
…rch once - The Platform, Arch and Link combos search again from the first row in their on:, as the query field does. on_tick no longer compares the filters with the ones it last sent: a combo's on: has fired since transfix/libcvc#902. - on_tick read the search's key at its top and took the request further down. A tick can run over frames, so a query typed in between was searched under the key from before it: the reply counted as no new query, and the status kept the old package count. The request now reads the query and the filters once as it is taken, for the key, the request and the prefetch alike. (search_test caught it on ari 3.7.13 once the filter compare was gone.) - search_test sets a filter as the combo's on: does; tests/interactive.sh picks one with the keyboard in both terminal backends. ROADMAP's L15 is done.
transfix/libcvc#1086 gave windows a maximize button; FTXUI draws it as [↑] in the title bar. The six unit frames with a window title take it. Only the first line of each changes. tests/run.sh had not run on 3.7.13 before: the scheduled runs skip it.
The previous commit moved the unit frames to ari 3.7.13's window titles ([↑] after the title, transfix/libcvc#1086). The snapshots in tests/expected/ draw the same windows: the cypkg window, and the Builders, Builds, Activity and Account windows over it. Only those title lines change.
A filter combo's on: sets the offset to 0 and req.search (views.ari); a state-set on search.platform, .arch or .link alone no longer searches. The integration copy of the filter tests set the filters alone, so each waited for a search that never came (max_steps_exceeded). They now do what the combos do, as tests/modules/search_test.ari already does.
The integration step's snapshots against a local cvcpkg-server (tests/integration/expected/) draw the same cypkg window as tests/expected/; its title line gains ari 3.7.13's [↑]. Nothing else in those frames changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two changes, and a fix the first one turned up.
The filter combos ask for the search themselves. Platform, Arch and Link now search again from the first row in their
on:, as the query field already does.on_tickno longer compares the filters with the ones it last sent each tick. That workaround waited on transfix/libcvc#902 (a combo'son:fires), merged 2026-10-30. ROADMAP's L15 is marked done.A request reads its search once.
on_tickread the search key at its top and took the request further down. On ari 3.7.13 a tick can run over frames, so a query typed in between was searched under the key from before it. The reply then counted as no new query, and the status kept the old package count ("builds 1-10 of 25, 10 packages"). The request now reads the query and the three filters once, as it is taken, and uses them for the key, the request and the prefetch alike.search_testcaught this once the per-tick filter compare stopped shifting the timing.Frames for ari 3.7.13. transfix/libcvc#1086 gave windows a maximize button, which FTXUI draws as
[↑]in the title bar. The six unit frames with a window title take it, and only the first line of each changes.tests/run.shhadn't run on 3.7.13 before: the scheduled runs skip it. The first run that did was today's hand-startedtest(Pages redeploy), and it failed on exactly these six frames.Tests (Windows, ari 3.7.13+cvc.1 from cvcpkg.org):
tests/unit.sh: all frames pass.tests/modules.sh: 5 documents, 42 tests, three runs in a row.search_testpasses. Without the read-once fix, this branch fails it every time.tests/interactive.sh(tmux) didn't run here; CI runs it on both backends, and it picks a platform with the keyboard.