Skip to content

Raw C apps check CFE_MSG return codes; pin fprime_cfs/fprime_app review-nit branches - #45

Open
lestarch-autobot wants to merge 1 commit into
fprime-community:develfrom
lestarch-autobot:devin/1793850000-cfs-nits
Open

lestarch-autobot wants to merge 1 commit into
fprime-community:develfrom
lestarch-autobot:devin/1793850000-cfs-nits

Conversation

@lestarch-autobot

@lestarch-autobot lestarch-autobot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Residual review nits from #41, plus the pins for the matching library/app nit PRs:

Gitlinks point at the lestarch-autobot fork commits until #34 and #25 merge; re-pin to the upstream SHAs before merging (same order as #41 → #42, #43).

2026-11-06 rebase: rebased onto devel after #44 (ci_lab/to_lab GDS path). The fprime_cfs#34 branch was itself rebased onto fprime_cfs devel so the libs/fprime_cfs gitlink (bb8675b) carries both #33 (cfs-lab/cfs GDS plugins) and the #34 nits; apps/fprime_app stays at the #25 head (6a1f56d, one commit ahead of devel). The two original commits collapsed into one.

Testing

Clean make -j8 && make install; live core-cpu1 with fprime-gds --ip-client --ip-port 15010 through the GdsBridge app (pre-#44; the post-rebase run goes through --communication-selection cfs-lab --framing-selection cfs in CI): raw_commander ↔ EchoResponder and EchoCommander ↔ raw_commanded matched every cycle, no mismatch/timeout/checksum events; pytest test/int 9/9. Library UTs: CfsRouter 18/18 (incl. 5000-packet fuzz), CfsCmdFramer 5/5, CfsAppBridge 7/7, CfsBridge 30/30; EchoResponder 5/5, EchoCommander 7/7 from a clean UT build.

AI Used: y — developed with Devin (lestarch-autobot), directed by M Starch.


Written by Devin

…ew-nit branches

- raw_commander / raw_commanded: every CFE_MSG_GetMsgId / GetSize / GetFcnCode / ValidateChecksum return code is checked; a failure is reported with a new RAW_COMMANDER_MSG_ERR_EID / RAW_COMMANDED_MSG_ERR_EID event and the message is dropped (counted as rejected on the commanded side)
- libs/fprime_cfs -> 38b039e (shared CfsChecksum, CfsRouter malformed-packet fuzz UT, cfsDataIn allocation-failure UT)
- apps/fprime_app -> 6a1f56d (ComCfg.EchoFunctionCode single source; EchoCommander UT compile fix)

Co-authored-by: M Starch <LeStarch@googlemail.com>
@lestarch-autobot
lestarch-autobot force-pushed the devin/1793850000-cfs-nits branch from 79477db to 1284757 Compare November 6, 2026 23:17
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.

1 participant