Repository navigation
Conversation
- Header and empty state use the team mark (outreach/main/logo_icon.svg) through a TeamLogo component that crops the SVG's empty canvas. - Header wraps on narrow screens: title + theme toggle, then a full-width row of load controls; single row from lg. - Tab bar scrolls by itself instead of widening the page; board stats wrap; the Sockets table keeps a min width and scrolls inside its container.
- New "Count bytes as" switch in the Throughput scenario panel, replacing the preamble/inter-frame gap checkbox. - Wireshark mode counts the frame length a capture on the backend shows: no preamble, gap or FCS; received frames padded (60 B min), sent frames unpadded (keep-alive 56 B, ACK 54 B). - Flow breakdowns, table headers and the help sheet follow the mode; the help adds a "Matching Wireshark" section.
Native number spinners ignored the theme and overlapped right-aligned values. StepperInput hides them and draws themed up/down buttons (±1, never below 0); arrow keys still step the value.
[ADJ Viewer]: enhancements & throughtput calculator
[ADJ Viewer] throughput calculator enhancements
…ctron-window-title
Test now are useful
[Testing View] feat(testing-view): new colour theme Twight
feat(competition-view): terminal-style message log, font-size control and mock backend
… forwarding and some tests in http
…timeout configurable
…ories feat(testing-view): categorize messages and add icons
Update base
# Conflicts: # backend/crates/core/src/lib.rs
# Conflicts: # backend/crates/core/src/lib.rs # backend/crates/station/src/main.rs
…oads" -m "- Move pipeline from software-core into station (crates/station/src/pipeline.rs) - Map ToPipeline variants (connections, protections, board messages, problems, order outcomes) to payload types and publish immediately via BrokerClient - Aggregate Packet::Data telemetry per packet ID over 100 ms windows (cumulative count, mean cycle_time, per-measurement last and window average) and flush on shutdown - Re-export MeasurementUpdate, MessageKind, MessagePayload, and MessageTimestamp from station::payload - Expose event and pipeline from station::lib so station modules share crate-level imports - Add unit tests for immediate event forwarding, 100 ms data windowing, and UTC calendar timestamp conversion
…ar format as rest of station. Created README
GaziH
marked this pull request as draft
December 3, 2026 16:20
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
pipelineisstation::pipelineconsumesToPipelineitems fromstation::event, packs them intostation::payloadmodels, and publishes them to the frontend throughstation::websocket::broker::BrokerClient.Packet::Dataframes are accumulated in memory per packet ID and flushed on a fixed 100 ms interval (podData/update) with cumulativecount, averagedcycleTime, and per-measurementlast+ windowaverage.The full design and topic mapping are documented in
backend/crates/station/src/pipeline/README.md.Changes
station::pipelineEvent::Connected/Event::Disconnected→connection/update(publish_connection)Packet::Data→podData/update(publish_data, batched every 100 ms)Packet::Protection→protection/update(publish_protection)Packet::Message→message/update(publish_message)ToPipeline::Problem→message/update(Shown→warning,Fatal→fault,Silentignored)ToPipeline::OrderSent/OrderFailed→message/update(info/warning)order/send,logger/enable,logger/variables,connection/heartbeat) andlogger/responseare intentionally excluded.biased;intokio::select!) so sustained high-rate UDP traffic cannot starve telemetry publication.BrokerClientcapacity instead of dropping decoded events; flushes any dirty telemetry whenchannels.pipelinecloses on shutdown.accumulator.rs):HashMap/Stringallocations on the UDP hot path.countandlast_atpersist across windows while measurement averages and inter-arrival samples reset each tick.Supporting changes
crates/station/src/payload.rs: re-exportedMeasurementUpdate,MessageKind,MessagePayload, andMessageTimestampsopipelinecan construct payload structs cleanly.crates/station/src/lib.rs&src/main.rs: exposedpub mod event;andpub mod pipeline;from the library crate (switchingmain.rstouse station::event;) sostationmodules sharecrate::imports.pipelinedraft fromsoftware-core(if applicable on this branch).Open points for review
pipeline+Broker): BothpipelineandBroker::runcurrently flushDataPacketUpdateon a 100 ms interval (up to 100–200 ms end-to-end). Worth confirming whetherBrokershould keep its own batching timer or publishUpdate::Dataimmediately now thatpipelineaggregates per window.hexValueinDataPacketUpdate: Left empty ("") becauseNotificationcarries decodedValues rather than raw UDP bytes.order/stateOrders: Not published yet sincesoftware_core::model::Packethas no state-orders variant.message/updatelabels: Confirm"backend"(general problems),"all"(fault broadcast /board = None), andorder.id.0.to_string()(ordername) match what the frontend expects.Testing
cargo test -p station cargo clippy -p station --all-targetsstationunit tests pass, including 3 newpipeline::testscovering:OrderSent, andOrderFailed.count, meancycleTime,last, windowaverage) and flush-on-shutdown using paused Tokio time.pipeline.Merge Order
Important
This PR must be merged after both the
eventandwebsocket/payloadPRs.station::pipelinedepends directly on types and interfaces introduced by both branches:event(#<event-pr>): consumesToPipeline,Problem, andProblemKind.websocket/payload(#680): formatsstation::payloadmodels and publishes them throughBrokerClient.Rebase or merge the base branch once both PRs are in before merging this one.