• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

StaflSystems / openhtf
64%
master: 64%

Build:
Build:
LAST BUILD BRANCH: feature/stop-test-button
DEFAULT BRANCH: master
Repo Added 19 Dec 2024 07:02PM UTC
Token jcUdZ2s1GinwUWhPmycToPylpx58mkWGv regen
Build 6 Last
Files 64
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/stop-test-button
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • feature/stop-test-button
  • staging
  • v1.6.1-stafl.1

09 Oct 2026 10:34PM UTC coverage: 64.052% (+2.6%) from 61.479%
38000336077

Pull #1

github

fcheein
Add a Stop test button to the station web UI

Operators can stop a running test from the station page instead of
pressing Ctrl+C in the terminal. The test ends ABORTED and its teardown
phases and output callbacks still run.

- Test.abort(): aborts the running test the way SIGINT does (same
  executor.abort(), same "Abort test executor." log line), but a second
  call does nothing instead of forcibly stopping the process, so a
  double click can't skip teardown. Returns whether it started the abort.
  Backed by TestExecutor.abort_requested and a read-only
  TestState.status.
- Station server: POST /tests/<test_uid>/abort -> 204; 404 for an
  unknown or finished test, 409 if it hasn't started or is already
  stopping. Unlike the other endpoints it sends no CORS headers and only
  takes a JSON request whose Origin, if any, is this server, so another
  web page open on a machine on the network can't stop a test. The
  dashboard (a different port) can't either.
- Web UI: a red "Stop test" button in the Current test header while the
  test is running. It asks for confirmation, then shows "Stopping..."
  disabled; on an error other than 409 it re-enables and flashes the
  error.
- web_gui/dist rebuilt with Node 16 (unchanged sources reproduce the old
  dist byte for byte); README fork notes say how.

Tests: test_descriptor_test.AbortTest (ABORTED with teardown run, second
abort is a no-op during teardown, no running test), and
test/output/servers/station_server_abort_test.py (status codes, origin
and content-type checks, no CORS preflight). Full suite: 521 passed.
Also checked end to end: a StationServer serving this dist, a real test,
and headless Chromium clicking the button -> confirmation, "Stopping...",
later phase skipped, teardown ran, outcome ABORTED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #1: Add a Stop test button to the station web UI

42 of 43 new or added lines in 4 files covered. (97.67%)

4825 of 7533 relevant lines covered (64.05%)

3.2 hits per line

Relevant lines Covered
Build:
Build:
7533 RELEVANT LINES 4825 COVERED LINES
3.2 HITS PER LINE
Source Files on feature/stop-test-button
  • Tree
  • List 64
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
38000336077 feature/stop-test-button Add a Stop test button to the station web UI Operators can stop a running test from the station page instead of pressing Ctrl+C in the terminal. The test ends ABORTED and its teardown phases and output callbacks still run. - Test.abort(): aborts... Pull #1 09 Oct 2026 10:40PM UTC fcheein github
64.05
12521432372 v1.6.1-stafl.1 Add Stafl Fork Notes to the README. push 27 Dec 2024 10:43PM UTC willson556 github
61.48
12449040583 staging Add Stafl Fork Notes to the README. push 21 Dec 2024 10:45PM UTC willson556 github
61.48
12421770629 staging Add PEP-561 py.typed file This commit adds a py.typed file, which marks the package as having type information available. For more information, see https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages ... push 19 Dec 2024 10:25PM UTC willson556 github
61.48
12419082051 staging station_server: provide history handlers While the history handlers do need to match what has been saved on disk, the project provides MfgEvent protobuffer writers out of the box, and no-others, so at least let the out of box experience function ... push 19 Dec 2024 07:02PM UTC willson556 github
61.48
See All Builds (5)

Badge your Repo: openhtf

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc