Skip to content

emrg: tighten excepts in _touch_project and project context read - #18

Merged
argszero merged 1 commit into
masterfrom
fix/tighten-daemon-touch-read
Jul 18, 2026
Merged

emrg: tighten excepts in _touch_project and project context read#18
argszero merged 1 commit into
masterfrom
fix/tighten-daemon-touch-read

Conversation

@argszero

Copy link
Copy Markdown
Owner

Two small bare-except tightenings in daemon.py:\n\n1. _touch_project: except Exceptionexcept OSError — only file I/O operations inside the try block (fdopen, write, os.replace)\n2. _build_project_context_section: except Exceptionexcept (OSError, UnicodeDecodeError) — only read_text() inside the try

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #17

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #18

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #19

@argszero
argszero merged commit 0a34f4f into master Jul 18, 2026
argszero added a commit that referenced this pull request Jul 22, 2026
#119)

Co-authored-by: EMRG Evolution <emrg@argszero.dev>
@argszero
argszero deleted the fix/tighten-daemon-touch-read branch July 28, 2026 12:00
argszero added a commit that referenced this pull request Aug 9, 2026
…T13:16:36) (#596)

Carries the emergency Windows v0.2.15 regression hotfix (host observed
cmd-window storm + daemon startup failure, had to reboot):
- #592: CREATE_NO_WINDOW across all 34 subprocess sites (emrg/_win.py
  win32_no_window_kwargs) + GUI spawn throttle + scheduler connect backoff
- #593: daemon port-file self-heal (_port_keepalive_loop) + G43 PID guard
  (never delete a live daemon's port file)
- #594: TUI spawn throttle (_MAX_SPAWN_ATTEMPTS=3 + reset on connect)
- #595: evolution_prompt quick-ref entries

Per host authorization (rant #16/#18: release without waiting for
real-machine verification), this bump goes straight to Build Release on
merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant