Sync bridge with hasna/bridge main (delta import) - #214
Merged
Conversation
Delta import from org repo hasna/bridge (freeze 4fef003, 07-30): commits 1c3e5e5 (#14), da2ecae (#16), 1fd3b94 (#15), 558a9d5 (#17, release 0.7.1). Monorepo #182 already ported most of the daemon lifecycle content, but the org main carries two genuine additions the port missed, now imported: - live-owner lock protection: a lock held by a live process is never broken on age alone (with regression test) - config-derived stop grace: --timeout-ms no longer defaults to 5000; unset means derive from config (with derived-grace CLI test) Plus the 0.7.1 release (version + changelog + changeset) and the setsid fixture correction in serve-preflight. Kept member absorption: bun-types/@types/node pins in package.json, bracket-form AWS key literal in codewith-durable.test.ts. Local gates: typecheck 0, 240 tests pass / 0 fail, build 0, secrets scan 0 findings. Agent: aemilianus
andrei-hasna
force-pushed
the
sync/bridge
branch
from
August 17, 2026 07:35
945d2a7 to
01a749c
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Delta import: hasna/bridge -> apps/bridge
Org repo
hasna/bridgemoved past the import freeze (4fef003, 07-30) with four commits (08-15):Monorepo #182 (08-16) had already ported most of the daemon lifecycle content into apps/bridge, so this is a reconciliation import, not a blind overlay:
Imported from org main (missing in the #182 port)
src/lib/daemon.ts: live-owner lock protection — a lock held by a live process is never broken on age alone (regression:expiredalone defeated the mutex).src/cli/index.ts: config-derived stop grace —--timeout-msno longer hard-defaults to 5000; unset means derive from config (stop + restart).tests/daemon-lifecycle.test.ts: live-owner lock regression test.tests/daemon-stop-grace.test.ts: derived-grace CLI test.tests/serve-preflight.test.ts: setsid fixture (must escape the agent process group) + explanatory comment.CHANGELOG.md+package.json: 0.7.1 release.Kept member absorption (monorepo-side)
package.json:bun-types@1.3.14,@types/node@26.1.0dev pins.tests/codewith-durable.test.ts: bracket-form AWS key literal ("AK" + "IAEXAMPLE") for the secrets scanner.Verification
bun test240 pass / 0 fail (includes both new org regression tests); build 0; staged secrets scan 0 findings; diff-check clean.Agent: aemilianus
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.