The installed-RPM smoke check passed as soon as `ui.inspect` answered,
even when the GUI never opened the SVG fixture it was started with.
The check now repeats `ui.inspect` until nothing is still opening and
`original-smoke.svg` is listed among the open documents, and fails
after 90 seconds otherwise.
The check was added in #10128.
The workflow now listens for the labeled pull request event, so adding the full-ci label runs all six shards. Any other label is skipped and gets a concurrency group of its own, so it does not cancel a running check.
The gate on craft-common-actions main has no warm-split input yet, so
every run of this branch failed at startup. #408 adds the input; this
pin goes back to @main once #408 merges.
The gate call sets select-tests and shard-members, so a pull request runs the test shards whose
crates its changes reach (the crates that own or declare a read of a changed file, and every crate
that depends on them) and always runs shard 6, the checks. Pushes to main, the nightly run and the
full-ci label run all six shards.
xtask's test ci_names_the_crates_of_every_shard_for_test_selection fails when the shard-members
lines in ci.yml differ from GROUPS in xtask/src/shards.rs.
ci.yml's `cache prune` job held a runner beside the whole gate on every
main push and nightly run, only to delete the rolling entry that the
`cache warm` leg replaced. cache-prune.yml already runs that prune once
every CI attempt on main ends, and the warm leg is the last job to
finish, so the old entry now goes a few seconds after the save instead
of during it.
The nightly cold run's `cold cache clear` job stays. Its script used the
`cache prune` job to tell "Re-run all jobs" from a re-run of failed jobs.
It now looks for `gate / select legs` instead, which only "Re-run all
jobs" lists once the warm leg has succeeded, and it waits 5 minutes for
that job to appear before it treats the warm leg as finished in an
earlier attempt.
The CI, FreeBSD, nightly, macOS nightly and release workflows pinned
craft-fonts b076417, which has no fonts/latin-manifest.txt, so every
build warned that it could not embed the tab-title face. They now pin
craft-fonts main at 16bbfc3, which adds Noto Sans Condensed SemiBold
(storytold/craft-fonts#72), so builds from these workflows draw document
tab titles in it. The pin also brings Noto Sans Lao, Noto Sans for eight
Indian scripts (Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu,
Kannada and Malayalam) and the Latin catalog.
With the new faces a build loads 135 faces instead of 54, and Retype
compares the first 96 first. Two faults showed:
- Retype: near matching fits a shape with at most the 256 glyphs closest
to it in proportion over every face. The dots and periods of the new
faces, drawn alike in each family and each named weight, took all 256
places, so a simplified Source Sans 3 period after "no" matched no
glyph of Source Sans 3 and was left as an outline. A shape that near
matches no glyph of the font of the line before it is now also
compared with that font's own 256 closest glyphs, and joins the line
when one fits. RetypeIndex::near_matches_in does that lookup.
- Tests: six Retype tests added their test font to the global font
database and expected Retype to compare it, which it did only while
fewer than 96 faces were loaded before it. They now name the font
(type.retype's fonts, or live type in the family as #6896 does for
of_two_versions_only_the_one_the_name_gives_is_listed), and
lines_in_family fails when the family has no match instead of reading
another face.
all_supplied_craft_font_families_are_registered_without_system_fonts
looked up every embedded craft-fonts face in the document font database.
The tab-title face is embedded for tab titles only and the database
leaves it out (document_fonts), so the test now checks the faces
document_fonts lists.
docs/mcp.md describes the new near-match step, and docs/ui-parity.md and
docs/localization-parity.md describe the new pin.
The pin change and the version test fix follow #6896 by @newsbaba24x7.
The Windows leg found no cache on every pull request, because only a push or manual run on
main saves one and the workflow had no push trigger. A push to main that touches the same
paths now saves the entry that pull requests restore.
Both test runs now select the app and the UI crate together, so Cargo resolves features once
and the printps run reuses the first run's dependencies instead of rebuilding 94 crates. The
first run keeps every app test (the binary's unit tests and `tests/it`).
vectorcraft-ui-egui's tests were one leg that set the pull request run's
length (33.2 min median over 20 runs: about 19 min compiling and 11.9 min
running 5,288 tests). The gate now has six legs. Shards 1 and 2 each
build vectorcraft-ui-egui's tests and run half of them with nextest's
count partition. Each part also runs its own pinned slow tests, so the
slowest tests do not land on one leg. Part 1 alone runs the doctests and
the i18n report, and `cargo xtask ci warm` builds the split once.
Before running, a part lists the tests and stops with an error when a
pinned test name no longer exists. The xtask shard tests check that
every test of a split runs on exactly one part.
The nightly signing policy and its preparation doc list the new job
names (`test N/6`).
`cargo xtask ci warm` builds only shard GATE_SHARD of GATE_SHARDS when the gate sets them, and
every shard when neither is set; one set without the other, a non-number, a count other than the
shard count, or a shard out of range is an error. ci.yml turns on the gate's `warm-split`, so
main's warm runs as five `cache warm <k>/5` legs and a `cache warm` leg that saves the entry.
The cold-cache cleanup waits for the split legs before it times the saving leg's start, and fails
when a split leg fails. The cache-prune watch and both jobs' timeouts cover a split leg followed
by the saving leg.
The script's 160-minute wait is timed from the cache warm leg's start, and
the leg starts only after gate / select legs and a free runner. The job's
200-minute timeout left 40 minutes for that; a push to main on 2026-11-28
took 44 minutes from the run's start to the leg's start. A later start
ended the job with a timeout instead of the script's error.
The script now fails with its own error when the leg has not started 120
minutes after the script started, and the job's timeout is 290 minutes,
longer than the start wait and the 160-minute save wait together. A test
reads both timeouts from ci.yml and checks them against the script's
limits.
scripts/ci-clear-rolling-cache.py deletes the old rolling entries when
the cache warm leg's Post Setup step starts. It used to exit 0 at that
point, so a save that was canceled or failed afterwards left no rolling
entry while the job passed. The script now keeps polling the leg until
Post Setup completes or the leg ends, within the same 160-minute limit,
and exits 1 unless the save succeeded. A failure in a later post step
does not count once the save has succeeded. The header and the ci.yml
comment describe this, and say that the next run then starts cold.
Three new tests run main() with recorded API answers: a save that
succeeds after the deletion exits 0, and a save that is canceled or
fails after it exits 1.
scripts/ci-clear-rolling-cache.py:
- The 160-minute wait is timed from the cache warm leg's start, not from
the script's start. The clear job starts with the run, and the leg
starts after gate / select legs and a free runner. The job's timeout
goes from 170 to 200 minutes to leave room for that delay.
- The leg counts as saving when its Post Setup step (the gate-setup
action's cache save) starts, not when any Post step starts. A leg that
ends canceled or failed before that step succeeds deletes nothing and
exits 1, as a leg that failed before its save already did.
- actions/caches is read one page at a time, sorted by creation, until a
page holds fewer than 100 entries.
scripts/ci-clear-rolling-cache-tests.py checks the script with recorded
API answers, and Nightly check runs it when either file changes.
After Rust stable moved to 1.100.1, main's cache warm leg built cold
and was canceled at the 90-minute timeout with three steps still to
run, so no entry was saved and every leg stayed cold. The legs now get
150 minutes, and the cache prune watch runs for 160.
The nightly cold run restores nothing, so the old rolling entry and the
new one would be in the cache together while it saves, over the 10 GB
limit. A cold cache clear job deletes the old rolling entries when the
cache warm leg starts saving (scripts/ci-clear-rolling-cache.py). It
deletes nothing when the leg fails or is canceled, and fails itself so
that re-running the failed jobs runs it again with the leg.
cache-prune.yml prunes after every CI attempt on main, so a re-run of
the cache warm leg does not leave the entry it replaced in place.
Turn on the shared gate's cache-workspace-crates. Each main run's
cache warm leg saves a rolling entry that also holds the workspace
crates' compiled libraries and test executables, and every leg restores
the newest one, so a pull request's shards rebuild only the crates its
changes reach. A cache prune job keeps one rolling entry on main, and a
nightly cold build restores nothing and starts the entry afresh.
* ci: notify artcraft-services on release state changes
* notify-services: pass only the dispatch token to the shared workflow
secrets: inherit handed every repository and organization secret
(including signing credentials) to an unpinned @main workflow. The
reusable workflow only needs ARTCRAFT_SERVICES_DISPATCH_TOKEN, so
forward just that.
---------
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
Merge-only delta: CodeRabbit reviewed 91c7634e, the last authored head; this head adds only a merge of main, so its CodeRabbit check is a skip.
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.
gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
VectorCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (`next`; the framework side is storytold/craft-libs#2809), as PhotoCraft's did. The app keeps its engine, document model, file formats, commands and automation; its windows, panels, bars, dialogs and canvas are now built and driven by the framework: shell, docking and panels, hosted dialogs, keyboard, focus, IME and pointer routing, and theme tokens.
About 264,000 lines of VectorCraft's own egui UI code are removed and about 154,000 added. craft-libs is pinned at bf62d509f (in `next`), the egui fork at f5025284.
Tests that drove the old UI were rewritten against the port where only their premise changed, with their assertions kept. The UI tests still failing at merge, and their follow-ups, are listed in the pull request.