Skip to content

feat(proxy-hosts): create and assign certificates through durable jobs - #94

Merged
RentnerKev merged 3 commits into
mainfrom
feat/proxy-host-certificate-jobs
Sep 12, 2026
Merged

RentnerKev merged 3 commits into
mainfrom
feat/proxy-host-certificate-jobs

Conversation

@RentnerKev

@RentnerKev RentnerKev commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

Creating a proxy host with a new certificate now saves the host, pending certificate, and binding job atomically. A server worker completes issuance and assignment after the browser closes or the web/controller processes restart. Replayed requests reuse the original job and certificate.

The worker rechecks the host revision, domains, permissions, and certificate ownership before binding. Existing valid certificates remain assigned during replacement, and completion requires confirmation of the active proxy revision. Create/Edit and row actions share the ACME fields and expose durable stages and retries. Job secrets are encrypted and cleared after completion.

Validation:

  • Five PostgreSQL creation/retry/permission tests and four worker recovery tests passed.
  • Proxy-host UI (30), certificate UI (21), architecture boundaries (11), lint, typecheck, and web build passed.
  • Full project check passed: 771 Bun tests, 170 Rust tests, format, lint, typecheck, migrations, and production builds.
  • Real Pebble HTTPS/ACME smoke passed all 46 checks, including durable host jobs across web/controller restart and CA-verified HTTPS.

Migration 0019 adds the job table. No release or tag is created.

Closes #81

@coderabbitai

coderabbitai Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: a4b092b3-93d1-4787-86fc-c5cebc007c91


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.

@github-actions github-actions Bot added documentation Improvements or additions to documentation area: proxy Proxy host configuration and request forwarding. area: certificates Certificates, ACME, trusted CAs, and TLS material. area: database Database schema, migrations, and persistence. area: ui Web interface components, routes, styling, and localization. labels Sep 12, 2026
@RentnerKev
RentnerKev marked this pull request as ready for review September 12, 2026 21:38
@RentnerKev
RentnerKev force-pushed the feat/proxy-host-certificate-jobs branch from f7e4b92 to 068e6b0 Compare September 12, 2026 21:54
@RentnerKev
RentnerKev merged commit 0697a35 into main Sep 12, 2026
19 checks passed
@RentnerKev
RentnerKev deleted the feat/proxy-host-certificate-jobs branch September 12, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: certificates Certificates, ACME, trusted CAs, and TLS material. area: database Database schema, migrations, and persistence. area: proxy Proxy host configuration and request forwarding. area: ui Web interface components, routes, styling, and localization. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(proxy-hosts): create and assign certificates through durable jobs

1 participant