Repository navigation
feat(hosts): enable daemon-owned remote workspace features - #391
Conversation
|
Important Review skippedToo many files! This PR contains 103 files, which is 3 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.
|
Code Review Roast 🔥Verdict: No Issues Found | Recommendation: Merge Reviewed the incremental changes since 📊 Overall: The race conditions brought receipts, the refs brought receipts, and the only thing left hanging was my skepticism. Clean incremental cut. Previous Review Summaries (3 snapshots, latest commit 3723d50)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 3723d50)Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean too. I need to sit down. I had my flamethrower warmed up and everything. Six review shards combed every changed source line across uploads/workspace publication, worktrees/clones, RPC/session/types, server routes, components/hooks, and the event stream/file layer. Zero high-confidence defects found on changed lines. 📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are. Files Reviewed (~100 files)
Previous review (commit 8ba5071)Verdict: No Issues Found | Recommendation: Merge Oh wait, incremental changes are actually clean too. I need to sit down. I had my flamethrower warmed up and everything. 📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are. Files Reviewed (8 files)
Previous review (commit 52d2893)Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything. 📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are. Files Reviewed (101 files)
Reviewed by free · Input: 68K · Output: 2.8K · Cached: 279.6K |
|
Pushed 8ba5071 to address the Windows CI failures. The workspace harness canonicalizes its temporary root before deriving daemon paths, request fixtures use platform-aware segments/native joins, and the Git escape test uses a real outside-workspace file instead of /etc/passwd. The Windows-only process inventory deadline is now 20 seconds; POSIX remains at 5 seconds, and the 8 MiB bound, fail-closed behavior, planner check and both pre-stop worker checks remain unchanged. A new slow-inventory regression failed before the fix and passes afterward, covering private, shared, failed and malformed inventories. Verification: 2,540 passed, 12 skipped, zero failures across 256 files; typecheck, lint, build and source smoke passed. Existing seven hook warnings and build warnings remain. Also passed 11 real-daemon workspace integration tests and three with an aliased temporary root. One condensed adversarial review found no should-fix issues. The original Windows catch hides the precise inventory error, so timeout causation remains an inference until native Windows CI confirms this candidate fix. No checks were skipped or weakened. Nothing merged or deployed. |
|
Updated the PR with current main (dc48126) in 439292f, preserving the published commit history. The only textual conflict was additive CHANGELOG entries; both were retained. Reviewed the automatic source merges. The combined tree passed typecheck, lint, 2,577 tests (12 skipped, zero failed; 258 files), client build and source smoke. Current-head native CI is still required before merge; the prior head had no Verify results because the PR conflicted with main. CodeRabbit remains unavailable due its file/capacity limit. Codex will be requested after CI is green. The user has authorized a squash merge once the current-head gates are satisfied. No deployment is requested. |
439292f to
3723d50
Compare
|
Rebased onto current Conflicts resolved:
Local verification on 3723d50: typecheck, lint (existing 7 warnings), 2,604 tests passed (12 skipped, 0 failed), build and source smoke. I will request re-review once CI is green. |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubYour 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". |
|
@codex review |
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubYour 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". |
Route Explorer, previews, downloads, file search, live watches, Git, worktrees, directory browsing and clone jobs through the owning host daemon, including this machine. Explorer uploads reuse the 2 GiB staged uploader. Rebased onto main 53697ad: file authorization keeps main's symlink-aware omp secret check and takes the daemon's allowed roots explicitly.
3723d50 to
64ca9a8
Compare
|
Rebased onto latest main a1cf666 as 64ca9a8, preserving the new open-chat run-attachment behavior from #390. A fresh condensed integration review covered all 103 changed files and found no should-fix issues, including daemon-owned authorization roots, main’s symlink-aware credential protection, host-scoped attachments/suggestions, retry countdown and run attachment. Range-diff confirms the feature patch is equivalent across the latest rebase. Local gates passed: typecheck, lint (7 existing warnings), 2,634 tests (12 skipped, zero failed), client build and source smoke. Awaiting fresh Ubuntu/Windows CI on 64ca9a8 before a SHA-pinned squash merge. CodeRabbit remains unavailable under its file/capacity limit; Codex failed twice with Failed to sample tokens and produced no completed review. No deployment. |
Summary
Implements sub-project 2 of #388; the tracking issue remains open for configuration, archive, search, usage and import parity.
Workspace capabilities are additive; link protocol remains v6 with minimum v4. Older daemons receive an upgrade explanation rather than a filesystem fallback. No new dependency.
Verification
npm run typecheck && npm run lint && npm test && npm run build && npm run smokepassed on52d28932: 2,539 passed, 12 skipped, 0 failed, 255 test files. Lint has only the 7 existing hook warnings; build retains existing locale-key/highlight warnings.bun scripts/build-binary.ts --target bun-linux-x64andenv -u OMP_WEB_PACKAGE_DIR npm run smoke -- --binary release/ompweb-linux-x64/ompwebpassed. The unset prevents an inherited installed-release asset-root override from contaminating the binary smoke./dev/shm, destination on another device, streamed 8 MiB digest/size verified. Sparse 2 GiB acceptance and +1 refusal tested without whole-file allocation.One condensed adversarial review was completed. Its publication/cancellation races, watch recovery, UNC handling, HTTP reconciliation, upgrade messaging and bounded-log findings were fixed with failing-before/passing-after regressions, followed by the full gates above. Generated Graphify output is updated by the repository hooks.
Limits and delivery