Skip to content

Finish Emulator MVP#11

Merged
raffael0 merged 7 commits intomainfrom
6-config-management
Mar 18, 2026
Merged

Finish Emulator MVP#11
raffael0 merged 7 commits intomainfrom
6-config-management

Conversation

@raffael0
Copy link
Copy Markdown
Member

@raffael0 raffael0 commented Nov 24, 2025

  • created a rust representation of the sample_config.toml, which successfully deserializes the toml
  • Added a deserializer for strings representating binary values

I still have some stuff to do, namely:

  • fix the main application flow

@raffael0 raffael0 linked an issue Nov 24, 2025 that may be closed by this pull request
4 tasks
@raffael0 raffael0 changed the title - Added a deserializer for strings representating binary values Improved Config Deserialization Nov 25, 2025
@raffael0 raffael0 force-pushed the 6-config-management branch from 8e688a7 to fef7569 Compare February 12, 2026 22:44
- created a rust representation of the sample_config.toml, which now successfully deserializes

# Conflicts:
#	Cargo.lock
#	src/main.rs
- Added config field necesssary for message handling

� Conflicts:
�	src/message_handling/message_handler.rs
�	src/message_handling/mod.rs
�	src/protocol/payloads.rs
- Implemented most of the message handling
- Added can interface to config
Remove old code
@raffael0 raffael0 force-pushed the 6-config-management branch from fef7569 to d0bdad6 Compare March 14, 2026 13:30
@raffael0 raffael0 changed the title Improved Config Deserialization Finish Emulator MVP Mar 14, 2026
@raffael0 raffael0 marked this pull request as ready for review March 14, 2026 13:30
@raffael0 raffael0 requested a review from miDeb March 14, 2026 13:31
@raffael0
Copy link
Copy Markdown
Member Author

I think this PR should implement most of the required stuff to get it working with FerroFlow. Some smaller stuff is still missing. Like sending status messages

Copy link
Copy Markdown
Member

@miDeb miDeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I'm sure it's going to be very helpful in development: I already found one bug in ferroflow / the spec: Currently ferroflow promotes a node from "registering" as soon as it got all field definitions. However, if telemetry group definitions arrive later, we don't find the node among the "registering" ones. We could fix it in ferroflow and also allow registering telemetry groups after the node "was ready", or maybe add a telemetry group count to the node info announcement...

Anyway that was a bit off-topic, I'll play around a bit more with it and the configuration as I add some more things to ferroflow the next days, I think this is very nice!

@raffael0
Copy link
Copy Markdown
Member Author

raffael0 commented Mar 18, 2026

Nice thanks!

So you ran both versions already? Good to know that it works :)

Can't we just check for the total number of telemetryvalues already received? And compare that to the tel_count in the node info? Because every telemetry value has to be in one group - even though that's not explicitly defined I think it can be implied

@raffael0 raffael0 merged commit 11ff3d9 into main Mar 18, 2026
1 check passed
@miDeb
Copy link
Copy Markdown
Member

miDeb commented Mar 21, 2026

Can't we just check for the total number of telemetryvalues already received? And compare that to the tel_count in the node info? Because every telemetry value has to be in one group - even though that's not explicitly defined I think it can be implied

I guess so, I'll implement it in a new PR in FF

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.

Config Management

2 participants