Skip to content

BUG: stop a time parachute trigger on the rail from crashing Flight - #1226

Merged
Gui-FernandesBR merged 2 commits into
developfrom
bug/time-trigger-on-rail
Nov 21, 2026
Merged

Gui-FernandesBR merged 2 commits into
developfrom
bug/time-trigger-on-rail

Conversation

@Gui-FernandesBR

Copy link
Copy Markdown
Member

Related to #1209

A ("time", t) parachute trigger that fired while the rocket was still on the rail (t=0.05 s on Calisto, rail exit at 0.363 s) crashed Flight with "No valid roots found when solving for impact time", and later times (0.2 s, 0.3 s) silently lost the parachute. The deployment swaps the rail dynamics for free flight, so the rocket either sinks below the ground before ever leaving the rail or has the parachute phase replaced when the rail exit is detected. Parachute now rejects t <= 0, and Flight cancels any trigger that fires before rail exit and raises a ValueError naming the parachute, its deploy time and the rail exit time. A callable trigger that returns True on the rail failed the same way on v1.13.0 and develop, so the same check covers it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XDW575d9C9zpS7Z1v2KXVq

@Gui-FernandesBR
Gui-FernandesBR requested a review from a team as a code owner November 19, 2026 23:59
@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.64%. Comparing base (47bbd24) to head (106790d).
⚠️ Report is 14 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1226      +/-   ##
===========================================
+ Coverage    86.55%   86.64%   +0.08%     
===========================================
  Files          131      131              
  Lines        18255    18271      +16     
===========================================
+ Hits         15801    15830      +29     
+ Misses        2454     2441      -13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Gui-FernandesBR and others added 2 commits November 21, 2026 09:55
A parachute that deploys at or before ignition cannot be simulated, so
Parachute and StochasticParachute now require a positive delay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XDW575d9C9zpS7Z1v2KXVq
…e rail

Deploying on the rail replaced the rail dynamics with free flight, ending in
"No valid roots found" or a flight that lost the parachute at rail exit.
Flight now cancels the trigger and raises, naming the parachute and both times.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XDW575d9C9zpS7Z1v2KXVq
@Gui-FernandesBR
Gui-FernandesBR force-pushed the bug/time-trigger-on-rail branch from bf17d88 to 106790d Compare November 21, 2026 12:55
@Gui-FernandesBR
Gui-FernandesBR merged commit a5097fd into develop Nov 21, 2026
8 checks passed
@Gui-FernandesBR
Gui-FernandesBR deleted the bug/time-trigger-on-rail branch November 21, 2026 12:55
MateusStano added a commit that referenced this pull request Nov 28, 2026
* DOC: backfill the v1.14.0 changelog

The changelog automation has not run since #1112, so the PRs merged into develop after it were missing from [Unreleased]. Add them, add the entries for #1225, #1226 and #1227, update the tip-off, tube-fins and parachute-seed entries to what the release ships, and drop the raw commit link, the back-merge entry and the duplicate StochasticFreeFormFins entry.

Related to #1209

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XDW575d9C9zpS7Z1v2KXVq

* DOC: add a Breaking changes section to the v1.14.0 changelog

List what changes for a v1.13.0 user: Monte Carlo seeding and numbering, the deprecated static_margin assignment, the parachute trigger ValueError on the rail, the shifted flight results, and the sensor default temperature.

Related to #1209

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XDW575d9C9zpS7Z1v2KXVq

* DOC: bring the v1.14.0 changelog up to date with develop

Describe the forecast reuse and the opt-in disk cache that replaced the
first cache (#1219), and add the PRs merged after the backfill: #1221,
#1222, #1223, #1224, #1231, #1232, #1234, #1239 and #1242.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: MateusStano <[email protected]>
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.

2 participants