Added the home view to show the default endpoint#202
Conversation
🧠 Code Complexity ReportAverage cyclomatic complexity: A (2.2283842794759825) High-complexity blocks (grade C and above)Low maintainability files |
🚨 Bandit results0 issues found () Show details |
🛡️ pip-audit results✅ No vulnerabilities found. |
📊 Test Coverage Report🟡 Overall coverage: 72.2% Files with lowest coverage (<50%)
|
🐳 Trivy Container Scan🚨 Total: 1 (MEDIUM: 1, HIGH: 0, CRITICAL: 0) Show details |
There was a problem hiding this comment.
Pull request overview
This PR introduces a root (/) home page rendered via server-side templates so the default endpoint shows a human-friendly landing page, alongside adding the required templating dependency.
Changes:
- Added a new
GET /route returning an HTML template response. - Wired up Jinja2 template rendering and updated the home template header.
- Added
jinja2to runtime dependencies.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/flight_blender/api/routers/misc_api.py |
Adds a root HTML home endpoint using Jinja2Templates. |
src/flight_blender/templates/homebase/home.html |
Removes Django template tag loads at the top of the home page template. |
pyproject.toml |
Adds jinja2 as an explicit dependency to support templating. |
InterUSS Qualification ReportWorkflow run: https://github.com/openutm/flight-blender/actions/runs/28827606755 InterUSS uss_qualifier —
|
| Result | Count |
|---|---|
| ✅ Pass | 5628 |
| ❌ Fail | 2 |
| Total | 5630 (100% pass) |
Per-scenario breakdown
| Scenario | ✅ Pass | ❌ Fail | Execution error |
|---|---|---|---|
| Get system versions | 2 | 0 | No |
| ASTM F3548 flight planners preparation | 38 | 0 | No |
| ASTM SCD DSS: Operational Intent Explicit Subscription handling | 45 | 0 | No |
| ASTM SCD DSS: Implicit Subscription handling | 121 | 0 | No |
| ASTM SCD DSS: Operational Intent Reference Simple | 114 | 0 | No |
| ASTM SCD DSS: Constraint Reference Simple | 10 | 0 | No |
| ASTM SCD DSS: Constraint Reference Synchronization | 227 | 0 | No |
| ASTM SCD DSS: USS Availability Synchronization | 37 | 0 | No |
| ASTM F3548-21 UTM DSS Operational Intent Reference State Transitions | 17 | 0 | No |
| ASTM SCD DSS: Subscription and entity deletion interaction | 73 | 0 | No |
| ASTM SCD DSS: Subscription and entity interaction | 102 | 0 | No |
| ASTM SCD DSS: Operational Intent Reference Key Validation | 32 | 0 | No |
| ASTM SCD DSS: Operational Intent Reference Synchronization | 126 | 0 | No |
| ASTM SCD DSS: Interfaces authentication | 182 | 0 | No |
| ASTM SCD DSS: Subscription Simple | 403 | 0 | No |
| ASTM SCD DSS: Subscription Validation | 7 | 0 | No |
| ASTM F3548-21 UTM DSS Operational Intent Reference Access Control | 18 | 0 | No |
| ASTM F3548-21 UTM DSS interoperability | 2 | 0 | No |
| ASTM SCD DSS: Subscription Synchronization | 398 | 0 | No |
| ? | 0 | 0 | No |
| OVN Request Optional Extension to ASTM F3548-21 | 12 | 0 | No |
| ASTM SCD DSS: Report | 2 | 0 | No |
| ASTM Availability DSS: USS Availability Mutation | 4 | 0 | No |
| ASTM SCD DSS: Operational Intent Explicit Subscription handling | 45 | 0 | No |
| ASTM SCD DSS: Implicit Subscription handling | 121 | 0 | No |
| ASTM SCD DSS: Operational Intent Reference Simple | 114 | 0 | No |
| ASTM SCD DSS: Constraint Reference Simple | 10 | 0 | No |
| ASTM SCD DSS: Constraint Reference Synchronization | 227 | 0 | No |
| ASTM SCD DSS: USS Availability Synchronization | 38 | 0 | No |
| ASTM F3548-21 UTM DSS Operational Intent Reference State Transitions | 17 | 0 | No |
| ASTM SCD DSS: Subscription and entity deletion interaction | 73 | 0 | No |
| ASTM SCD DSS: Subscription and entity interaction | 102 | 0 | No |
| ASTM SCD DSS: Operational Intent Reference Key Validation | 32 | 0 | No |
| ASTM SCD DSS: Operational Intent Reference Synchronization | 126 | 0 | No |
| ASTM SCD DSS: Interfaces authentication | 182 | 0 | No |
| ASTM SCD DSS: Subscription Simple | 403 | 0 | No |
| ASTM SCD DSS: Subscription Validation | 7 | 0 | No |
| ASTM F3548-21 UTM DSS Operational Intent Reference Access Control | 18 | 0 | No |
| ASTM F3548-21 UTM DSS interoperability | 2 | 0 | No |
| ASTM SCD DSS: Subscription Synchronization | 398 | 0 | No |
| ? | 0 | 0 | No |
| OVN Request Optional Extension to ASTM F3548-21 | 12 | 0 | No |
| ASTM SCD DSS: Report | 2 | 0 | No |
| ASTM Availability DSS: USS Availability Mutation | 4 | 0 | No |
| Validation of operational intents | 36 | 0 | No |
| Validation of operational intents | 38 | 0 | No |
| Nominal planning: conflict with higher priority | 180 | 1 | No |
| Nominal planning: conflict with higher priority | 179 | 1 | No |
| Nominal planning: conflict with higher priority | 178 | 0 | No |
| Nominal planning: conflict with higher priority | 175 | 0 | No |
| Nominal planning: not permitted conflict with equal priority | 141 | 0 | No |
| Nominal planning: not permitted conflict with equal priority | 128 | 0 | No |
| Nominal planning: not permitted conflict with equal priority | 144 | 0 | No |
| Nominal planning: not permitted conflict with equal priority | 131 | 0 | No |
| Data Validation of GET operational intents by USS | 52 | 0 | No |
| Data Validation of GET operational intents by USS | 53 | 0 | No |
| Awareness of relevant operational intents | 67 | 0 | No |
| Awareness of relevant operational intents | 69 | 0 | No |
| Off-Nominal planning: down USS | 28 | 0 | No |
| Off-Nominal planning: down USS | 29 | 0 | No |
| Off-Nominal planning: down USS with equal priority conflicts not permitted | 20 | 0 | No |
| Off-Nominal planning: down USS with equal priority conflicts not permitted | 20 | 0 | No |
| ASTM F3548 flight planners preparation | 38 | 0 | No |
| ASTM F3548 makeUssReport | 2 | 0 | No |
| ASTM F3548-21 evaluate system versions | 9 | 0 | No |
| ASTM F3548 UTM aggregate checks | 6 | 0 | No |
Failed checks per participant
| Participant | Failed checks | Unique requirements |
|---|---|---|
flight_blender |
2 | 1 |
Failed checks (2 total, showing first 2)
| Check | Participants | Requirements | Summary |
|---|---|---|---|
| 🔵 Rejected modification | flight_blender |
astm.f3548.v21.SCD0030 |
Warning (not a failure): modification got rejected but a pre-existing conflict w |
| 🔵 Rejected modification | flight_blender |
astm.f3548.v21.SCD0030 |
Warning (not a failure): modification got rejected but a pre-existing conflict w |
InterUSS uss_qualifier — netrid_v22a
Codebase: interuss/monitoring/v0.30.0 (commit d1166f192120)
Started: 2026-07-06T22:33:06.067930Z
Ended: 2026-07-06T22:39:02.095589Z
Overall result: ✅ PASS
Check results
| Result | Count |
|---|---|
| ✅ Pass | 10580 |
| ❌ Fail | 0 |
| Total | 10580 (100% pass) |
Per-scenario breakdown
| Scenario | ✅ Pass | ❌ Fail | Execution error |
|---|---|---|---|
| ? | 0 | 0 | No |
| ASTM NetRID Service Provider operator notification under slow update rate | 8 | 0 | No |
| ASTM NetRID Display Provider behavior | 19 | 0 | No |
| ASTM NetRID networked UAS disconnection | 122 | 0 | No |
| ASTM NetRID Service Provider operator notification on missing fields | 58 | 0 | No |
| ASTM NetRID Service Provider notification behavior | 11 | 0 | No |
| ASTM NetRID nominal behavior | 3167 | 0 | No |
| ASTM NetRID SP clients misbehavior handling | 16 | 0 | No |
| ASTM NetRID DSS: Endpoint encryption | 0 | 0 | No |
| ASTM NetRID DSS: Simple ISA | 80 | 0 | No |
| ASTM NetRID DSS: Submitted ISA Validations | 10 | 0 | No |
| ASTM NetRID DSS: ISA Expiry | 6 | 0 | No |
| ASTM NetRID DSS: ISA Subscription Interactions | 30 | 0 | No |
| ASTM NetRID DSS: Subscription Validation | 19 | 0 | No |
| ASTM NetRID DSS: Subscription Simple | 382 | 0 | No |
| ASTM F3411-22a NetRID DSS interoperability | 125 | 0 | No |
| ASTM NetRID DSS: Token Validation | 25 | 0 | No |
| ? | 0 | 0 | No |
| ASTM NetRID DSS: Concurrent Requests | 2910 | 0 | No |
| ASTM NetRID DSS: Endpoint encryption | 0 | 0 | No |
| ASTM NetRID DSS: Simple ISA | 80 | 0 | No |
| ASTM NetRID DSS: Submitted ISA Validations | 10 | 0 | No |
| ASTM NetRID DSS: ISA Expiry | 6 | 0 | No |
| ASTM NetRID DSS: ISA Subscription Interactions | 30 | 0 | No |
| ASTM NetRID DSS: Subscription Validation | 19 | 0 | No |
| ASTM NetRID DSS: Subscription Simple | 382 | 0 | No |
| ASTM F3411-22a NetRID DSS interoperability | 125 | 0 | No |
| ASTM NetRID DSS: Token Validation | 25 | 0 | No |
| ? | 0 | 0 | No |
| ASTM NetRID DSS: Concurrent Requests | 2910 | 0 | No |
| ASTM F3411-22a NetRID aggregate checks | 5 | 0 | No |
|
I fixed the startup issue, and added some homepage features. |
This PR adds the home view to the server so that the default page is shown