Skip to content

merge to main - #68

Merged
Lftobs merged 22 commits into
mainfrom
dev
Oct 11, 2026
Merged

Lftobs merged 22 commits into
mainfrom
dev

Conversation

@Lftobs

@Lftobs Lftobs commented Oct 11, 2026

Copy link
Copy Markdown
Owner

No description provided.

Lftobs and others added 22 commits October 8, 2026 05:46
…ontainers

Abort failover when the chosen target does not answer its SSH port,
refuse automatic failovers within FAILOVER_MIN_INTERVAL_MS (default 10m),
allow disabling the monitor with FAILOVER_DISABLED, and remove the previous
deployment's containers from the old server behind a 30s cap so a dead
host cannot hang the failover.
Remote builds cloned the repo and ran `railpack build .` without ever
consulting the project's sourceDir or projectType, so any project whose
code lives in a subfolder failed with "Railpack could not determine how to
build the app" while the same project deployed fine locally.

Send the local railpack-config-utils.ts source to the target host, write it
into the clone through a quoted heredoc, and run it there with bun, which is
installed unzip-free via python3 when the host has neither bun nor unzip.
Remote failures now read stdout before stderr, so failureReason no longer
reports git's "Cloning into '.'..." instead of the real error.
…eployment's server

ingressSite (the route writer for cross-server projects behind the local
ingress) never emitted CADDY_ACCESS_LOG_BLOCK, so project requests were
never access-logged and request-logs/metrics stayed empty.

Runtime logs ran 'docker logs' against the local node for every
deployment (the SSE stream used a raw spawn, bypassing ssh targeting),
returning [] for anything on a remote server; both handlers now resolve
the deployment's server behind orchestrator/runtime-logs.ts.
…database hosts

Close out the open rows from artifacts/verify-dequel/BUGS.md (005-018,
027, 028, 030-033, 039, 040), live-verified on the primary host.

BUG-027: cancelling a deployment now kills the build's whole process
group (detached local spawns with pgid tracking, DEQUEL_PGID echoed by
the remote script and parsed on abort), and the cancel handler reports
the abort instead of a generic failure.

BUG-039: pam-auth mounts host /etc as a directory and copies
passwd/shadow/group into the container in place every 2s, so
useradd/chpasswd/usermod become visible to PAM immediately — file binds
froze the mount-time inode so logins kept failing until a restart.

BUG-040: Caddy now provisions real Let's Encrypt certificates for db-*
hostnames (site route files database-<host>.caddy written on create,
patch, and delete trigger auto-HTTPS), and the gateway serves those
certs from the shared caddy-data volume (mtime-cached, SAN and expiry
checked, self-signed fallback kept). Live-verified: openssl
-verify_return_error returns 0 for all three public databases and the
node pg driver's verify-full semantics now connect out of the box.

BUG-016: the credentials endpoint probes external reachability and
returns a warning the dashboard surfaces when the endpoint is down.

Also extract authMiddleware into its own module, add lazy repo imports
and orchestrator mocks so bun test runs green again (440 pass, 1
pre-existing DiagRunMachine failure), and correct the database TLS docs
note to describe the new certificate path.
hosts for connections

Wire Caddy certificate detection into connection
strings and resolve direct
database endpoints from their assigned server.
Also begins refactoring
Railpack process cancellation.
tunables

Persist a generated encryption key during
installation and migrate
existing encrypted secrets on startup. Configure
GitHub integration
through the dashboard instead of config seeding.
Validate production secrets and scaling ranges,
improve cleanup and process
handling, and fix authentication, SSH, gateway,
and webhook edge cases.
Update related docs and dashboard behavior.
chore: update dequel documentation pages
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ec4a7a55-d137-4cc0-939e-b8b7db0e8a8e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Lftobs
Lftobs marked this pull request as ready for review October 11, 2026 19:07
@Lftobs
Lftobs merged commit 65b569e into main Oct 11, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
preview — 1ac9913a Deployed Oct 11, 2026 by Lftobs via deploy #36
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