Skip to content

Implement Flight sanity checking - #103

Merged
flymia merged 3 commits into
mainfrom
feature/enhance-flight-checking
Jul 22, 2026
Merged

flymia merged 3 commits into
mainfrom
feature/enhance-flight-checking

Conversation

@flymia

@flymia flymia commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

This PR will add a few sanity checks before filing a flight.

For example: Maximum height of aircraft, no longer flights than X hours, etc.

This fixes #95

flymia added 3 commits July 22, 2026 14:34
- Reject future flights (no flight planning yet), with clock-skew tolerance
- Add per-aircraft service ceiling; reject cruise altitude above it
- Enforce all checks on both web and API filing paths via App\Support\FlightSanity
- Wire service_ceiling through migration, model, requests, resource, factory, forms and docs
- Was left untracked, so CI migrated without the column and aircraft factory inserts failed
@flymia
flymia merged commit 3a7f6be into main Jul 22, 2026
1 check passed
@flymia
flymia deleted the feature/enhance-flight-checking branch July 22, 2026 12:50
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.

feature: More checks when filing flight

1 participant