Skip to content

Account for not found error in fal app delete#634

Merged
mjh1 merged 1 commit intomainfrom
mh/cleanup
Mar 9, 2026
Merged

Account for not found error in fal app delete#634
mjh1 merged 1 commit intomainfrom
mh/cleanup

Conversation

@mjh1
Copy link
Copy Markdown
Contributor

@mjh1 mjh1 commented Mar 9, 2026

When this PR cleanup action ran it was silently failing if the app was not found

Summary by CodeRabbit

  • Chores
    • Enhanced deployment workflow error handling to gracefully manage certain failure scenarios, making the deployment process more resilient and reducing unnecessary pipeline interruptions.

When this PR cleanup action ran it was silently failing if the app was not found

Signed-off-by: Max Holland <[email protected]>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 9, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 46ad607a-d220-4af0-a378-8cfe119c6888

📥 Commits

Reviewing files that changed from the base of the PR and between 66e8d31 and 668722d.

📒 Files selected for processing (1)
  • .github/workflows/fal-pr-deploy.yml

📝 Walkthrough

Walkthrough

This change modifies error handling in a GitHub Actions workflow for fal app deployments. Instead of immediately failing on any error, the fal apps delete command now captures output and only fails if the output contains "not found", allowing other errors to pass silently.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
.github/workflows/fal-pr-deploy.yml
Modified fal apps delete invocation to capture output, suppress exit codes with || true, and conditionally error only on "not found" messages rather than all errors.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A bunny hops through the deploy,
With kinder hands, no crash—hooray!
Not found? We'll fail, that's quite clear,
But other errors? Don't interfere!
Softer deployments, safe and bright.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch mh/cleanup

Comment @coderabbitai help to get the list of available commands and usage tips.

@mjh1 mjh1 merged commit a9160aa into main Mar 9, 2026
5 of 8 checks passed
@mjh1 mjh1 deleted the mh/cleanup branch March 9, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant