Skip to content

ci: Regenerate font fallback maps on a schedule (backport #24941) - #24946

Merged
agneszitte merged 3 commits into
servicing/6.8from
mergify/bp/servicing/6.8/pr-24941
Oct 2, 2026
Merged

agneszitte merged 3 commits into
servicing/6.8from
mergify/bp/servicing/6.8/pr-24941

Conversation

@mergify

@mergify mergify Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue: closes #24940

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

The Setup - Font Fallback Maps Validation stage regenerated FontFallback.Maps.cs from notofonts main on every PR and failed on any difference. Since notofonts changes on its own schedule, one upstream commit (2026-10-02, 01:48 UTC: Noto Sans Mongolian coverage) failed every open PR at once. None of those PRs had touched the generator.

The check now follows the same "dependency update" pattern as docs-updater.yml:

  • Removed the per-PR ADO stage (build/ci/setup/.azure-devops-setup-font-fallback.yml and its include in .azure-devops-stages.yml).
  • Added .github/workflows/font-fallback-update.yml. Every Monday (or on demand via workflow_dispatch), it regenerates the maps against master. When the coverage changed, it opens or updates a PR on chore/font-fallback-update, labelled dependencies. There is no auto-merge, so someone reviews the coverage diff before it lands.
  • Regenerated FontFallback.Maps.cs, which picks up today's Mongolian coverage change: 7 ranges.

A stale map is harmless at runtime. The fallback lists are ordered, and Noto Sans or CJK cover these codepoints first. So skipping a week of upstream drift costs nothing.

Open PRs that failed this stage need a fresh build once this merges (/azp run). Re-running only the failed job reuses the original merge commit, which still has the old stage.

Possible follow-up, not in this PR: the generated runtime download URLs also point at notofonts main. Pinning them to a commit SHA would make fallback downloads in shipped WebAssembly apps immune to upstream renames.

PR Checklist ✅

Validation: I ran the generator locally (dotnet run --project src/FontFallbackPreprocessor -c Release -- --summary-only -o …). It produced exactly the 7-range diff that the failing CI job reported (build 236881). The new workflow hasn't run yet; trigger it with workflow_dispatch after merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01G7PsEU6gSpLZXrYuK8WWpt


This is an automatic backport of pull request #24941 done by [Mergify](https://mergify.com).

MartinZikmund and others added 3 commits October 2, 2026 13:11
Replace the per-PR validation, which failed every PR whenever notofonts
changed upstream, with a weekly workflow that opens an update PR.

Refs #24940

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G7PsEU6gSpLZXrYuK8WWpt
(cherry picked from commit 0e1ebd7)

# Conflicts:
#	build/ci/setup/.azure-devops-setup-font-fallback.yml
Picks up the Noto Sans Mongolian coverage change from notofonts.

Refs #24940

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G7PsEU6gSpLZXrYuK8WWpt
(cherry picked from commit 3a8ff45)
@mergify mergify Bot added the conflicts Automated merge hit conflicts label Oct 2, 2026
@mergify

mergify Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Cherry-pick of 0e1ebd7 has failed:

On branch mergify/bp/servicing/6.8/pr-24941
Your branch is up to date with 'origin/servicing/6.8'.

You are currently cherry-picking commit 0e1ebd7.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   .github/workflows/font-fallback-update.yml
	modified:   build/ci/.azure-devops-stages.yml

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by them: build/ci/setup/.azure-devops-setup-font-fallback.yml

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@github-actions github-actions Bot added area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/build Categorizes an issue or PR as relevant to build infrastructure labels Oct 2, 2026
@mergify mergify Bot mentioned this pull request Oct 2, 2026
1 of 5 tasks
@unodevops

Copy link
Copy Markdown
Contributor

@ajpinedam
ajpinedam enabled auto-merge October 2, 2026 15:00
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 236972 did not find any UI Test snapshots differences.

@agneszitte
agneszitte disabled auto-merge October 2, 2026 16:38
@agneszitte
agneszitte merged commit cb9fcad into servicing/6.8 Oct 2, 2026
57 of 60 checks passed
@agneszitte
agneszitte deleted the mergify/bp/servicing/6.8/pr-24941 branch October 2, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Categorizes an issue or PR as relevant to build infrastructure area/skia ✏️ Categorizes an issue or PR as relevant to Skia conflicts Automated merge hit conflicts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants