Make daily backup stop timeout configurable #8
No reviewers
Labels
No labels
bug
codex
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quentinreytinas/borgmatic-api-nextcloud-aio!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/remove-sh-from-dangerous_commands-7vtpve"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
daily_stop_timeoutsetting sourced from theAIO_STOP_TIMEOUTenvironment variablestop_timeoutoverrides on/create-backuprequests and report timeouts with the effective valueTesting
https://chatgpt.com/codex/tasks/task_e_69013228a6008332a17492cc7c2cab43
💡 Codex Review
github.com/quentinreytinas/borgmatic-api-nextcloud-aio@f9ed6f2461/borgmatic_api_app/docker.py (L69-L80)The updated
validate_docker_execnow flags dangerous commands only when an argument matches the blocked word exactly (dangerous == part.lower()). This means a shell call such as/bin/bashor/usr/bin/shis no longer rejected by either theno_shellcheck or thedangerous_commandslist, because none of the argument tokens equals"bash"or"sh". Previously the substring check (dangerous in lowered) would block these cases. For whitelists configured withno_shell=Trueand a permissive command list (e.g. empty list to allow maintenance commands), this change allows shell access simply by specifying an absolute path, defeating the protection the flag is supposed to provide.ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".