Skip to content

publish.py: do not retry an aws lambda invoke that exits 252 or 253 #1335

Open

Description

@ejc3

fleet/coord/publish.py retries a failed aws lambda invoke after 60 s, up to 10 times (#1334). An exit status of 252 (bad command syntax) or 253 (bad configuration) means the CLI rejected the call before invoking anything, so retrying it only delays the job's failure by about ten minutes. Re-raise those two at once and keep retrying the rest, with a test in ReleaseInvocationTests.

Raised by CodeRabbit on #1334.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions