con / con/mechababs

duct SIGINT during babs init / deploy loop doesn't abort cleanly

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
automation duct
Dominant language
Python
Stars
1
Forks
4
Avg merge
15h 39m
Merged PRs (30d)
24

Description

# duct SIGINT during babs init / deploy loop

Suspected root cause: duct doesn't handle Ctrl-C / SIGINT correctly.

deploy loops (1-anat/3-minimal) don't abort cleanly on Ctrl-C: `set +e`
around the duct call swallows the killed child (exit 137), marks the row
error, and CONTINUES to the next study. Add a SIGINT trap so Ctrl-C stops
the whole script. (Found 2026-06-01: Ctrl-C of duct on ds004636 -> marked
error -> loop started ds005256 -> partial.)

Related: babs-side `babs status --wait` SIGINT breadcrumb (same theme).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the deploy loops named 1-anat and 3-minimal, focusing on the duct call and the surrounding set +e handling. Reproduce Ctrl-C during duct, then verify that SIGINT stops the whole script instead of marking the row as an error and continuing to the next study.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.