Repository navigation
fix(docker): build the container image on the 0.33.1 release branch - #1634
Merged
Merged
Conversation
… build Since #1337 the crate embeds plugins/ai-assistants/manifest.schema.json and each built-in package's .tabularium with include_str!/include_bytes!. The .dockerignore allowlist and the server stage only carried plugins/manifest.schema.json, so the v0.33.0 image failed to compile with "couldn't read src/ai_assistants/../../../plugins/ai-assistants/...". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vite.config.ts imports scripts/generate-theme-schema-validators.ts since the theme validators are precompiled, but the build context only allowed packages/, so the image build failed on the v0.33.1 tag.
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
Reviewed by claude-sonnet-5.5 · Input: 0 · Output: 0 · Cached: 0 Review guidance: REVIEW.md from base branch |
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
The Docker workflow failed on the
v0.33.1tag, so the release had no container image.vite.config.tsimportsscripts/generate-theme-schema-validators.tssince the theme validators are precompiled (fix(themes): precompile validators for the desktop CSP #1627), but the build context only allowedpackages/. The Web UI stage stopped attsc -bwithCannot find module '../../scripts/generate-theme-schema-validators'. The script is now allowed in.dockerignoreand copied beforepnpm build.14227b217frommain: the server stage needs the built-in AI assistant manifests. The 0.33.0 image had to be republished frommainbecause of it.Verification
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.