119 Commits

Author SHA1 Message Date
.CooCoo 7a3c3bee9b Merge pull request #10565 from dotCooCoo/fix/rpm-smoke-checks-fixture
Release CI: RPM smoke check waits for its SVG fixture to open
2026-12-02 11:10:12 -08:00
dotCooCoo a02c432ba2 Merge main into fix/rebalance-test-shards 2026-12-02 06:15:55 -08:00
dotCooCoo 3482b24069 Release CI: RPM smoke check waits for its SVG fixture to open
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.
2026-12-02 06:03:43 -08:00
dotCooCoo 6e6a9a6d2f Merge main into fix/craft-fonts-pin-main 2026-12-01 19:29:33 -08:00
dotCooCoo fe7e082a6e Merge main into fix/rebalance-test-shards 2026-12-01 02:08:34 -08:00
dotCooCoo fadba64cb5 CI: adding the full-ci label starts a full run
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.
2026-12-01 01:03:30 -08:00
dotCooCoo fe794e1dce Merge main into fix/ci-select-tests 2026-11-30 22:58:56 -08:00
dotCooCoo de519fe565 CI: call the gate at craft-common-actions main again
craft-common-actions#408 merged, so main's gate.yml has the warm-split input.
2026-11-30 20:46:38 -08:00
dotCooCoo ca561c2721 CI: call #408's gate from the fork that holds its head
The commit 2dccde94 exists only in dotCooCoo/craft-common-actions, so
GitHub could not find the workflow under storytold.
2026-11-30 15:14:37 -08:00
dotCooCoo bd30cd9632 CI: call the gate at craft-common-actions#408's head until it merges
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.
2026-11-30 15:12:38 -08:00
dotCooCoo 93c598a27f Merge main into feat/split-cache-warm 2026-11-30 15:06:24 -08:00
dotCooCoo 308befa8cf CI: run only the test shards a pull request's changes reach
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.
2026-11-30 05:32:36 -08:00
dotCooCoo b851ac2c8d CI: drop the cache prune watcher job; cache-prune.yml prunes after each run
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.
2026-11-30 05:16:23 -08:00
Dylan M. Taylor ad642cb34c ci(nightly): enable automated daily schedule (06:30 UTC) and Stage 2 signer dispatch (#9959)
* ci(nightly): roll out signing pin, macOS docs layout, and profile reopen fix

* ci(nightly): enable automated daily schedule and Stage 2 signer dispatch
2026-11-29 23:25:07 -05:00
dotCooCoo 634a1edb1b Merge main into fix/craft-fonts-pin-main 2026-11-29 20:24:27 -08:00
FredApps 89b77c8e16 Merge pull request #10173 from storytold/ci/vectorcraft-split-macos-release
Compile macOS releases on separate standard runners
2026-11-30 05:18:07 +01:00
dotCooCoo 2931400260 Merge main into fix/craft-fonts-pin-main 2026-11-29 20:05:12 -08:00
dotCooCoo c61c271b74 CI: move the craft-fonts pin to craft-fonts main in every workflow
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.
2026-11-29 20:05:10 -08:00
FredApps 88e12f37e3 Merge pull request #10128 from storytold/ci/rpm-release-smoke
Validate release RPM installation and GUI startup on target distributions
2026-11-30 05:04:55 +01:00
Codex c8c434f4aa Compile macOS release architectures on separate standard runners 2026-11-30 03:42:50 +01:00
Codex bcd1fcac61 Harden RPM smoke lifecycle and cover failure paths 2026-11-29 23:58:30 +01:00
Dylan M. Taylor a3b93d585b ci(sonarcloud): give each main commit its own concurrency group (#10126) 2026-11-29 15:57:37 -05:00
Codex 76aa6afeb0 Mark the readiness loop counter intentionally unused 2026-11-29 21:50:43 +01:00
Codex 05464b264e Authenticate the RPM smoke control connection 2026-11-29 21:45:52 +01:00
Codex 971b9c05f7 Provide the X11 keyboard library in RPM test desktops 2026-11-29 21:43:31 +01:00
Codex 28d0f76bfe Select one available release artifact pair for every RPM smoke job 2026-11-29 21:34:39 +01:00
Codex 1dc94103da Check virtual display readiness and share its IPC namespace 2026-11-29 20:55:27 +01:00
Codex 152a4ac5f6 Validate release RPM installs and GUI startup on target distributions 2026-11-29 20:47:54 +01:00
Fredrik Hallin 740b04cde0 CI: use the standard macOS runner for releases 2026-11-29 18:54:50 +01:00
dotCooCoo b5affe3a0b CI: Desktop printing saves its Windows cache on main and builds the tests once
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`).
2026-11-29 07:16:18 -08:00
dotCooCoo 368930f466 Merge main into feat/split-cache-warm 2026-11-29 06:50:58 -08:00
.CooCoo 3ad283b9b0 CI: ui-egui tests run on two shards (#10080)
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`).
2026-11-29 09:10:57 -05:00
dotCooCoo 3a617b1324 CI: the cache warm on main builds its five shards in parallel
`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.
2026-11-29 06:09:05 -08:00
Dylan M. Taylor d4d8da4544 chore(ci): allow manual workflow_dispatch for SonarCloud (#10070) 2026-11-29 06:43:03 -05:00
Dylan M. Taylor 3454e365fd fix(nightly): enable Linux package_formats (including Flatpak) in signing policy (#10036) 2026-11-28 22:42:01 -05:00
Dylan M. Taylor 170d491cb9 ci: pin storytold/craft-common-actions to @main universally (#9983) 2026-11-28 16:07:39 -05:00
Dylan M. Taylor 89a5b64170 ci(nightly): roll out signing pin, macOS docs layout, and profile reopen fix (#9935) 2026-11-28 14:37:16 -05:00
dotCooCoo ada0e99dfc CI: the cold cache clear fails on a late warm leg before its job times out
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.
2026-11-28 00:18:09 -08:00
dotCooCoo 5df004faff CI: the cold cache clear fails when the warm leg's save does not finish
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.
2026-11-27 20:58:32 -08:00
dotCooCoo 6927affc24 CI: the cold cache clear waits for the warm leg's own save and reads every cache page
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.
2026-11-27 19:55:45 -08:00
dotCooCoo a70c571415 CI: a cold cache warm leg fits its timeout and the old rolling entry goes first
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.
2026-11-27 16:29:27 -08:00
dotCooCoo 2eef0b81b5 CI: the gate keeps the compiled workspace crates between runs
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.
2026-11-27 15:32:51 -08:00
Dylan M. Taylor 37fc94d291 ci: notify artcraft-services on release state changes (#9650)
* 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>
2026-11-27 09:18:39 -05:00
skylar taylor-barrick 3463266b27 Switch on supervised nightlies on the nightly-signer branch (#9342)
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.
2026-11-25 23:58:45 -06:00
Dylan M. Taylor 8b0b808857 packaging(linux): support co-installable nightly packages (#9233)
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>
2026-11-25 06:01:37 -06:00
BFlat 6f37bd839c VectorCraft on the craft UI framework (#8800)
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.
2026-11-24 08:25:24 +07:00
Dylan M. Taylor 3465b06c38 revert: restore scheduled release.yml dry-run on main (#9184) 2026-11-23 14:45:47 -05:00
Dylan M. Taylor 93bc8da6d7 ci(release): publish scheduled nightly prereleases (#9181) 2026-11-23 13:17:42 -05:00
Dylan M. Taylor 71965b6a42 ci(release): forward ARTCRAFT_SERVICES_DISPATCH_TOKEN secret (#9172) 2026-11-23 09:34:26 -05:00
FredApps 5022ba5593 ci: note the shared SonarCloud archive job cap
The reusable workflow now defaults build-jobs to 2 so a cold instrumented
archive stays within hosted-runner memory (craft-common-actions#333).
2026-11-23 03:21:18 +01:00