Skip to content

feat: add combined multi-module showcases and PIT - #452

Open
Subramanian-K812 wants to merge 15 commits into
eclipse-score:mainfrom
qorix-group:Subramanian-K812_add_combined_showcase
Open

Subramanian-K812 wants to merge 15 commits into
eclipse-score:mainfrom
qorix-group:Subramanian-K812_add_combined_showcase

Conversation

@Subramanian-K812

@Subramanian-K812 Subramanian-K812 commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #229 — "Creates additional complex showcases that will combine
multiple Modules."

Adds 6 combined showcases that demonstrate two or three platform modules working
together, plus a platform_integration_tests/combined PIT package
that runs them in CI.

New showcases

Showcase Modules What it demonstrates
lifecycle_comm score_lifecycle + score_communication Launch manager starts and supervises com-api-example; process reaches Startup in ~5.5 s and shuts down cleanly
lifecycle_kyron score_lifecycle + score_kyron Launch manager supervises safety_task; self-terminating process reaches Startup in ~200 ms
lifecycle_time score_lifecycle + score_time Launch manager supervises vehicle_time; 7 time samples printed before clean SIGTERM shutdown
lifecycle_kyron_comm score_lifecycle + score_kyron + score_communication Launch manager supervises both safety_task and com-api-example concurrently
lifecycle_time_comm score_lifecycle + score_time + score_communication Launch manager supervises both vehicle_time and com-api-example concurrently
kyron_logging score_kyron + score_log (baselibs) Four async tasks run on the kyron runtime and emit structured log messages via score_log

PIT coverage

All six showcases are wired into //platform_integration_tests:pit
via a new //platform_integration_tests/combined package. Each test
asserts on output that only the working path produces:

Requirement IDs attached:

  • stkh_req__execution_model__processes — lifecycle showcases
  • stkh_req__time__vehicle_time_api — time showcases
  • stkh_req__communication__inter_process — comm showcases
  • stkh_req__execution_model__processes — kyron_logging

Key config fixes

All lifecycle configs use Native application type (binaries do not
call lifecycle_client::report_running()):

  • vehicle_time — Native + shutdown_timeout: 2.0 (avoids SIGKILL before output)
  • safety_task — Native + ready_condition: Terminated
  • com-api-example — Native + is_self_terminating: true + ready_condition: Terminated (exits after 5 samples)

Other changes

  • platform_integration_tests/combined/BUILD — attribute_plugin added so partially_verifies IDs are recorded in JUnit XML
  • showcases/simple_lifecycle/BUILD — exports_files added; all new showcase BUILDs reference //showcases/simple_lifecycle:lifecycle_signal.sh instead of carrying their own copy

Test plan

  • All 6 showcases build (bazel run --config=linux-x86_64 //images/linux_x86_64:image_load)
  • All 6 showcases run and produce expected output (verified via docker run score_showcases:latest /showcases/bin/cli --examples='<name>')
  • bazel test --config=linux-x86_64 //platform_integration_tests/combined (CI)

@Subramanian-K812
Subramanian-K812 force-pushed the Subramanian-K812_add_combined_showcase branch 2 times, most recently from be38883 to 50edee5 Compare November 3, 2026 11:08
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

@PiotrKorkus PiotrKorkus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

also rebase

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

also make directory combined/ as in platform_integration_tetsts and put all of them in it

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Moved all combined showcase PITs into platform_integration_tests/combined/

@Subramanian-K812
Subramanian-K812 force-pushed the Subramanian-K812_add_combined_showcase branch 5 times, most recently from 2cfede7 to 76ef5be Compare November 12, 2026 10:11
@Subramanian-K812
Subramanian-K812 force-pushed the Subramanian-K812_add_combined_showcase branch from 4edbaaf to 8941d46 Compare November 12, 2026 11:15

This branch has not been deployed

No deployments
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.

ref_int - add showcases

2 participants