Skip to content

test: ratchet GASP geometry tests away from global option defaults - #1

Closed
suhaslord wants to merge 174 commits into
mainfrom
cleanup/explicit-geometry-test-options
Closed

test: ratchet GASP geometry tests away from global option defaults#1
suhaslord wants to merge 174 commits into
mainfrom
cleanup/explicit-geometry-test-options

Conversation

@suhaslord

@suhaslord suhaslord commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Addresses a focused chunk of OpenMDAO#1251.

This turns the first GASP geometry slice away from get_option_defaults() and adds a migration ratchet so new geometry tests cannot reintroduce the same hidden dependency while the remaining larger legacy modules are cleaned up incrementally.

What changed

  • migrated all 7 fold/strut dimensional-conversion configurations to explicit AviaryValues
  • migrated the empennage computed-volume-coefficient configuration to explicit options
  • removed duplicate empennage input-default setup encountered in the same test path
  • added an AST-based guard that rejects new get_option_defaults imports in GASP geometry tests
  • leaves only the three existing large legacy modules (test_fuselage.py, test_size_group.py, test_wing.py) grandfathered for follow-up cleanup

Why

The tests now expose the option dependencies they actually need instead of silently inheriting the full metadata default set. The guard makes this a one-way migration: legacy uses can disappear without updating the test, but new uses fail.

Scope

Test infrastructure only; no production-model behavior changes.

Current branch is based on the latest upstream main. Full Aviary Tests, docs, and benchmark workflows are running on the fork before upstream submission.

Kenneth-T-Moore and others added 30 commits June 5, 2026 16:49
…wo fuselage points, which are overwritten anyway.
Fixed a bug where an extra constraint was added to solved 2dof
Kenneth-T-Moore and others added 26 commits August 18, 2026 16:36
Remove get_option_defaults() from V3_bug_fixed_IO.py
Converted Aircraft.Fuselage.AISLE_WIDTH from an option to a variable
@suhaslord suhaslord changed the title test: make GASP geometry option setup explicit test: ratchet GASP geometry tests away from global option defaults Aug 22, 2026
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.

7 participants