Skip to content

Refactor SDSP session handling: rename methods and update documentati… - #111

Merged
atti92 merged 1 commit into
mainfrom
flight-phase-for-sdsp-session
Mar 30, 2026
Merged

Refactor SDSP session handling: rename methods and update documentati…#111
atti92 merged 1 commit into
mainfrom
flight-phase-for-sdsp-session

Conversation

@atti92

@atti92 atti92 commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Separate Start and Stop step for SDSP session to add phase.
#104

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refactors SDSP session lifecycle handling by splitting the previously combined “Start / Stop SDSP Session” operation into two distinct operations so they can be annotated with flight phases (supporting step grouping/tagging work from #104).

Changes:

  • Replaced the combined SDSP session step with Start SDSP Session (PRE_FLIGHT) and Stop SDSP Session (POST_FLIGHT).
  • Updated YAML scenarios and docs to use the new step names and remove the action argument.
  • Updated unit tests and scenario code to call the new client methods.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/openutm_verification/core/clients/flight_blender/flight_blender_client.py Introduces _sdsp_session_action helper and new phased start/stop scenario steps.
src/openutm_verification/scenarios/test_sdsp_track_with_bluesky_sim.py Updates scenario code to call start_sdsp_session / stop_sdsp_session.
scenarios/sdsp-f3623/verify_sdsp_metrics.yaml Migrates scenario steps to new SDSP start/stop operations.
scenarios/sdsp-f3623/sdsp_track.yaml Migrates scenario steps to new SDSP start/stop operations.
scenarios/sdsp-f3623/sdsp_heartbeat.yaml Migrates scenario steps to new SDSP start/stop operations.
scenarios/README.md Updates example YAML and operation list to reflect new step names.
docs/scenarios/sdsp-f3623/sdsp_track.md Updates documentation step names for the SDSP track scenario.
docs/scenarios/sdsp-f3623/sdsp_heartbeat.md Updates documentation step names for the SDSP heartbeat scenario.
tests/test_client_steps.py Splits SDSP session test into separate start and stop tests; removes enum import.
tests/test_yaml_scenarios.py Updates mocks to match the new start/stop SDSP methods.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@atti92
atti92 merged commit 0ad075f into main Mar 30, 2026
6 checks passed
@hrishiballal
hrishiballal deleted the flight-phase-for-sdsp-session branch April 5, 2026 15:54
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.

3 participants