-
Notifications
You must be signed in to change notification settings - Fork 0
Claude/cpu guard script dn d8u #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a3f9145
fix(telegramSafe): exempt getUpdates and lifecycle calls from 15s tim…
claude b9be6f9
fix(startup): make QA artifact writes non-fatal + refactor bypass met…
claude ca6af01
fix(qa): narrow catch blocks to expected fs error codes; resolve merg…
claude 3faf7e8
fix(telegramSafe): export frozen arrays instead of live Set references
claude 90742a6
fix(service): relax systemd sandbox — ProtectSystem=full, ProtectHome…
claude 4038b9a
fix(qa): drop EEXIST from QA_FS_SUPPRESS; guard e.code/e.message in f…
claude fd57310
fix(qa): resolve conflicts + address all review comments
claude dd13398
fix(security): UMask=0077 + explicit file modes on all write calls
claude 5e08dee
fix(prod-run): eliminate 5-min hang caused by 5x repeated health-chec…
claude 3c6c120
fix(prod-run): address 4 code review issues in port-kill and Telegram…
claude 41f578a
fix(prod-run): stale PID caused step 11 to kill the freshly-started bot
claude 07227e9
Merge branch 'main' into claude/cpu-guard-script-DnD8u
gamblecodezcom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Because the script runs with
set -ein a non-interactive shell, the baredisowncall in the manual restart path will typically fail with "no job control" and exit status 1, causing the entire deployment script to abort on non-systemd systems immediately after starting the bot and before health checks and reporting run; this should be guarded (as in other parts of the script) so that a non-zero status fromdisowndoes not terminate the script. [logic error]Severity Level: Major⚠️
Steps of Reproduction ✅
Prompt for AI Agent 🤖