Skip to content

refactor(reports): native aircraft from live Flight — ADR-0033 root fix (v2.78.0, ADR-0038)#40

Merged
BigBill1418 merged 1 commit into
mainfrom
refactor/flight-attach-phase1
Jul 3, 2026
Merged

refactor(reports): native aircraft from live Flight — ADR-0033 root fix (v2.78.0, ADR-0038)#40
BigBill1418 merged 1 commit into
mainfrom
refactor/flight-attach-phase1

Conversation

@BigBill1418

Copy link
Copy Markdown
Owner

Phase 1 flight-attach unification: native flights resolve aircraft from the live Flight join, never the stale junction aircraft_id copy; native attach stops copying it. Fixes the ADR-0033 staleness class at root (a serial registered after attach now shows with no re-attach). Legacy-ODL keeps the junction read (Phase 2 defers). No columns dropped; ADR-0007/0029 untouched. 4 new tests (incl. the late-link scenario) + 2 contract updates; 511 pass.

…top copying junction aircraft_id (v2.78.0, ADR-0038)

Root fix for the ADR-0033 junction-staleness class. Native flights (flight_id
set) now resolve aircraft from the live Flight.aircraft join, never the
junction's copied aircraft_id (which snapshots at attach time and goes stale).
Native attach stops copying aircraft_id (single + bulk). Legacy-ODL keeps the
junction read (Phase 2 will materialize it). Shared _build_aircraft_cards for
PDF + narrative. A serial registered after attach now shows with no re-attach.
4 new tests + 2 contract updates; 511 pass. No columns dropped.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@BigBill1418 BigBill1418 merged commit f1d99fb into main Jul 3, 2026
1 check failed
@BigBill1418 BigBill1418 deleted the refactor/flight-attach-phase1 branch July 3, 2026 08:48
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