Skip to content

Fix #159, Simplify CDS operations - #160

Open
Cameron-Sykes wants to merge 13 commits into
nasa:devfrom
Cameron-Sykes:fix-159-simplify-cds
Open

Cameron-Sykes wants to merge 13 commits into
nasa:devfrom
Cameron-Sykes:fix-159-simplify-cds

Conversation

@Cameron-Sykes

Copy link
Copy Markdown
Contributor

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

Description of Change

  • Use one handle for all of CDS
  • Create a CDS data struct
  • Replace TableResults with a simple status returned from LC_CreateTaskCDS()
  • Rename LC_CreateTaskCDS() to LC_GetCDSData()

Linked Issue

Closes #159
Closes #92

Requirements Impact

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

Testing Evidence

Unit Tests (UT Assert)

COSMOS Test Suite

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

@Cameron-Sykes Cameron-Sykes self-assigned this Nov 13, 2026
@Cameron-Sykes
Cameron-Sykes force-pushed the fix-159-simplify-cds branch 2 times, most recently from c9de532 to 882a348 Compare November 13, 2026 19:51
@Cameron-Sykes
Cameron-Sykes force-pushed the fix-159-simplify-cds branch 3 times, most recently from e76fce4 to dca38d6 Compare November 13, 2026 21:42
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.

Simplify CDS operations Refactor multiple return statements in LC_CreateTaskCDS()

1 participant