question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

("ResourceConflictException") build causes 503's - handle build failures gracefully

See original GitHub issue

On the theme of handling build failures gracefully – I encountered this errors today which caused my site to 503.

The operation cannot be performed at this time. An update is in progress for resource: arn:aws:lambda:XXX

Also – Shouldn’t a build give a non-zero exit code? My CI pipeline thought this passed because no error code was given, which made this even harder to catch.

Issue Summary

Build failures should not break site

Actual behavior

Build failures break site

Versions

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:6

github_iconTop GitHub Comments

3reactions
patricktyndallcommented, Nov 19, 2021

Update: Fixed it by updating per this thread #1976. Still scary to have deploys randomly start failing though… can we mitigate this?

1reaction
ferdinglercommented, Nov 19, 2021

Is it safe to update a NextJS 9 app using @sls-next/serverless-component@1.18.0 to the latest release (3.6.0) that includes this fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS lambda ResourceConflictException on deployment
When I do that locally, it fails when deploying the environment, on jenkins it always fails when deploying the code. I'm not sure...
Read more >
Error handling in Step Functions - AWS Documentation
A States.Runtime error isn't retriable, and will always cause the execution to fail. A retry or catch on States.ALL won't catch States.Runtime errors....
Read more >
An update is in progress for resource - AWS re:Post
After deploying (update) a Lambda for about 150 times in an automated way using CI, this suddenly fails since in `eu-west-1` since 2021-09-14...
Read more >
Troubleshooting App Thinning and Bitcode Build Failures
Workaround: Fix Info.plist files to stop referring to missing executables. Failure handling apps where the CFBundleSupportedPlatforms key in an ...
Read more >
Troubleshooting Unexplained Build Failures - CircleCI
Things to check when your build has failed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found