Skip to content

Fix #2865, add compatibility logic for old configs - #2866

Merged
jphickey merged 1 commit into
nasa:devfrom
jphickey:fix-2865-old-config-compat
Oct 9, 2026
Merged

jphickey merged 1 commit into
nasa:devfrom
jphickey:fix-2865-old-config-compat

Conversation

@jphickey

@jphickey jphickey commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

name: FSW Code Change
about: Flight Software code changes
labels: fsw

Description of Change

For cfe_* config files, re-instate the old behavior of picking up files named with the MISSIONCONFIG prefix (e.g. sample_mission_cfg.h and sample_perfids.h for cfe_mission_cfg.h and cfe_perfids.h, respectively)

Note this only patches the cmake script that picks the header file to use. No actual FSW is changed here.

Linked Issue

Closes #2865

Requirements Impact

  • Requirement ID(s):
  • Requirements updated as necessary
  • Existing requirements are still satisfied by this change

Testing Evidence

All tests run (does not affect actual FSW or tests)

Unit Tests (UT Assert)

No changes

COSMOS Test Suite

No changes

Areas of Expertise Touched

  • ASTRO
  • CI/CD
  • COSMOS
  • Cybersecurity
  • Docker
  • EDS
  • Git
  • PSPs
  • SBN
  • SMP
  • Tables
  • TSN
  • Unit Tests
  • Other

Author Checklist

  • Linked GitHub issue is referenced above
  • Code has been formatted with .clang-format
  • Static analysis workflows ran and passed
  • Unit tests (UT Assert) updated/added to cover code changes
  • Unit test workflows ran and passed
  • COSMOS test suite was run; tests updated/added if relevant changes were made
  • Requirements have been reviewed; updated or confirmed still satisfied (see above)
  • Testing evidence is included above
  • Self-review of the diff completed

Reviewer Checklist

  • Code logic is correct and matches the stated intent
  • Code is readable, maintainable, and follows project conventions (ask your lead if you are unsure of where to find these conventions)
  • .clang-format has been applied
  • Static analysis results reviewed and acceptable
  • The change has been exercised by the unit tests (not just that tests pass — the new/changed code paths are actually covered)
  • COSMOS test suite was executed against this change and results reviewed (or confirmed N/A with justification)
  • Reviewer has independently verified the change behaves as described (e.g., by running the tests locally, reviewing CI output in detail, or performing additional ad-hoc testing as warranted)
  • Memory safety reviewed (allocation, bounds, lifetime, stack usage)
  • Requirements impact reviewed and appropriate
  • Error handling is appropriate
  • Appropriate Expert areas have been reviewed

Reviewer Testing Notes

@chillfig
chillfig self-requested a review October 6, 2026 18:42
Comment thread cmake/global_functions.cmake Resolved
For cfe_* config files, re-instate the old behavior of picking up files
named with the MISSIONCONFIG prefix (e.g. sample_mission_cfg.h and
sample_perfids.h for cfe_mission_cfg.h and cfe_perfids.h, respectively)
@jphickey
jphickey force-pushed the fix-2865-old-config-compat branch from 4d5a467 to 1677a97 Compare October 9, 2026 11:45
@jphickey
jphickey merged commit 09d7fa5 into nasa:dev Oct 9, 2026
17 checks passed
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.

CMake scripts not picking up historical override file

2 participants