Feat/flomni queue with commands #259
No Reviewers
Labels
Clear labels
issue::not confirmed
issue::not reproducible
issue::reproducible
priority::critical
priority::needed
priority::nice to have
scope::backend
scope::frontend
stage::in development
stage::on hold
stage::pre_release
stage::ready for review
stage::selected for development
stage::weekly backlog
type::bug
type::discussion
type::doc
type::feature
type::improvement
type::test
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Used if an issue has not yet been confirmed by a developer
Used if an issue is not reproducible
Used if a developer was able to reproduce the issue
Should be done as soon as possible
An important update to the code base
Not really needed but a good improvement
An issue regarding the backend services
An issue regarding the user-facing services
This issue is currently being worked on
Something is blocking the development
For issues that have been merged into a pre-release branch and are waiting for their release.
For issues that have been resolved and are ready for review
This issue has been selected for development but has not been scheduled yet
This issue has been selected for development for the next development cycle
It's a bug!
A discussion is wanted/needed
Improvements to the documentation
A new feature
Neither a feature nor a bug but an improvement to the code base
Missing tests or improvements to the test suite
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
acerbo_a (acerbo_a)
appel_c (appel_c)
bec-gitea
celcer_t (celcer_t)
debenjak_l (debenjak_l)
diaz (diaz)
divall_e (divall_e)
guizar_m (guizar_m)
haghta_s (haghta_s)
holler (holler)
lombosi_c (lombosi_c)
menzel (menzel)
perl_d (perl_d)
usov_i (usov_i)
wakonig_k (wakonig_k)
wang_x1 (wang_x1)
wyzula_j (wyzula_j)
zamofing_t (zamofing_t)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bec/csaxs_bec#259
Reference in New Issue
Block a user
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.
Sort mode and tomo_queue_move() let a pending job be dragged/moved visually ahead of an incomplete one. Harmless to actual run order -- tomo_queue_execute()'s pick-next loop always resumes the first running/incomplete job it finds regardless of list position -- but confusing to read, since list order looked like run order and wasn't. Narrows the GUI's _MOVABLE_STATUSES to ("pending",) and the CLI's floor check to the highest index among all running/incomplete jobs, not just the running one. Found while testing the reorder feature against a real interrupted scan. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>Real incident: a job got stuck at status "running" after its process died mid-scan (Ctrl-C during a repeated confirmation-prompt loop, a separate bug fixed alongside this one) with no live process behind it -- and the GUI's delete/clear guard treated "running" as an absolute block, with no way to escape from the GUI at all (the CLI's tomo_queue_delete() has no such guard and already worked, but that's not obvious/discoverable from the GUI). Adds a staleness check using the same tomo_progress heartbeat signal TomoParamsWidget._is_tomo_running() already uses: if a "running" job's heartbeat is missing or older than 120s, it's very likely orphaned, not actively executing. Delete/clear now offer an explicit confirmation ("looks stale -- proceed anyway?") in that case instead of an unconditional refusal; a genuinely fresh heartbeat still blocks outright as before. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>