fix(deploy): retry publish after clearing NuGet caches on NU3008 #5

Merged
cesnimda merged 2 commits from fix/deploy-nuget-integrity into main 2026-07-06 01:12:06 +02:00
Owner

Deploy hardening: on NU3008 (transient corrupt download of a transitive package) clear NuGet caches and retry the backend publish once.

Deploy hardening: on NU3008 (transient corrupt download of a transitive package) clear NuGet caches and retry the backend publish once.
cesnimda added 1 commit 2026-07-05 21:51:33 +02:00
fix(deploy): retry publish after clearing NuGet caches on NU3008
CI and Deploy / test (pull_request) Failing after 2m9s
CI and Deploy / deploy (pull_request) Has been skipped
63e0300788
The prod deploy failed restoring a transitive package
(Microsoft.CodeAnalysis.Workspaces.Common) with NU3008 "package integrity check
failed / has changed since it was signed" — a transient corrupted download on the
build host, not a code change. Wrap the backend `dotnet publish` so that on any
failure it clears all NuGet caches and retries once, re-downloading the package
fresh.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda added 1 commit 2026-07-06 01:08:04 +02:00
ci: retry npm ci once on the runner's intermittent SIGSEGV
CI and Deploy / test (pull_request) Successful in 2m12s
CI and Deploy / deploy (pull_request) Has been skipped
4b38f7c164
The frontend deps step occasionally crashes with "Segmentation fault (core
dumped)" (exit 139) during `npm ci` — a memory/native flake on the act_runner,
unrelated to the change under test (it failed the deploy-fix PR whose only change
is the Dockerfile). Retry once with a clean node_modules before failing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda merged commit e90835b51e into main 2026-07-06 01:12:06 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#5