Skip to content

Dependency injection - #2

Merged
cmsj merged 4 commits into
mainfrom
dependency-injection
Nov 6, 2025
Merged

Dependency injection#2
cmsj merged 4 commits into
mainfrom
dependency-injection

Conversation

@cmsj

@cmsj cmsj commented Nov 6, 2025

Copy link
Copy Markdown
Owner

No description provided.

@cmsj
cmsj merged commit e96aca1 into main Nov 6, 2025
@cmsj
cmsj deleted the dependency-injection branch November 6, 2025 00:23
dmgerman pushed a commit to dmgerman/Hammerspoon2 that referenced this pull request Mar 9, 2026
…ests

Production fixes:
- Move default IPC port to closure-scoped var to survive JSExport GC (cmsj#4)
- Make AKLog synchronous on main thread so getConsole() sees entries immediately (cmsj#3)
- Add rollback to cliInstall when man page symlink fails (cmsj#2)
- Use Atomic<Int> for callDepth in HSMessagePort (#1)
- Remove redundant Bundle.main.bundlePath optional casts (cmsj#8)
- Escape control chars in REPL tab completion query (cmsj#9)
- Deduplicate date format via HammerspoonLogEntry.formattedLine (cmsj#11)
- Remove dead print replacement code in hs.ipc.js (cmsj#10)

Test fixes:
- Remove misleading hammerspoonProcess field in HS2CommandTests (cmsj#5)
- Read pipes concurrently to prevent deadlock on large output (cmsj#6)
- Replace unsafeBitCast with direct setObject in JSTestHarness (cmsj#7)
- Save/restore evalHistory in console tests for isolation (cmsj#13)
- Handle port name conflicts gracefully in default port tests (cmsj#12)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dmgerman pushed a commit to dmgerman/Hammerspoon2 that referenced this pull request Mar 21, 2026
…ests

Production fixes:
- Move default IPC port to closure-scoped var to survive JSExport GC (cmsj#4)
- Make AKLog synchronous on main thread so getConsole() sees entries immediately (cmsj#3)
- Add rollback to cliInstall when man page symlink fails (cmsj#2)
- Use Atomic<Int> for callDepth in HSMessagePort (#1)
- Remove redundant Bundle.main.bundlePath optional casts (cmsj#8)
- Escape control chars in REPL tab completion query (cmsj#9)
- Deduplicate date format via HammerspoonLogEntry.formattedLine (cmsj#11)
- Remove dead print replacement code in hs.ipc.js (cmsj#10)

Test fixes:
- Remove misleading hammerspoonProcess field in HS2CommandTests (cmsj#5)
- Read pipes concurrently to prevent deadlock on large output (cmsj#6)
- Replace unsafeBitCast with direct setObject in JSTestHarness (cmsj#7)
- Save/restore evalHistory in console tests for isolation (cmsj#13)
- Handle port name conflicts gracefully in default port tests (cmsj#12)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dmgerman dmgerman mentioned this pull request Apr 4, 2026
Closed
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