Skip to content

feat(echo): add a configurable experiment duration to the dev Echo app#691

Merged
yasithdev merged 1 commit into
apache:masterfrom
yasithdev:feat-echo-experiment-duration
Jun 14, 2026
Merged

feat(echo): add a configurable experiment duration to the dev Echo app#691
yasithdev merged 1 commit into
apache:masterfrom
yasithdev:feat-echo-experiment-duration

Conversation

@yasithdev

Copy link
Copy Markdown
Contributor

Summary

  • Added an Experiment_Duration input (INTEGER, default 60s) to the Echo application interface, ordered before the message.
  • Routed the Echo deployment through a new conf/slurm/echo_sleep wrapper (sleep <duration>; echo <message>) instead of /bin/echo, so the job sleeps for the given duration before echoing. The wrapper is baked into the SLURM image.

Test plan

  • Launch Echo with duration 30/60 → generated submit script is /usr/local/bin/echo_sleep <duration> <message>; the job sleeps, then writes Echo.stdout = the message.
  • Experiment runs through the full pipeline (env setup → submit → monitor → data staging); the longer runtime is observable in the experiment progress view.

Add an Experiment_Duration input (default 60s) to the Echo application interface and route the deployment through a new echo_sleep wrapper that sleeps for the given duration before echoing the message. This lets Echo runs last long enough to exercise and observe the experiment progress pipeline.
@yasithdev yasithdev merged commit 2c15f2c into apache:master Jun 14, 2026
6 of 7 checks passed
@yasithdev yasithdev deleted the feat-echo-experiment-duration branch June 14, 2026 06:59
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