The start / stop / pause should stop new jobs from being added to the queue, it should not stop the current job from processeing finish. For that the cancel job should be used (implement this too)
The start / stop / pause should stop new jobs from being added to the queue, it should not stop the current job from processeing finish. For that the cancel job should be used (implement this too)
Implemented queue override controls for issue #20.
What changed
Added persistent queue control state for running, paused, and stopped modes.
Added UI buttons and API endpoints for start, pause, stop, and cancel current job.
Pause/stop now prevent new jobs from being added to the queue without interrupting queued/importing work.
Cancel current job can stop before the next item or interrupt an active copy at safe chunk boundaries while cleaning up partial files.
Added regression coverage for pause/start behavior and cancellation.
Branch and commit
Branch: 20-add-ui-override-controls
Commit: 8cb82ee (Add queue override controls)
Verification
.venv/bin/python -m pytest -q → 20 passed
git diff --check → no whitespace errors
Result
Issue #20 is implemented and pushed. Closing the issue.
## Implementation update
Implemented queue override controls for issue #20.
## What changed
- Added persistent queue control state for running, paused, and stopped modes.
- Added UI buttons and API endpoints for start, pause, stop, and cancel current job.
- Pause/stop now prevent new jobs from being added to the queue without interrupting queued/importing work.
- Cancel current job can stop before the next item or interrupt an active copy at safe chunk boundaries while cleaning up partial files.
- Added regression coverage for pause/start behavior and cancellation.
## Branch and commit
- Branch: `20-add-ui-override-controls`
- Commit: `8cb82ee` (`Add queue override controls`)
## Verification
- `.venv/bin/python -m pytest -q` → 20 passed
- `git diff --check` → no whitespace errors
## Result
Issue #20 is implemented and pushed. Closing the issue.
The first deployment still served the legacy importarr-status UI, so the queue control feature was installed but not visible at the public URL.
What changed now
Removed the legacy importarr.status_ui module and importarr-status console script.
Updated importarr.service to run the single FastAPI importarr entrypoint.
Updated the repo-upgrade helper to install the systemd unit and reload systemd during upgrades.
Fixed FastAPI template rendering for the live Jinja/Starlette version.
Live verification
https://importarr.delphas.dk/ returns 200 and contains Queue controls, data-control, and cancel-current.
/api/status and /api/jobs return 200 and include queue_mode.
/api/queue now returns 404, confirming the legacy status API path is gone.
importarr.service ExecStart is /opt/importarr/venv/bin/importarr.
importarr.status_ui is no longer importable in the deployed venv.
Commits
f4d151f Remove legacy Importarr status UI
a443909 Fix FastAPI index rendering
## Follow-up deployment correction
The first deployment still served the legacy `importarr-status` UI, so the queue control feature was installed but not visible at the public URL.
## What changed now
- Removed the legacy `importarr.status_ui` module and `importarr-status` console script.
- Updated `importarr.service` to run the single FastAPI `importarr` entrypoint.
- Updated the repo-upgrade helper to install the systemd unit and reload systemd during upgrades.
- Fixed FastAPI template rendering for the live Jinja/Starlette version.
## Live verification
- `https://importarr.delphas.dk/` returns 200 and contains `Queue controls`, `data-control`, and `cancel-current`.
- `/api/status` and `/api/jobs` return 200 and include `queue_mode`.
- `/api/queue` now returns 404, confirming the legacy status API path is gone.
- `importarr.service` ExecStart is `/opt/importarr/venv/bin/importarr`.
- `importarr.status_ui` is no longer importable in the deployed venv.
## Commits
- `f4d151f` Remove legacy Importarr status UI
- `a443909` Fix FastAPI index rendering
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The start / stop / pause should stop new jobs from being added to the queue, it should not stop the current job from processeing finish. For that the cancel job should be used (implement this too)
Implementation update
Implemented queue override controls for issue #20.
What changed
Branch and commit
20-add-ui-override-controls8cb82ee(Add queue override controls)Verification
.venv/bin/python -m pytest -q→ 20 passedgit diff --check→ no whitespace errorsResult
Issue #20 is implemented and pushed. Closing the issue.
Follow-up deployment correction
The first deployment still served the legacy
importarr-statusUI, so the queue control feature was installed but not visible at the public URL.What changed now
importarr.status_uimodule andimportarr-statusconsole script.importarr.serviceto run the single FastAPIimportarrentrypoint.Live verification
https://importarr.delphas.dk/returns 200 and containsQueue controls,data-control, andcancel-current./api/statusand/api/jobsreturn 200 and includequeue_mode./api/queuenow returns 404, confirming the legacy status API path is gone.importarr.serviceExecStart is/opt/importarr/venv/bin/importarr.importarr.status_uiis no longer importable in the deployed venv.Commits
f4d151fRemove legacy Importarr status UIa443909Fix FastAPI index rendering