Repository navigation
✨ Settings UI for per-repo parent auto-close policy - #19073
Conversation
Add a Parent auto-close card to the Settings Repos tab: per monitored repo, choose Close finished parents (default), Also close epics and holds, or Never auto-close parents. Owner-only GET/PUT /api/config/repos/parent-autoclose, validated, applied without a restart, audited as config_repo_parent_autoclose. Removes the settings parity allowlist TODO and documents where the setting lives. Fixes #19070 Signed-off-by: Andy Anderson <andy@clubanderson.com>
Open PR overlap checkBase branch: Conflicts are checked with every PR merged onto the current tip of
|
UI render evidenceRender evidence captured. Built from
These are fixture renders, not live data: the page was built from the PR head and filled with synthetic data from |
|
Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor. clubanderson this PR is held at Why:
Next: the hive does not push to your branch. Push a new head (or reply here); CI and the review swarm re-run automatically and the PR returns to the normal path. |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Mutation testing1 mutant(s) in changed files are not reached by any test (NOT COVERED). A maintainer may apply the
Verdict: |
|
New changes are detected. LGTM label has been removed. |
|
New changes are detected. LGTM label has been removed. |
Resolve the settings parity allowlist conflict: keep the new #19074 entries, keep the parent_autoclose entry removed. Signed-off-by: Andy Anderson <andy@clubanderson.com>
|
New changes are detected. LGTM label has been removed. |
Resolve the settings parity allowlist conflict (keep the new #19069 entries) and use reflect IsZero in SetParentAutoClose: RepoSettings now carries review_preflight, which holds slices and is not comparable. Signed-off-by: Andy Anderson <andy@clubanderson.com>
Fixes #19070
Owners can now set the per-repo parent/epic auto-close policy from Settings instead of editing YAML.
GET/PUT /api/config/repos/parent-autoclose: validates the value and that the repo is monitored, applies live (the stage pass readsParentAutoCloseFor, so no restart), auditsconfig_repo_parent_autoclose, rolls back if the file cannot be written. Choosing the default clears the override so the file only holds non-default values.config.SetParentAutoCloseand a lock around therepos:map (it is now written while other goroutines read it).repos.<key>.parent_autocloseparity allowlist TODO; docs (settings, stage-labels, operator reference, API reference), OpenAPI, changelog fragment,make dashboard-genoutput, Go and JS tests.No live hive config was changed. Closing trackers with no sub-issue children is a separate design: #19071.
🤖 Generated with Claude Code