Skip to content

ci: run production smokes and fix Linux backup permissions - #20

Merged
RentnerKev merged 6 commits into
mainfrom
ci/production-smokes
Sep 8, 2026
Merged

RentnerKev merged 6 commits into
mainfrom
ci/production-smokes

Conversation

@RentnerKev

@RentnerKev RentnerKev commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

Summary

Production regressions could pass CI without exercising the real appliance. Add one stable Production Smokes check that runs the existing proxy, certificate/ACME, upstream TLS, and appliance/backup/restore scripts on main pull requests and pushes.

The job uses read-only permissions, pinned actions, the current Bun 1.4.2 package-manager version, and images built from the checked-out source. Run labels and a dedicated temporary directory provide scoped cleanup after failure or cancellation. CI output contains check counts and fixed diagnostic categories; raw logs and fixture artifacts are not published.

Linux fixture fixes add the appliance host gateway, preserve OpenSSL file ownership, and give inherited PostgreSQL image volumes explicit fixture names so restore/recreation cannot orphan them. HTTPS response assertions accept negotiated HTTP/2, and the bundled Caddy license is compared with the current checkout bytes so LF and CRLF checkouts behave consistently.

The Linux smoke exposed a real backup permission error: container-created files could not be read or chmodded by the host user, and the controller UID could not access the host's private backup directory. Backup now captures the key and archive through pipes and writes private files as the host user. Restore feeds the validated archive to the controller UID through stdin. The smoke verifies host ownership and 0600/0700 permissions on Unix.

Overview, Users, and Roles now have matching Lucide navigation icons. Form inputs and selects share an explicit 48 px height; compact table controls keep their existing height. The README preserves the existing header and reduces the body to requirements, installation, and six brief feature bullets.

Related issue

Refs #13. Close after the real GitHub run and required-check configuration are verified.

Includes the explicitly requested small sidebar and form-height fixes from #14; the remaining Alpha UX/reliability work stays open.

Type of change

  • CI / tooling
  • Bug fix
  • Dependency update
  • Documentation

Testing

  • bun install --frozen-lockfile, bun run format, and bun run check passed with isolated PostgreSQL 18.6 and Redis 8.10.1.
  • 573 Bun tests and 78 Rust tests passed; checks include formatting, lint, TypeScript, migration contracts, Clippy, Cargo check, and Web/controller production builds.
  • Real local smoke suites passed: proxy 28, certificates/ACME 26, upstream TLS 11, appliance 21.
  • 41 focused workflow/governance/output/resource tests passed, including credential-output rejection and run-scope validation.
  • actionlint, staged Gitleaks, and diff whitespace checks passed.
  • Cleanup fallback removed owned Docker fixtures and preserved a fixture belonging to another run.
  • Existing UI tests and browser measurements cover the small visual corrections; no redundant cosmetic-only tests were added.
  • A Linux UID/permissions reproduction confirmed both original failures and the pipe-based fix without loosening private file modes or controller privileges.

Checklist

  • I tested the relevant functionality.
  • Existing tests pass.
  • I added or updated tests where appropriate.
  • This PR does not include secrets, credentials, production data, or private certificates/keys.
  • The README was shortened as requested; no docs directory was added.
  • I linked the relevant issue.

Breaking changes

None.

Screenshots

None.

@coderabbitai

coderabbitai Bot commented Sep 8, 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: 4ed71882-4d8b-4eec-bede-e03dc313f8ad


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 the area: ci Continuous integration and GitHub automation. label Sep 8, 2026
@RentnerKev RentnerKev changed the title ci: run production smoke tests ci: add production smoke gate and align form controls Sep 8, 2026
@github-actions github-actions Bot added area: proxy Proxy host configuration and request forwarding. area: certificates Certificates, ACME, trusted CAs, and TLS material. area: ui Web interface components, routes, styling, and localization. labels Sep 8, 2026
@RentnerKev RentnerKev changed the title ci: add production smoke gate and align form controls ci: run production smokes and fix Linux backup permissions Sep 8, 2026
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 8, 2026
@RentnerKev
RentnerKev merged commit bac724d into main Sep 8, 2026
20 checks passed
@RentnerKev
RentnerKev deleted the ci/production-smokes branch September 8, 2026 20:46
@RentnerKev RentnerKev mentioned this pull request Sep 8, 2026
4 tasks done
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: ci Continuous integration and GitHub automation. 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.

1 participant