Skip to content

fix: send isRunning=false in stop() to stop frontend progress bar - #38

Open
mokhtardziri wants to merge 3 commits into
Visual-Regression-Tracker:masterfrom
mokhtardziri:fix-frontend-progress-bar
Open

mokhtardziri wants to merge 3 commits into
Visual-Regression-Tracker:masterfrom
mokhtardziri:fix-frontend-progress-bar

Conversation

@mokhtardziri

Copy link
Copy Markdown
Contributor

No description provided.

@mokhtardziri
mokhtardziri force-pushed the fix-frontend-progress-bar branch from 05cca7b to 4cf1dba Compare August 28, 2026 08:09
pashidlos pushed a commit that referenced this pull request Oct 24, 2026
stop() sent PATCH /builds/:id with an empty JSON body. Backend api-v5.1.0
dropped the fallback that treated an empty body as a stop request, so the
build stays running. Send {"isRunning": false} explicitly, which every
backend version accepts.

Based on #38 by @mokhtardziri.

Fixes Visual-Regression-Tracker/backend#343

Co-Authored-By: mokhtar.dziri <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
pashidlos added a commit that referenced this pull request Oct 24, 2026
* chore(deps): drop EOL Python versions and fix CI

CI no longer starts (zero jobs; the matrix asks for Python 3.6 and uses
outdated actions), and the async Playwright tests fail with current
pytest-asyncio / Python 3.12+.

- test on Python 3.9 - 3.14, python_requires >= 3.9
- actions/checkout@v4, actions/setup-python@v5, drop the archived
  microsoft/playwright-github-action (install chromium deps directly)
- run the Codacy coverage upload only on push (no secrets on fork PRs)
- requirements: drop pre-3.9 markers and nest_asyncio, require
  pytest-asyncio >= 0.24 (loop_scope)
- tests: move async Playwright tests to their own module with
  session-scoped pytest-asyncio fixtures, and scope the sync Playwright
  fixtures per module so its event loop is stopped before them

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore(ci): use Node 24 based checkout and setup-python actions

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix: send isRunning=false in stop()

stop() sent PATCH /builds/:id with an empty JSON body. Backend api-v5.1.0
dropped the fallback that treated an empty body as a stop request, so the
build stays running. Send {"isRunning": false} explicitly, which every
backend version accepts.

Based on #38 by @mokhtardziri.

Fixes Visual-Regression-Tracker/backend#343

Co-Authored-By: mokhtar.dziri <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Pavlo Strunkin <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: mokhtar.dziri <[email protected]>
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