Skip to content

Add startup performance controls#13

Merged
sylvesterdamgaard merged 2 commits into
mainfrom
startup-performance-controls
Jun 29, 2026
Merged

Add startup performance controls#13
sylvesterdamgaard merged 2 commits into
mainfrom
startup-performance-controls

Conversation

@sylvesterdamgaard

Copy link
Copy Markdown
Contributor

Summary

  • add --skip-permission-setup / CBOX_INIT_SKIP_PERMISSION_SETUP=true for pre-baked images
  • add --skip-runtime-validation / CBOX_INIT_SKIP_RUNTIME_VALIDATION=true to avoid php-fpm/nginx validation on every boot
  • add CBOX_INIT_STARTUP_TIMING=true to log startup phase durations
  • update dry-run output and environment variable docs
  • add unit coverage for the new env/timing helpers

Verification

  • git diff --check
  • go test ./cmd/cbox-init could not be run locally: go is not installed in this environment

@sylvesterdamgaard sylvesterdamgaard marked this pull request as ready for review June 29, 2026 10:05
@sylvesterdamgaard sylvesterdamgaard merged commit 7317045 into main Jun 29, 2026
7 checks passed
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