Skip to content

ari tests: the lean ari fits the player in publish-cvcpkg's 20-row ari-media snapshot - #1288

Merged
transfix merged 2 commits into
masterfrom
fix/ari-media-smoke-height
Nov 16, 2026
Merged

transfix merged 2 commits into
masterfrom
fix/ari-media-smoke-height

Conversation

@transfix

@transfix transfix commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

PR CI now checks that the lean ari fits the media player in publish-cvcpkg's 60x20 ari-media snapshot, so the next chrome change fails here first and not at publish time.

Why

publish-cvcpkg's ari-media smoke snapshots src/ari/tests/media_player.ari and greps the window's last row, which is the player's status line. Since #1220 every document gets the Windows menubar, which adds a menubar row and a blank row above the window. The 14-row snapshot then cut off the status line, and libcvc 4.0.0's ari-media lanes failed although the player worked. #1298 fixed the publish by giving the snapshot 20 rows.

ari-media isn't built in PR CI, so nothing in a PR would catch the next change that makes the snapshot too short. The lean ari draws the same chrome.

What changed

  • New test AriMedia.TheLeanAriFitsThePlayerInThePublishSmoke in src/ari/ari_media_test.cpp. It takes the same snapshot at the same size with the lean ari, --media-play always --width 60 --height 20, and checks that the status line (video unsupported audio unsupported) is on screen. A comment says to keep its height equal to publish-cvcpkg's.
  • publish-cvcpkg.yml no longer changes here. This PR first set the snapshot to 18 rows. publish-cvcpkg: ari-media's player snapshot gets 20 rows (v4.0.0's release lanes) #1298 changed the same three lines to 20 and landed first, so this PR now carries only the test (Joe: "Cut to its test").

Testing

  • Only the lean ari CI test is in this PR, and it runs in the Linux and Windows lanes. At 18 rows it passed in this PR's earlier Linux Debug run (run 43780432462: AriMedia.TheLeanAriFitsThePlayerInThePublishSmoke ... Passed 0.60 sec). The 20-row snapshot has two more rows of room, and this PR's new run checks it.
  • git clang-format against master reports no changes, and MSVC /Zs compiles the file.
  • This machine's builds have no FTXUI, so I could not draw the snapshot locally.

…nubar

ari-media 4.0.0 did not publish on linux arm64 or macOS x86_64 (publish-cvcpkg
run 43754890264). Its player smoke takes a 60x14 snapshot of
src/ari/tests/media_player.ari and greps the window's last row, the status
line. Since #1220 put a Windows menubar and a blank row above every
document's windows, that row no longer fits in 14 rows. The snapshot still
shows both players opened (0:02 and 0:01).

The Linux, macOS and Windows lanes now snapshot at 60x18. The new
AriMedia.TheLeanAriFitsThePlayerInThePublishSmoke takes the same snapshot
with the lean ari, so CI, which builds no ari-media, catches the next change
to the chrome above the window before a publish does.
@transfix
transfix enabled auto-merge (squash) November 16, 2026 00:35
@transfix
transfix disabled auto-merge November 16, 2026 06:47
transfix added a commit to cy-pca/nicotina that referenced this pull request Nov 16, 2026
libcvc 4.0.0 published ari and arigl but no ari-media (transfix/libcvc#1288), so one prefix held
ari 4.0.0's libcvc.so.4 beside ari-media 3.7.13, which needs libcvc.so.3: every job stopped at
install-hosts.sh's ldd check (exit 127). Each host now links the libcvc of its own release: when
ari-media lags, it is installed with that libcvc pinned, in ROOT/media, and deps/bin/ari-media
links to it.
…nly the test

#1298 gave publish-cvcpkg's ari-media player snapshot 20 rows on the same
three lines this branch set to 18, so publish-cvcpkg.yml takes master's
version and this PR drops its own change to it (Joe: "Cut to its test").
AriMedia.TheLeanAriFitsThePlayerInThePublishSmoke now snapshots at 60x20
to match, and its comment says to keep the two heights equal.
@transfix transfix changed the title publish-cvcpkg: give ari-media's player smoke room for the Windows menubar ari tests: the lean ari fits the player in publish-cvcpkg's 20-row ari-media snapshot Nov 16, 2026
@transfix
transfix enabled auto-merge (squash) November 16, 2026 16:22
transfix added a commit to cy-pca/nicotina that referenced this pull request Nov 16, 2026
…s bell, unread DMs counted (L25) (#31)

The web app's bar, in the menu bar's tray (transfix/libcvc#1241, the libcvc release after 4.0.0),
where the host has (notify); elsewhere nothing changes, and min_libcvc stays where it is.

- Every 30 s while signed in, a quiet poll. TX.WTF's unread notifications go to the host's
  notification feed, whose bell shows them; a click opens the post or profile and marks it read at
  the instance. A direct message from someone else that comes while its conversation isn't shown is
  unread here: the tray's mail icon counts those conversations, DMs marks them, and the feed has an
  entry that opens it. txwtf's conversation list has no unread count, so nicotina keeps one.
- A direct message's emoji draw as a post's: its content_html, or for an encrypted one the
  instance's custom emoji (GET /social/emojis).
- The nicotina menu's Maximize the window, where the backend has the button (ui.maximize).
- "1 conversation".

CI: ci/install-hosts.sh installs ari-media in a prefix of its own, with the libcvc of its release
pinned, when its newest release isn't ari's (libcvc 4.0.0 published no ari-media,
transfix/libcvc#1288, and ari-media 3.7.13 beside libcvc.so.4 couldn't start). It finds the newest
releases through cvcpkg.org's search API. With #30's taller panes for the link and
attach walks (the link walk 50 rows, for ari-media's video poster).

Tests: the stub's ivy gets a message from grace right after her first look, per-notification
viewed, the custom emoji list; tests/run.sh checks the tray where the host has the feed, and the
FTXUI walk uses the menu's Maximize.
@transfix
transfix merged commit 1ec6d54 into master Nov 16, 2026
30 checks passed
@transfix
transfix deleted the fix/ari-media-smoke-height branch November 16, 2026 20:25
transfix added a commit that referenced this pull request Nov 16, 2026
… has (#1300)

PhConvoy.TheCompositeIsTheFormationItStandsFor and
PhConvoy.FollowLawsOnTheStepAndTheStop take ~95 s each in a Debug build on
a usual runner. A PR's Debug ctest gives a test without a TIMEOUT of its
own 300 s (ci.yml), and on a slow runner both timed out at 300 s: #1288's
run 43780432462, whose test phase took 95 min against 39 min on a usual
one. #1261 gave ocean_ewave_test TIMEOUT 1200 for the same reason; this
gives ph_convoy_test the same budget, so a slow box fails on a real hang
only. No test code changes.
transfix added a commit that referenced this pull request Nov 16, 2026
…#1305, #1310, #1311)

#1305 gives each Runtime program-lane providers of its own (add_program_intrinsics), so two
documents on one app no longer reach each other's verbs and host functions, and moves
AppRuntime's provider there from the app's list. This branch had split that provider in seven,
each registered on the app with its kind (S1-Q7). Conflicts in ariadne.h, app_runtime.cpp and
ariadne.cpp keep both:

- Runtime::add_program_intrinsics takes a kind too (the form without one is host_only, as
  register_action_intrinsics's), and the Runtime's own list keeps it. AppRuntime adds its seven
  providers there, each with the kind it had, in the same order.
- install_providers runs any list by kind; the Runtime's own run after the app's, by the same
  rules, wherever an env is built: an action, a resident, a spawned child (finish_context), the
  names probe, and init: and a module's init: (every kind as it is, on their own thread).
- host_only_bindings counts the Runtime's own host_only providers, so one that binds anything
  pumps the document's group on the host thread, as an app provider does.
- add_program_intrinsics marks the placement stale, as a late host verb does.
- The own list is read where an env is built, a spawned child's on its pumping worker, so it is
  under a mutex of its own (own_mutex), copied, and run unlocked; names_mutex no longer guards it.

STATE_EXEC_THREADED.md: the Runtime's own providers, AppRuntime's seven among them, and the
fourth late-registration path. Built locally (MSVC Release; AB.lock held the box, so the suites
were not run here); a test of the own providers by kind follows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant