Repository navigation
[AI] fix: clean the sync server Docker build context - #9542
Conversation
|
👋 Hello contributor! We would love to review your PR! Before we can do that, please make sure:
A quick note on volume: please get one PR reviewed and merged before opening several more. A stack of simultaneous, similar PRs from one author is reviewed slowly, and low-effort, untested, or undisclosed-AI PRs may be closed without a detailed review. We do this to reduce the TOIL the core contributor team has to go through for each PR and to allow for speedy reviews and merges. For more information, please see our Contributing Guide. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Do you have the failing build log? I tried unsuccessfully to reproduce the original issue that this solves. |
|
You should see the issue if you do: in a clean checkout and then: The build fails at |
|
Using podman, my agent was able to reproduce this. Interesting that it found the error after using |
|
The |
|
Can it be merged? I'm trying to open PR for other fixes, but I'm blocked by the limit. |
|
I was unable to replicate the issue on master, but approving anyway as it's fine as a general improvement |
Description
Running
yarn build:browserandyarn build:serverlocally will pull the translations. Subsequent runs of sync-server Docker builds are then failing.This patch fixes it by copying
.gitignoreinto the dependency installation stage and excluding generated desktop-client locale files from the Docker build context.codex automatically found and fixed the issue.
Related issue(s)
Testing
Docker builds are now successful even after
yarncommands were used locallyChecklist