Skip to content

fix: incorporate runtime volume patches into source - #2838

Closed
xirothedev wants to merge 1 commit into
different-ai:devfrom
xirothedev:pr/patch-volume-fixes
Closed

xirothedev wants to merge 1 commit into
different-ai:devfrom
xirothedev:pr/patch-volume-fixes

Conversation

@xirothedev

Copy link
Copy Markdown

Ports four runtime patch files from self-hosted Docker volume mounts into the source tree.

Changes

1. Privileged session max age —
Extended from 15 min to 1 year to reduce reauth prompts during org admin operations.

2. Worker externalize host mapping — +
Adds helper in getWorkerTokensAndConnect to replace internal Docker hostnames with externally reachable addresses. Configured via new WORKER_INTERNAL_HOST / WORKER_EXTERNAL_HOST env vars (no-op when unset).

3. Clipboard crash fix —
Wraps navigator.clipboard.writeText in try/catch to prevent unhandled rejection crash when clipboard API is unavailable (non-HTTPS context, missing transient user activation).

Verification

These changes are already running in production on a self-hosted OpenWork Cloud deployment via Docker volume mounts (openwork-cloud-compose.yml). This PR makes them permanent in the source.

Copilot AI review requested due to automatic review settings July 16, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-landing Ready Ready Preview, Comment, Open in v0 Jul 16, 2026 1:31pm

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the Different AI Team on Vercel.

A member of the Team first needs to authorize it.

Ports runtime patch files from self-hosted Docker volume mounts
into the source tree for a permanent fix:

- ee/apps/den-api/src/routes/workers/shared.ts: Add externalize host
  mapping in getWorkerTokensAndConnect to route around internal
  docker-provisioner hostnames via configurable WORKER_INTERNAL_HOST
  / WORKER_EXTERNAL_HOST env vars.
- ee/apps/den-api/src/env.ts: Register WORKER_INTERNAL_HOST and
  WORKER_EXTERNAL_HOST env vars.
- ee/apps/den-web/app/(den)/dashboard/_components/manage-members-screen.tsx:
  Wrap clipboard write in try/catch to prevent crash when clipboard
  API is unavailable (non-HTTPS, missing transient activation).
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Contributor screen: passed

Commit 05833360c0 · run

No hidden characters, dependency, database or obfuscation concerns.

Nothing else runs yet. A maintainer reviews the changes then comments /test to start the AI screen, the tests and the Warden security review.

@OmarMcAdam

Copy link
Copy Markdown
Member

closed due to age, please reopen and tag me if still valid

@OmarMcAdam OmarMcAdam closed this Oct 28, 2026

This branch was successfully deployed

1 active deployment
Preview – openwork-landing — 05833360 Deployed Jul 16, 2026 by vercel[bot]
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.

3 participants