Run rclone's rc API in pnpm dev #107

Merged
miro merged 1 commit from claude/pnpm-dev-services-d44984 into main 2026-10-15 19:48:37 +00:00
Owner

pnpm dev started rclone for WebDAV only, so the web UI's rclone features (version, remotes, providers) couldn't connect: the app only builds its rc client when RCLONE_RC_URL, RCLONE_RC_USER and RCLONE_RC_PASS are set, and nothing set them in dev.

  • dev:webdav now starts rclone with --rc on 127.0.0.1:5572 and fixed dev credentials.
  • env.ts defaults the RCLONE_RC_* vars to those values when NODE_ENV is development; real env vars still win, production and Docker are unchanged.

Not run end to end: a Docker container was holding port 8889 locally. Typecheck passes.

`pnpm dev` started rclone for WebDAV only, so the web UI's rclone features (version, remotes, providers) couldn't connect: the app only builds its rc client when `RCLONE_RC_URL`, `RCLONE_RC_USER` and `RCLONE_RC_PASS` are set, and nothing set them in dev. - `dev:webdav` now starts rclone with `--rc` on `127.0.0.1:5572` and fixed dev credentials. - `env.ts` defaults the `RCLONE_RC_*` vars to those values when `NODE_ENV` is `development`; real env vars still win, production and Docker are unchanged. Not run end to end: a Docker container was holding port 8889 locally. Typecheck passes.
Run rclone's rc API in pnpm dev
All checks were successful
CI / knip (pull_request) Successful in 34s
CI / lint (pull_request) Successful in 44s
CI / test (pull_request) Successful in 47s
CI / typecheck (pull_request) Successful in 49s
CI / format (pull_request) Successful in 33s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 23s
CI / build (pull_request) Successful in 39s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 20s
CI / manifest (pull_request) Has been skipped
CI / deploy-test (pull_request) Has been skipped
E2E / playwright (pull_request) Successful in 3m7s
fbe81ebf1a
The dev WebDAV server started without --rc and the app had no RCLONE_RC_*
settings, so the rclone UI could not connect. Start rc on 127.0.0.1:5572 with
fixed dev credentials and default the app to them in development.
miro merged commit 8259ac88a9 into main 2026-10-15 19:48:37 +00:00
miro deleted branch claude/pnpm-dev-services-d44984 2026-10-15 19:48:37 +00:00
miro referenced this pull request from a commit 2026-10-15 19:48:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miro/files!107
No description provided.