Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/fly_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,21 @@ on:
- completed
jobs:
deploy:
# Serialize production deploys. Two merges close together each build their
# own image and run `flyctl deploy` concurrently; whichever finishes last
# wins regardless of commit order, so prod can silently serve the older
# commit while both jobs report green (2026-08-21: eyes #71 overwrote #70).
# Queue rather than cancel: cancelling mid-`flyctl deploy` abandons a
# release for no gain, and GitHub drops the older *pending* entry when a
# newer run queues behind a running one, so the newest SHA still lands last.
concurrency:
group: deploy-coreyja
cancel-in-progress: false
name: Deploy app
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
Expand Down
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ blocks_in_conditions = "allow"
must_use_candidate = "allow"
no-effect-underscore-binding = "allow"
items-after-statements = "allow"
# axum handlers return Result<_, Response>, and Response is genuinely large.
# Boxing it would mean churning every handler signature to satisfy a lint that
# is measuring a type we do not control.
result_large_err = "allow"

[workspace.lints.rust]
unsafe_code = "forbid"
Expand Down
Loading