Skip to content

Wire both hubs through Svc.ComQueue + Svc.ComStub and report the hub allocation counter - #5

Open
devin-ai-integration[bot] wants to merge 6 commits into
develfrom
devin/1793847628-hub-comqueue-comstub
Open

devin-ai-integration[bot] wants to merge 6 commits into
develfrom
devin/1793847628-hub-comqueue-comstub

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Summary

Companion to JPL-Devin/fprime#278 (nasa/fprime#6166). Both deployments now use the recommended hub wiring from the GenericHub SDD "Transport formations" section:

hub.toBufferDriver -> hubComQueue.bufferQueueIn[0] -> hubComStub -> hubComDriver ($send)
hubComQueue.bufferReturnOut[0] -> hub.toBufferDriverReturn ; hubComDriver.ready -> hubComStub.drvConnected
  • New instances per deployment: *_hubComQueue (depth 30 = hub pool size, instance queue 40 = pool + 8), *_hubComStub, and *_hubComDriverBufferManager so the driver's receive pool no longer competes with the hub's send pool. Receive path unchanged (Drv.Udp -> ByteStreamBufferAdapter -> hub).
  • rateGroup3 -> hub.schedIn so NumAllocationFailures is reported; rateGroup1 -> hubComQueue.run for queue telemetry.
  • ComponentA uses the new Svc::GenericHub_HubType FPP enum (HUB_TYPE_MAX → NUM_CONSTANTS).
  • New integration tests: test_hub_no_allocation_failures, test_hub_queue_telemetry (depth channel received, counter 0, no BufferAllocationFailed/QueueOverflow). Suite: 8/8 against both deployments on this wiring.

lib/fprime points at the #278 branch head on the JPL-Devin fork; re-point to the upstream commit once #278 merges (the submodule URL is nasa/fprime, so CI here cannot resolve it until then).

Requested by: @thomas-bc-autobot

…omStub, split the driver receive pool, report the hub counter; integration test for queue telemetry

Follows the recommended hub wiring from Svc/GenericHub/docs/sdd.md (JPL-Devin/fprime#278):
hub.toBufferDriver -> ComQueue.bufferQueueIn[0] -> ComStub -> Drv.Udp, queue depth 30 (= hub pool),
instance queue 40 (= pool + 8). The byte-stream adapter stays on the receive side. Each hub gets
schedIn from rate group 3 so NumAllocationFailures is reported. ComponentA uses the new
Svc::GenericHub_HubType FPP enum. lib/fprime points at the #278 branch head.
@devin-ai-integration

Copy link
Copy Markdown
Author

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

Original prompt from thomas.boyer.chammard

@playbook:playbook-c60a4c0b400a4b3fa08f897a831c74d6 nasa/fprime#6166

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