refactor: move MAX_MACH to aircraft design namespace - #1277
Conversation
- Make patch_metadata() idempotent by checking if MAX_MACH is already correctly positioned after MAX_FUSELAGE_PITCH_ANGLE with the expected description before making any changes - Strip multiple blank lines when reinserting the MAX_MACH metadata block to ensure exactly one blank line separator is maintained - Only rewrite the manifest when there are actual content migrations (python_symbol or serialized_key replacements > 0) to preserve the historical 50-file migration record on idempotent re-runs This fixes the failing CI check that runs the migration tool twice and expects zero git diff on the second run. Co-authored-by: Suhas <suhaslord@users.noreply.github.com>
- Split long metadata_block call lines for readability - Remove trailing whitespace from blank line Fixes pre_commit/ruff-format CI check. Co-authored-by: Suhas <suhaslord@users.noreply.github.com>
Ruff prefers the shorter call to fit on a single line for readability. Co-authored-by: Suhas <suhaslord@users.noreply.github.com>
|
Heads-up: the latest-ubuntu |
…gainst flakes Bump IPOPT max_iter from 100 to 150 for test_bench_Solved2DOF_landing to address occasional convergence failures on latest-ubuntu py314. Other platforms pass consistently; this provides margin for solver variability without changing test logic or tolerances.
|
Please related PR #1250 on MAX_MACH |
|
Yep, linked #1250 — thanks for pointing it out. I’m comparing the
overlap now so I can keep #1277 focused on anything not already
covered there.
…On Mon, 24 Aug 2026 08:16:40 -0700, Xun Jiang ***@***.***> wrote:
xjjiang left a comment [(OpenMDAO/Aviary#1277)](#1277 (comment))
Please related PR [#1250](#1250) on MAX_MACH
—
Reply to this email directly, [view it on GitHub](#1277?email_source=notifications&email_token=BBJPPMX2NCFBQ2S3VS3VV5L5LRL5RA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMZZG4ZTANZZGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5397307927), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BBJPPMVZSFNIBAXTE4OAVWL5LRL5RAVCNFSNUABFKJSXA33TNF2G64TZHM3TGMZZGUZTMNZWHNEXG43VMU5TKMRSGA3DOOJQGY4KC5QC).
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for [iOS](https://github.com/notifications/mobile/ios/BBJPPMQHTFQJQYVCP4EXXVL5LRL5RA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMZZG4ZTANZZGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG) and [Android](https://github.com/notifications/mobile/android/BBJPPMW5EJC6KFQN5SP5QRT5LRL5RA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMZZG4ZTANZZGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA). Download it today!
You are receiving this because you authored the thread.
|
|
Thanks for the contribution, sorry you didn't realize we were already working this one internally and cause some duplicated effort. As it currently stands, the scope of the PR is far beyond a simple variable name update - I see significant additions to the repository structure with new workflows, utility scripts, and variable data. I don't know the intent behind these new tools, how they are intended to be used by developers and/or users, and their maintainability. Since the original issue is addressed I'm going to close this PR - if you think these tools have value for Aviary please start a thread on the discussions page to more formally propose them! |
|
Thanks Jason, understood. I definitely let the scope grow beyond the
original issue. I’ll keep #1277 closed and, if there’s a piece of the
added tooling that seems worth pursuing, I’ll propose it separately in
Discussions first before opening another PR.
…On Thu, 27 Aug 2026 08:26:52 -0700, Jason Kirk ***@***.***> wrote:
jkirk5 left a comment [(OpenMDAO/Aviary#1277)](#1277 (comment))
Thanks for the contribution, sorry you didn't realize we were already working this one internally and cause some duplicated effort.
As it currently stands, the scope of the PR is far beyond a simple variable name update - I see significant additions to the repository structure with new workflows, utility scripts, and variable data. I don't know the intent behind these new tools, how they are intended to be used by developers and/or users, and their maintainability. Since the original issue is addressed I'm going to close this PR - if you think these tools have value for Aviary please start a thread on the discussions page to more formally propose them!
—
Reply to this email directly, [view it on GitHub](#1277?email_source=notifications&email_token=BBJPPMSRODX2TRKYXYRLXM35MBHLZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNBUGEZTMNRRGI3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5441366126), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BBJPPMWW3VJ45XA43JO7KRT5MBHLZAVCNFSNUABFKJSXA33TNF2G64TZHM3TGMZZGUZTMNZWHNEXG43VMU5TKMRSGA3DOOJQGY4KC5QC).
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for [iOS](https://github.com/notifications/mobile/ios/BBJPPMQJXKWFVHTSZCEKZ7D5MBHLZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNBUGEZTMNRRGI3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG) and [Android](https://github.com/notifications/mobile/android/BBJPPMW2ZEEW7J3WYDY2EIL5MBHLZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNBUGEZTMNRRGI3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA). Download it today!
You are receiving this because you authored the thread.
|
Summary
Moves MAX_MACH from Mission.Constraints to Aircraft.Design so it lives with other aircraft design options, with a migration path that preserves hierarchy invariants.
Same change set as suhaslord#2 (merged on the fork as 283267d).
Why
MAX_MACH is an aircraft design property; mission-constraint labeling was misleading for option contracts.
What changed
Test plan