Commit 2ec266f
committed
fix(ci): resolve critical race condition in deploy job artifacts
The deploy job was downloading build artifacts to path: ., then running
pnpm install which overwrote the downloaded dist directory. This caused
both smoke-tests and deploy jobs to fail with "Directory does not exist"
errors when trying to access ./dist/apps/web.
Fixed by:
1. Download artifacts to temporary directory (build-artifacts-temp)
2. Install dependencies first
3. Move dist directory from temp to expected location
4. Verify structure and clean up temp directory
This resolves the race condition where pnpm install was overwriting
downloaded build artifacts, preventing successful deployment.1 parent c975351 commit 2ec266f
1 file changed
+31
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
| 910 | + | |
915 | 911 | | |
916 | 912 | | |
917 | 913 | | |
918 | | - | |
| 914 | + | |
919 | 915 | | |
920 | | - | |
921 | | - | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
922 | 919 | | |
923 | | - | |
| 920 | + | |
924 | 921 | | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
945 | 927 | | |
946 | | - | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
947 | 931 | | |
948 | 932 | | |
949 | 933 | | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
950 | 951 | | |
951 | 952 | | |
952 | 953 | | |
| |||
0 commit comments