Repository navigation
ci: cache dependencies and share frontend build artifacts across workflows - #945
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds a nil check when parsing form task requests in Go, and refactors the MSDF generator setup script to pin the woff2 dependency and avoid redundant builds. The reviewer correctly identified that changing the working directory in the setup script breaks the relative path to node_modules (which resides in the web directory), and provided a robust code suggestion using absolute paths and subshells to fix this issue.
kyasbal
force-pushed
the
push-xsxuqrxsuptr
branch
3 times, most recently
from
September 3, 2026 02:36
0f56f16 to
68a8697
Compare
kyasbal
force-pushed
the
push-xsxuqrxsuptr
branch
from
September 3, 2026 03:32
68a8697 to
1aef39f
Compare
kyasbal
marked this pull request as ready for review
September 3, 2026 04:28
kyasbal
requested review from
K53,
RyuSA,
jyane,
kkuchima and
renamoo
as code owners
September 3, 2026 04:28
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.
Summary
This PR optimizes GitHub Actions CI workflow runtimes and reliability by:
actions/setup-nodewithcache: "npm"andcache-dependency-path: "web/package-lock.json".cache: trueandcache-dependency-path: "go.sum".woff2git clone to an immutable commit SHA (1c69169e9e1811dccd6c54c532fedda300233968).scripts/msdf-generator/setup.shCWD-safe.woff2_decompressbinary and generated font atlas assets to avoid re-cloning and recompiling C++ on every run.build-webjob that buildspkg/server/distonce, caches it viaactions/cache, and shares it viaactions/upload-artifact.backend-testsandbuild-binariesto consume the build artifact viaactions/download-artifact, completely eliminating redundant frontend builds andnpm cisteps in those jobs.release.yaml.Commits
ci: enable npm cache across GitHub Actions workflowsci: configure explicit Go caching with go.sum across GitHub Actions workflowsci: cache font atlas and woff2 binary across GitHub Actions workflowsci: cache and share frontend build artifacts across GitHub Actions workflows