Skip to content

feat: Levelrail v1.5.19, small server backups, Kafka and Spark, staged agent updates and safer redeploys - #1834

Merged
thegdsks merged 14 commits into
mainfrom
release/v1.5.19
Dec 3, 2026
Merged

thegdsks merged 14 commits into
mainfrom
release/v1.5.19

Conversation

@thegdsks

@thegdsks thegdsks commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Summary

Running well on small servers, and safer redeploys.

Closes #1843, #1844
Refs #1845, #1846, #1847, #1848, #1849, #1850, #1851, #1852, #1853

Change ID and tasks

  • Tasks: none
  • ADR: none

Added / Changed / Removed / Fixed

  • Added: Kafka cluster template, topics and lag view and CLI; Spark jobs UI; backup rotation and restore test; dashboard YAML, URL import and cloud packs; staged agent updates; egress port ranges; role grants; Azure and GCP listings; Docker Hub tags; desktop tray.
  • Changed: single writers with writable data stop the old container first; installers verify downloads.
  • Fixed: leaked anonymous volumes; quorum apps converge.

Surfaces touched

  • API
  • CLI
  • Dashboard
  • Agent
  • Docs

Migrations

  • Numbers: 3379 to 3385
  • Forward only, no down migration

Runtime settings added

  • All live: deploy.stop_first_default, deploy.remove_anonymous_volumes, kafka.view_, dns.egress_, nodes.agent_update_wave_, secrets.rotation_, registry.dockerhub.*, security.passkey_required_roles.

Feature flags and status

  • No flag

Security review

  • Authz deny tests added for new routes
  • Input bounds and size limits checked

Behaviour changes and upgrade notes

Redeploys of single replica services with writable volumes now stop the old container first (short gap). Opt out per service with runtime.volume_overlap.

Not verified / needs a real host

Azure and GCP live accounts, backup rotation, egress firewall, agent update waves on real nodes, desktop window, volume removal on remote nodes, Docker Hub tags (fake Hub only), Spark to Kafka.

Tests run

Gate passed. Kafka, redeploy and volume fixes proven on one arm64 server.

Screenshots (demo data)

Dashboard
Import
Deployments

Rollback

Revert the merge. Set deploy.stop_first_default false for the old overlap.

Release-As: 1.5.19

Confidence Score: 0/5RetriggerView in Greptile

This PR is not ready to merge because previous findings about signing checks, access checks, shared storage, and rollout safety remain unresolved.

Findings

  1. P1 Signed SSH pushes are refused ▶
  2. P1 Security Unsigned source can still deploy ▶
  3. P1 Rotation skips restart failures ▶
  4. P1 Security Hidden apps appear in summaries ▶
  5. P1 Security Old DNS details return ▶
  6. P1 Skipped history looks clean ▶
  7. P1 Personal modes change server settings ▶
  8. P1 Adding services hides existing data ▶
  9. P1 Saved templates split shared storage ▶
  10. P1 Security Rotation bypasses environment write denials ▶
  11. P1 Resume ignores new update failures ▶
  12. P1 Spark exceeds one-off memory limits ▶
  13. P2 JSON output is plain text ▶
  14. P2 The status example does nothing ▶
Fix with agent prompt
### Issue 1
internal/api/commit_signing.go:186-187
`commitSigningRefusal` drops the credential scope before fetching the commit. For an SSH source, `withSSHDeployKey` only attaches the saved key when the context has an `app:` scope. A new signed push therefore fails with `commit_signature_unverifiable` even when its deploy key and signature are valid. Use `resolveGitSourceDeployCredential` and attach its scope before fetching.

### Issue 2
internal/api/commit_signing.go:141-143
`verifyCheckoutSigning` skips the policy when the caller omits the app name. `handleDeploySpec` does exactly that, and `single_service_name` lets it replace an existing service that requires signed commits. A caller with deploy access can therefore deploy unsigned source without changing the signing policy. Check the policy for each destination service before building it.

**How this was verified:** The deploy-spec fetch omits the signing context, and its chosen service name reaches `Pipeline.Deploy` without another signature check.

### Issue 3
internal/secretrotation/engine.go:339-353
`restartConsumers` waits only for a restart request to be saved, not for the app to restart successfully. The real `Restart` method changes `restart_nonce`, writes an event, and returns immediately. The loop can request every restart and mark the rotation complete before the first app fails to start. Wait for each app to become healthy before moving on, and record completion only then.

### Issue 4
internal/api/summary_slo.go:96-101
`handleSLOSummary` returns every enabled SLO rule without applying the caller's app visibility or IAM policies. A default-organization reader denied access to `app:secret` can still receive its name, burn rate, and target in `worst`. Filter the rules with the normal app-read check. Include the caller's access scope in the cache key, or avoid sharing filtered results.

**How this was verified:** The read-only route calls unfiltered `ListRules`, while normal app reads apply `callerAppAccess` and its resource checks.

### Issue 5
internal/network/dns_querylog_persist.go:74-77
`LoadFile` restores saved records without applying the current privacy setting. After saving with `full` or `names_only`, restarting with `counters_only` brings the old domain names back. Restarting with `names_only` can also restore source IPs. `SaveFile` then writes those records again. Apply the current privacy level when loading and saving, rather than relying only on `Observe`.

**How this was verified:** Restored records go directly to `push`, bypassing the privacy checks used when a query is first recorded.

### Issue 6
internal/deploy/secretscan/service.go:123-126
The history-scan error and shallow-clone branches only write a log message. Neither changes `scanErr` or marks the result incomplete. With a clean current tree, a missing `git` executable or failed history read therefore produces `StatusComplete` and `ActionAllow`, even under `PolicyBlock`. Pass history errors into the decision and record skipped history as incomplete.

### Issue 7
web/src/components/mode/ModePicker.tsx:113-115
The “apply for me” path also writes instance-wide runtime settings. For `laptop` and `vps-single`, a non-root user hits a forbidden write after local preferences have already changed. A root user's personal choice instead changes build and memory settings for everyone. Run the settings loop only for the explicit instance-wide action.

```suggestion
      if (everyone) {
        for (const [key, value] of Object.entries(diff.settings)) {
          await setSetting.mutateAsync({ key, value })
        }
      }
```

### Issue 8
internal/compose/translate.go:249-250
`sharedNamedVolumes` chooses the first sorted service name as the owner, and that owner becomes part of the Docker volume name. Adding `api` to a volume shared by `worker` and `web` therefore changes the volume mounted by all three services on the next deploy. Existing services start with empty storage instead of their data.

Give shared volumes a stable app-level identity that does not depend on which services mount them.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

### Issue 9
internal/compose/export.go:134-137
Saving an app with shared volumes as a template loses the sharing. This code recovers the logical volume name, but `composeExportDoc` still emits only `version` and `services`. It never emits the top-level `x-levelrail-shared` marker that the parser now requires.

Deploying the saved template gives each service a separate volume, so files written by a setup service never reach its consumers. Export the shared declarations alongside their mounts.

### Issue 10
internal/api/routes_platform_project.go:undefined-138
The new rotation route checks environment access with `AbilityRead`, although it changes a secret and restarts consumers. A caller with global `write:sensitive` and an explicit write denial for that environment can pass this read check and rotate its secret. `environmentEnvSecretScope` adds no later resource check.

Require the environment write check used by the neighboring secret-write routes before changing the value.

**How this was verified:** The rotation route checks only environment read access before calling the secret writer, while ordinary secret writes check environment write access.

```suggestion
	mux.HandleFunc("POST /api/v1/environments/{id}/env/secrets/{key}/rotate", rt.requireAuth(rt.requireEnvironmentGrant(AbilityWrite, rt.requireAbility(AbilityWriteSensitive, rt.handleRotateEnvironmentEnvSecret))))
```

### Issue 11
internal/nodeinsight/wave.go:113-120
Resuming a rollout disables rollback stops for every later failure on that target. `resumed` skips the rollback check for all nodes, not just the failure the operator chose to bypass. Rolled-back nodes are then skipped by the remaining checks too.

If another wave fails after resume, later waves can still install the same bad release. Remember which failures were accepted at resume and stop again for any new rollback.

### Issue 12
internal/api/jobs_oneshot.go:275-278
A Spark one-off run overwrites the operator's `apps_run.memory_limit_mb` limit. `applyOneShotResourceLimits` sets that limit, but this assignment replaces it with the Spark preset's value. With a 512 MB one-off limit and the default Spark preset, the container instead receives 1024 MB, putting small hosts under unexpected memory pressure.

Keep the operator's nonzero limit as a ceiling when applying the preset.

```suggestion
	rt.applyOneShotResourceLimits(r.Context(), &task)
	if sparkPlan != nil {
		if task.MemoryLimitMB > 0 {
			task.MemoryLimitMB = min(task.MemoryLimitMB, sparkPlan.MemoryLimitMB)
		} else {
			task.MemoryLimitMB = sparkPlan.MemoryLimitMB
		}
	}
```

### Issue 13
cmd/levelrail-cli/commit_signing.go:undefined-58
`commit-signing show --json` still prints the human-readable sentence. The command advertises JSON output but never renders `res` through the shared output path. Honor `--json`, `--output`, and `--query` so scripts can read the policy and allowed keys.

### Issue 14
docs/pr-comment-commands.md:undefined-19
The documented `/lrail status` comment is not recognized. The comment parser still accepts only `/levelrail`, so following this example produces no status reply. Keep `/levelrail status` here and in the preview-environments table; the CLI rename does not change PR comment commands.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Release 1.5.19 adds small-server features and safer deployment controls.

  • Single-replica services stop the old writer before a redeploy starts.
  • Operators can check local backup rotation and test a restore.
  • App operators can inspect Kafka topics and run local Spark jobs.
  • Shared secret rotation restarts consuming apps one at a time.
  • Operators can roll out agent updates in waves and pause between them.
  • Dashboard setup can import boards and apply a mode for the server or one user.
  • Cloud, egress, and access workflows gain new views and controls.
  • A desktop app adds a tray view, dashboard links, and update support.

Reviews (4) · Last reviewed commit: "docs: refresh product screenshots for th..." · Reviewed by Greptile

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 1011 files, which is 911 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 500 files.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9758e8d7-70ed-4dd2-beb9-2ced8410a5fa
Commits

Reviewing files that changed from the base of the PR and between 373d2d1 and 1ba82a3.

Files ignored due to path filters: 42

  • desktop/Cargo.lock is excluded by !**/*.lock
  • desktop/src-tauri/icons/128x128.png is excluded by !**/*.png
  • desktop/src-tauri/icons/128x128@2x.png is excluded by !**/*.png
  • desktop/src-tauri/icons/32x32.png is excluded by !**/*.png
  • desktop/src-tauri/icons/icon.ico is excluded by !**/*.ico
  • desktop/src-tauri/icons/icon.png is excluded by !**/*.png
  • desktop/src-tauri/icons/tray-offline.png is excluded by !**/*.png
  • desktop/src-tauri/icons/tray-online.png is excluded by !**/*.png
  • desktop/src-tauri/icons/tray-unknown.png is excluded by !**/*.png
  • docs/assets/screenshots/alerts-light.png is excluded by !**/*.png
  • docs/assets/screenshots/alerts.png is excluded by !**/*.png
  • docs/assets/screenshots/app-analysis-light.png is excluded by !**/*.png
  • docs/assets/screenshots/app-analysis.png is excluded by !**/*.png
  • docs/assets/screenshots/app-runtime-options-light.png is excluded by !**/*.png
  • docs/assets/screenshots/app-runtime-options.png is excluded by !**/*.png
  • docs/assets/screenshots/apps-list-light.png is excluded by !**/*.png
  • docs/assets/screenshots/apps-list.png is excluded by !**/*.png
  • docs/assets/screenshots/dashboard-home-light.png is excluded by !**/*.png
  • docs/assets/screenshots/dashboard-home.png is excluded by !**/*.png
  • docs/assets/screenshots/dashboard-import-light.png is excluded by !**/*.png
  • docs/assets/screenshots/dashboard-import.png is excluded by !**/*.png
  • docs/assets/screenshots/deploy-history-light.png is excluded by !**/*.png
  • docs/assets/screenshots/deploy-history.png is excluded by !**/*.png
  • docs/assets/screenshots/deployments-all-light.png is excluded by !**/*.png
  • docs/assets/screenshots/deployments-all.png is excluded by !**/*.png
  • docs/assets/screenshots/inbox-light.png is excluded by !**/*.png
  • docs/assets/screenshots/inbox.png is excluded by !**/*.png
  • docs/assets/screenshots/new-app-wizard-light.png is excluded by !**/*.png
  • docs/assets/screenshots/new-app-wizard.png is excluded by !**/*.png
  • docs/assets/screenshots/nodes-light.png is excluded by !**/*.png
  • docs/assets/screenshots/nodes.png is excluded by !**/*.png
  • docs/assets/screenshots/settings-hub-light.png is excluded by !**/*.png
  • docs/assets/screenshots/settings-hub.png is excluded by !**/*.png
  • docs/assets/screenshots/status-page-admin-light.png is excluded by !**/*.png
  • docs/assets/screenshots/status-page-admin.png is excluded by !**/*.png
  • docs/assets/screenshots/status-page-public-light.png is excluded by !**/*.png
  • docs/assets/screenshots/status-page-public.png is excluded by !**/*.png
  • internal/agent/agentpb/agent.pb.go is excluded by !**/*.pb.go
  • sdk/iac-typescript/src/generated/schema.ts is excluded by !**/generated/**
  • sdk/typescript/src/generated/operations.ts is excluded by !**/generated/**
  • sdk/typescript/src/generated/resources.ts is excluded by !**/generated/**
  • web/src/lib/templateLogos.generated.ts is excluded by !**/*.generated.*
Files selected for processing: 1011

  • .github/CONTRIBUTING.md
  • .github/PULL_REQUEST_TEMPLATE.md
  • .github/workflows/desktop.yml
  • .github/workflows/milestone.yml
  • AGENTS.md
  • CLA.md
  • NOTICE
  • README.md
  • TRADEMARK.md
  • cmd/levelrail-cli/apps.go
  • cmd/levelrail-cli/apps_alerts.go
  • cmd/levelrail-cli/apps_build_settings.go
  • cmd/levelrail-cli/apps_create.go
  • cmd/levelrail-cli/apps_egress.go
  • cmd/levelrail-cli/apps_egress_log.go
  • cmd/levelrail-cli/apps_exec_access.go
  • cmd/levelrail-cli/apps_kafka.go
  • cmd/levelrail-cli/apps_kafka_test.go
  • cmd/levelrail-cli/apps_organizations.go
  • cmd/levelrail-cli/apps_requests.go
  • cmd/levelrail-cli/apps_runtime.go
  • cmd/levelrail-cli/assets_objects.go
  • cmd/levelrail-cli/auth_server_pin.go
  • cmd/levelrail-cli/auth_server_pin_test.go
  • cmd/levelrail-cli/backup_targets_create.go
  • cmd/levelrail-cli/backup_targets_drill.go
  • cmd/levelrail-cli/backup_targets_drill_test.go
  • cmd/levelrail-cli/builder_trust.go
  • cmd/levelrail-cli/client.go
  • cmd/levelrail-cli/commit_signing.go
  • cmd/levelrail-cli/control_plane_dr_keys.go
  • cmd/levelrail-cli/dashboards.go
  • cmd/levelrail-cli/databases_tags.go
  • cmd/levelrail-cli/doctor_client.go
  • cmd/levelrail-cli/domains_cutover.go
  • cmd/levelrail-cli/env_set.go
  • cmd/levelrail-cli/error_codes.go
  • cmd/levelrail-cli/error_codes_gen.go
  • cmd/levelrail-cli/errors_format.go
  • cmd/levelrail-cli/flagutil.go
  • cmd/levelrail-cli/import.go
  • cmd/levelrail-cli/init_budget_test.go
  • cmd/levelrail-cli/jobs.go
  • cmd/levelrail-cli/jobs_run.go
  • cmd/levelrail-cli/jobs_spark_test.go
  • cmd/levelrail-cli/mail_system_email.go
  • cmd/levelrail-cli/main.go
  • cmd/levelrail-cli/nodes_agent_rollout.go
  • cmd/levelrail-cli/nodes_bulk.go
  • cmd/levelrail-cli/nodes_insight.go
  • cmd/levelrail-cli/orgs.go
  • cmd/levelrail-cli/output.go
  • cmd/levelrail-cli/policy.go
  • cmd/levelrail-cli/registries_dockerhub.go
  • cmd/levelrail-cli/registries_dockerhub_test.go
  • cmd/levelrail-cli/settings_dashboard_url.go
  • cmd/levelrail-cli/shared_env.go
  • cmd/levelrail-cli/shared_env_test.go
  • cmd/levelrail-cli/stack.go
  • cmd/levelrail-cli/system_db_space.go
  • cmd/levelrail-cli/vm.go
  • cmd/levelrail-cli/vm_lifecycle.go
  • cmd/levelrail-migrate/main.go
  • cmd/levelrail/audit_chain_watch.go
  • cmd/levelrail/audit_chain_watch_test.go
  • cmd/levelrail/boot_profile.go
  • cmd/levelrail/boot_profile_test.go
  • cmd/levelrail/boot_root_handler.go
  • cmd/levelrail/boot_source.go
  • cmd/levelrail/boot_stages_services.go
  • cmd/levelrail/boot_stages_workers.go
  • cmd/levelrail/cert_write_source.go
  • cmd/levelrail/diskguard_wiring.go
  • cmd/levelrail/egress_dryrun_persist.go
  • cmd/levelrail/egress_dryrun_persist_test.go
  • cmd/levelrail/footprint_test.go
  • cmd/levelrail/mesh_dns_log.go
  • cmd/levelrail/mesh_dns_log_persist_test.go
  • cmd/levelrail/restore_cmd.go
  • cmd/levelrail/restore_db.go
  • cmd/levelrail/secretscan.go
  • cmd/levelrail/self_upgrade.go
  • cmd/levelrail/self_upgrade_plan.go
  • cmd/levelrail/usage.go
  • desktop/.gitignore
  • desktop/Cargo.toml
  • desktop/core/Cargo.toml
  • desktop/core/src/config.rs
  • desktop/core/src/health.rs
  • desktop/core/src/lib.rs
  • desktop/core/src/nav.rs
  • desktop/core/src/profile.rs
  • desktop/core/src/status.rs
  • desktop/core/src/tray_model.rs
  • desktop/core/src/update_config.rs
  • desktop/core/src/url_rules.rs
  • desktop/src-tauri/Cargo.toml
  • desktop/src-tauri/build.rs
  • desktop/src-tauri/capabilities/local.json
  • desktop/src-tauri/icons/icon.icns
  • desktop/src-tauri/permissions/autogenerated/add_profile.toml
  • desktop/src-tauri/permissions/autogenerated/list_profiles.toml
  • desktop/src-tauri/permissions/autogenerated/open_dashboard.toml
  • desktop/src-tauri/permissions/autogenerated/refresh_all.toml
  • desktop/src-tauri/permissions/autogenerated/remove_profile.toml
  • desktop/src-tauri/src/commands.rs
  • desktop/src-tauri/src/main.rs
  • desktop/src-tauri/src/notify.rs
  • desktop/src-tauri/src/state.rs
  • desktop/src-tauri/src/tray.rs
  • desktop/src-tauri/src/updater.rs
  • desktop/src-tauri/src/window.rs
  • desktop/src-tauri/tauri.conf.json
  • desktop/ui/app.css
  • desktop/ui/app.js
  • desktop/ui/index.html
  • docs/account.md
  • docs/agent-update-waves.md
  • docs/alerts.md
  • docs/all-pages.mdx
  • docs/api-reference.md
  • docs/arm-compatibility.md
  • docs/backups-and-storage.md
  • docs/behind-an-existing-proxy.md
  • docs/chaos-coverage.md
  • docs/ci-gate.md
  • docs/cleanup-center.md
  • docs/cli-reference.md
  • docs/cloud-connections.md
  • docs/compose-apps.md
  • docs/connect-git-source.md
  • docs/control-plane-backup.md
  • docs/control-plane-recovery.md
  • docs/custom-dashboards.md
  • docs/deploy-safety.md
  • docs/deploy-timeline.md
  • docs/deploying-apps.md
  • docs/desktop-app.md
  • docs/docker-hub-connection.md
  • docs/docs.json
  • docs/egress-dry-run.md
  • docs/environment-variables.md
  • docs/faq.md
  • docs/feature-status.md
  • docs/features.md
  • docs/git-push-deploy.md
  • docs/i18n/README.de.md
  • docs/i18n/README.es.md
  • docs/i18n/README.ja.md
  • docs/i18n/README.pt-BR.md
  • docs/i18n/README.zh-Hans.md
  • docs/iac/reference.md
  • docs/images.md
  • docs/index.md
  • docs/jobs.md
  • docs/kubernetes-clusters.md
  • docs/leave-anytime.md
  • docs/low-scale.md
  • docs/lower-infrastructure-cost.md
  • docs/macos-runtime.md
  • docs/multi-node.md
  • docs/observability.md
  • docs/pages.md
  • docs/performance-budget.md
  • docs/performance.md
  • docs/pr-comment-commands.md
  • docs/preview-environments.md
  • docs/prove-your-backups-work.md
  • docs/public/arm64-compat.json
  • docs/public/llms.txt
  • docs/public/openapi.json
  • docs/runtime-options.md
  • docs/runtime-settings.md
  • docs/schemas/resources.schema.json
  • docs/screenshots.md
  • docs/secret-rotation.md
  • docs/secret-scanning.md
  • docs/security.md
  • docs/self-host/index.mdx
  • docs/self-host/kafka-cluster.mdx
  • docs/self-host/spark-local.mdx
  • docs/self-host/spark-notebook.mdx
  • docs/session-policy.md
  • docs/teams-and-roles.md
  • docs/template-catalog.md
  • docs/templates-status.md
  • docs/verify-a-release.md
  • install-cli.ps1
  • install-cli.sh
  • internal/agent/execute.go
  • internal/agent/fence.go
  • internal/agent/grpc_transport.go
  • internal/agent/mux.go
  • internal/agent/remove_volumes_test.go
  • internal/agent/server.go
  • internal/alerting/audit_chain_broken.go
  • internal/alerting/cert_write.go
  • internal/alerting/cert_write_test.go
  • internal/alerting/defaults.go
  • internal/alerting/engine.go
  • internal/alerting/history.go
  • internal/alerting/noise.go
  • internal/alerting/rules.go
  • internal/alerting/secret_refs.go
  • internal/alerting/secret_refs_test.go
  • internal/api/access_policy.go
  • internal/api/account_activity.go
  • internal/api/account_self.go
  • internal/api/alerts.go
  • internal/api/app_import_run.go
  • internal/api/app_kafka.go
  • internal/api/app_kafka_test.go
  • internal/api/app_service_runtime.go
  • internal/api/approval_without_session.go
  • internal/api/apps_build_settings.go
  • internal/api/apps_egress.go
  • internal/api/apps_egress_log.go
  • internal/api/apps_egress_report_test.go
  • internal/api/apps_k8s_target_test.go
  • internal/api/apps_move_with_volumes.go
  • internal/api/attention_datacopy.go
  • internal/api/auth.go
  • internal/api/authlib_mfa_passkeys.go
  • internal/api/authlib_tokens.go
  • internal/api/backup_targets.go
  • internal/api/backup_targets_test.go
  • internal/api/branch_deploys.go
  • internal/api/build_runners.go
  • internal/api/builds_manual.go
  • internal/api/certificates.go
  • internal/api/cli_console.go
  • internal/api/cloud_aws_services.go
  • internal/api/cloud_doctor.go
  • internal/api/cloud_inventory.go
  • internal/api/cloud_inventory_test.go
  • internal/api/cloud_resources_feed.go
  • internal/api/cloud_resources_feed_test.go
  • internal/api/commit_signing.go
  • internal/api/commit_signing_test.go
  • internal/api/compose_git_source.go
  • internal/api/control_plane_backups.go
  • internal/api/control_plane_backups_test.go
  • internal/api/control_plane_dr.go
  • internal/api/control_plane_dr_test.go
  • internal/api/custom_dashboards.go
  • internal/api/custom_dashboards_test.go
  • internal/api/custom_dashboards_url.go
  • internal/api/custom_dashboards_url_test.go
  • internal/api/dashboard_home_load_bench_test.go
  • internal/api/data_export.go
  • internal/api/demo_gate.go
  • internal/api/dockerhub_tag_browse.go
  • internal/api/dockerhub_tag_browse_test.go
  • internal/api/doctor.go
  • internal/api/doctor_cert_store.go
  • internal/api/doctor_cert_store_test.go
  • internal/api/doctor_engine.go
  • internal/api/doctor_low_memory.go
  • internal/api/doctor_low_memory_test.go
  • internal/api/doctor_secret_refs.go
  • internal/api/doctor_secret_refs_test.go
  • internal/api/env_contract_write_enumeration_test.go
  • internal/api/env_reveal_auth.go
  • internal/api/env_route_enumeration_test.go
  • internal/api/errclass.go
  • internal/api/exposure.go
  • internal/api/exposure_test.go
  • internal/api/failed_auth_limit.go
  • internal/api/failed_auth_limit_test.go
  • internal/api/fixit_settings.go
  • internal/api/fleet_widgets_org.go
  • internal/api/fleet_widgets_org_test.go
  • internal/api/git_order_guard.go
  • internal/api/git_webhook.go
  • internal/api/git_webhook_guard.go
  • internal/api/git_webhook_signed_test.go
  • internal/api/gravatar.go
  • internal/api/iac_env_contract_test.go
  • internal/api/image_import.go
  • internal/api/janitor.go
  • internal/api/jobs_oneshot.go
  • internal/api/k8s_clusters_aks_test.go
  • internal/api/k8s_clusters_eks_test.go
  • internal/api/k8s_clusters_gke_test.go
  • internal/api/k8s_clusters_security_test.go
  • internal/api/k8s_clusters_test.go
  • internal/api/k8s_workloads_test.go
  • internal/api/mcp_http.go
  • internal/api/me_ui_mode.go
  • internal/api/me_ui_mode_test.go
  • internal/api/mobile.go
  • internal/api/node_agent_update_policy.go
  • internal/api/node_agent_update_rollout.go
  • internal/api/node_insight.go
  • internal/api/node_move_exec.go
  • internal/api/null_slice_contract_test.go
  • internal/api/openapi_gen.go
  • internal/api/org_isolation_matrix_test.go
  • internal/api/organization_profile.go
  • internal/api/organizations.go
  • internal/api/organizations_test.go
  • internal/api/param_route_scope_audit_test.go
  • internal/api/passkey_role_policy.go
  • internal/api/passkey_role_policy_test.go
  • internal/api/passkey_root_edge_test.go
  • internal/api/passkey_root_policy.go
  • internal/api/passkey_root_policy_test.go
  • internal/api/pinned_session_expiry_test.go
  • internal/api/preview_environments.go
  • internal/api/profile_images.go
  • internal/api/profile_images_test.go
  • internal/api/resource_secret_fields_test.go
  • internal/api/rest_route_audit_test.go
  • internal/api/roles_handlers.go
  • internal/api/roles_pinned_test.go
  • internal/api/roles_root_assign_test.go
  • internal/api/roles_store.go
  • internal/api/roles_timed.go
  • internal/api/roles_timed_due_test.go
  • internal/api/roles_timed_race_test.go
  • internal/api/roles_timed_sweep_test.go
  • internal/api/roles_timed_test.go
  • internal/api/roles_timed_token_test.go
  • internal/api/router.go
  • internal/api/routes.go
  • internal/api/routes_account.go
  • internal/api/routes_apps_egress_report.go
  • internal/api/routes_cloud_accounts.go
  • internal/api/routes_core_public.go
  • internal/api/routes_custom_dashboards.go
  • internal/api/routes_me_preferences.go
  • internal/api/routes_platform_app_runtime.go
  • internal/api/routes_platform_app_source.go
  • internal/api/routes_platform_node.go
  • internal/api/routes_platform_project.go
  • internal/api/routes_platform_settings.go
  • internal/api/routes_summaries.go
  • internal/api/runtime_settings.go
  • internal/api/runtime_settings_job_spark.go
  • internal/api/scheduled_tasks.go
  • internal/api/secret_ref_health.go
  • internal/api/secret_rotation_policies.go
  • internal/api/security_anomaly.go
  • internal/api/shared_env_rotate.go
  • internal/api/shared_env_rotate_test.go
  • internal/api/source_cache.go
  • internal/api/source_uploads.go
  • internal/api/spark_job_test.go
  • internal/api/store_interfaces_auth.go
  • internal/api/stream_reauth.go
  • internal/api/summary_backups.go
  • internal/api/summary_cache.go
  • internal/api/summary_cloud.go
  • internal/api/summary_fleet_test.go
  • internal/api/summary_security.go
  • internal/api/summary_slo.go
  • internal/api/team_authz_matrix_test.go
  • internal/api/team_gate.go
  • internal/api/tokens.go
  • internal/apiclient/app_kafka.go
  • internal/apiclient/backup_target_drill.go
  • internal/apiclient/client.go
  • internal/apiclient/config.go
  • internal/apiclient/egress_report.go
  • internal/apiclient/jobs_oneshot.go
  • internal/apiclient/node_insight.go
  • internal/apiclient/organization_profile.go
  • internal/apiclient/registry_dockerhub.go
  • internal/apiclient/service_runtime.go
  • internal/apiclient/types.go
  • internal/authengine/mfa_service.go
  • internal/authengine/sessions_audit.go
  • internal/authengine/sessions_ops.go
  • internal/autoscale/controller.go
  • internal/autoscale/decide.go
  • internal/backup/local_files.go
  • internal/backup/local_guard.go
  • internal/backup/local_guard_test.go
  • internal/backup/major_upgrade.go
  • internal/backup/scheduler.go
  • internal/backup/scheduler_compose.go
  • internal/backup/target_drill.go
  • internal/backup/target_drill_test.go
  • internal/branchdeploy/branchdeploy.go
  • internal/catalog/dollar_escape_test.go
  • internal/catalog/manifests/kafka-cluster/compose.yaml
  • internal/catalog/manifests/kafka-cluster/template.yaml
  • internal/cliconsole/allowlist.go
  • internal/clitree/dispatched_gen.go
  • internal/clitree/tree.go
  • internal/commitsig/commitsig.go
  • internal/commitsig/commitsig_test.go
  • internal/commitsig/hash.go
  • internal/compose/compose.go
  • internal/compose/export.go
  • internal/compose/restart_test.go
  • internal/compose/runtime.go
  • internal/compose/shared_volume_test.go
  • internal/compose/translate.go
  • internal/compose/unsupported.go
  • internal/compose/yaml.go
  • internal/cpbackup/cpbackup.go
  • internal/cpbackup/newest_test.go
  • internal/cpbackup/rotate.go
  • internal/cpbackup/rotate_diskfull_test.go
  • internal/cpbackup/rotate_test.go
  • internal/cpbackup/status.go
  • internal/cphealth/cphealth.go
  • internal/dashboards/dashboards.go
  • internal/dashboards/dashboards_test.go
  • internal/dashboards/packs/app-health.yaml
  • internal/dashboards/packs/app-reliability.yaml
  • internal/dashboards/packs/aws.yaml
  • internal/dashboards/packs/azure.yaml
  • internal/dashboards/packs/backups.yaml
  • internal/dashboards/packs/cloud.yaml
  • internal/dashboards/packs/cost.yaml
  • internal/dashboards/packs/fleet-overview.yaml
  • internal/dashboards/packs/gcp.yaml
  • internal/dashboards/packs/kubernetes.yaml
  • internal/dashboards/packs/security.yaml
  • internal/dashboards/packs/slo.yaml
  • internal/dashboards/schema.json
  • internal/dashboards/templates.go
  • internal/dashboards/yaml.go
  • internal/dashboards/yaml_test.go
  • internal/deploy/deploy.go
  • internal/deploy/next_assets.go
  • internal/deploy/secret_scan.go
  • internal/deploy/secret_scan_test.go
  • internal/deploy/secretscan/history.go
  • internal/deploy/secretscan/history_test.go
  • internal/deploy/secretscan/scan.go
  • internal/deploy/secretscan/scan_test.go
  • internal/deploy/secretscan/service.go
  • internal/deploy/secretscan/service_test.go
  • internal/deploy/secretscan/types.go
  • internal/deploy/static_build.go
  • internal/deploy/translate.go
  • internal/deploy/volume_owner_app_test.go
  • internal/deploysafety/reason_catalog.go
  • internal/deploysafety/settings.go
  • internal/diskguard/diskguard.go
  • internal/diskguard/diskguard_test.go
  • internal/docker/client.go
  • internal/docker/hardening.go
  • internal/docker/hardening_nnp_test.go
  • internal/docker/image_digest.go
  • internal/docker/runtime.go
  • internal/fixit/explain.go
  • internal/iac/schema/resources.schema.json
  • internal/importplan/dockerrun.go
  • internal/importplan/plan.go
  • internal/ingress/abuse_live_modes_test.go
  • internal/ingress/certstorage.go
  • internal/ingress/certstorage_diskfull_test.go
  • internal/ingress/certwrite_health.go
  • internal/janitor/allowlist.go
  • internal/janitor/engine.go
  • internal/janitor/janitor_test.go
  • internal/janitor/policy.go
  • internal/janitor/stages.go
  • internal/kafkaview/parse.go
  • internal/kafkaview/parse_test.go
  • internal/migrationplan/checklist.go
  • internal/migrationplan/report.go
  • internal/network/dns_querylog.go
  • internal/network/dns_querylog_persist.go
  • internal/network/dns_querylog_test.go
  • internal/nodeinsight/rollout_control.go
  • internal/nodeinsight/skew.go
  • internal/nodeinsight/wave.go
  • internal/nodeinsight/wave_rollout_test.go
  • internal/nodeinsight/wave_test.go
  • internal/placement/affinity.go
  • internal/placement/placement.go
  • internal/profile/profile.go
  • internal/profile/profile_test.go
  • internal/provision/inventory.go
  • internal/provision/inventory_azure.go
  • internal/provision/inventory_gcp.go
  • internal/provision/inventory_scope_test.go
  • internal/provision/inventory_test.go
  • internal/proxyroutes/detect.go
  • internal/proxyroutes/sync.go
  • internal/reconcile/application/controller.go
  • internal/reconcile/application/egress.go
  • internal/reconcile/application/egress_test.go
  • internal/reconcile/application/exclusive_data_test.go
  • internal/reconcile/application/job_spec.go
  • internal/reconcile/application/nnp_remote.go
  • internal/reconcile/application/nnp_remote_test.go
  • internal/reconcile/application/pass_snapshot.go
  • internal/reconcile/application/pinned_port.go
  • internal/reconcile/application/remove_volumes_test.go
  • internal/reconcile/application/runtime_options.go
  • internal/reconcile/application/stability_gate.go
  • internal/reconcile/application/stability_gate_wait_test.go
  • internal/reconcile/application/takeover_narrow_test.go
  • internal/reconcile/application/volume_overlap_test.go
  • internal/reconcile/application/volume_owner.go
  • internal/reconcile/engine.go
  • internal/reconcile/guard.go
  • internal/reconcile/keyonly_serial_test.go
  • internal/rollback/apply.go
  • internal/rollback/retained.go
  • internal/runtimesettings/keys.txt
  • internal/runtimesettings/registry_announcements.go
  • internal/runtimesettings/registry_audit_verify.go
  • internal/runtimesettings/registry_backup_local.go
  • internal/runtimesettings/registry_cert_store_doctor.go
  • internal/runtimesettings/registry_cloud_inventory.go
  • internal/runtimesettings/registry_cp_backup.go
  • internal/runtimesettings/registry_cp_dr.go
  • internal/runtimesettings/registry_dashboard_widgets.go
  • internal/runtimesettings/registry_deploy_volumes.go
  • internal/runtimesettings/registry_disk_reclaim.go
  • internal/runtimesettings/registry_dns_egress_log.go
  • internal/runtimesettings/registry_dns_query_log.go
  • internal/runtimesettings/registry_dockerhub.go
  • internal/runtimesettings/registry_k8s.go
  • internal/runtimesettings/registry_kafka.go
  • internal/runtimesettings/registry_limits.go
  • internal/runtimesettings/registry_low_memory.go
  • internal/runtimesettings/registry_node_agent_resilience.go
  • internal/runtimesettings/registry_org_profile.go
  • internal/runtimesettings/registry_passkey_roles.go
  • internal/runtimesettings/registry_passkey_root.go
  • internal/runtimesettings/registry_role_grants.go
  • internal/runtimesettings/registry_runtime_options.go
  • internal/runtimesettings/registry_secret_ref_doctor.go
  • internal/runtimesettings/registry_secret_rotation.go
  • internal/runtimesettings/registry_secret_scan_deep.go
  • internal/runtimesettings/registry_signed_commits.go
  • internal/runtimesettings/registry_ui_mode.go
  • internal/runtimesettings/registry_upgrade_soak.go
  • internal/runtimesettings/service.go
  • internal/runtimesettings/service_test.go
  • internal/scheduledtask/spark.go
  • internal/scheduledtask/spark_test.go
  • internal/secretconn/service.go
  • internal/secretrotation/engine.go
  • internal/secretrotation/engine_test.go
  • internal/secretsource/health.go
  • internal/secretsource/health_test.go
  • internal/selfupgrade/apply.go
  • internal/selfupgrade/liveness.go
  • internal/selfupgrade/soak.go
  • internal/selfupgrade/soak_test.go
  • internal/sourcecache/commit_object.go
  • internal/spec/reserved_calls_test.go
  • internal/spec/runtime.go
  • internal/spec/runtime_caps.go
  • internal/spec/runtime_test.go
  • internal/spec/schema/app.schema.json
  • internal/stackdrift/drift.go
  • internal/store/app_events.go
  • internal/store/commit_signing.go
  • internal/store/egress_allow.go
  • internal/store/egress_dryrun_log.go
  • internal/store/egress_dryrun_log_test.go
  • internal/store/migrations/3379_organization_design.sql
  • internal/store/migrations/3380_profile_images.sql
  • internal/store/migrations/3381_commit_signing.sql
  • internal/store/migrations/3382_role_grants.sql
  • internal/store/migrations/3383_role_grants_unique_active.sql
  • internal/store/migrations/3384_pinned_sessions.sql
  • internal/store/migrations/3385_egress_dryrun_log.sql
  • internal/store/organization.go
  • internal/store/organization_presets.go
  • internal/store/organization_profile.go
  • internal/store/organization_profile_test.go
  • internal/store/organization_test.go
  • internal/store/pinned_session.go
  • internal/store/profile_images.go
  • internal/store/role_grants.go
  • internal/store/role_grants_audit_test.go
  • internal/store/role_grants_demote_test.go
  • internal/store/role_grants_integrity_test.go
  • internal/store/role_grants_nowrite_test.go
  • internal/store/roles.go
  • internal/store/roles_access.go
  • internal/store/service.go
  • internal/store/service_query.go
  • internal/store/shared_env_namespace_test.go
  • internal/store/user.go
  • internal/webhook/webhook.go
  • kit/dockerhub/browse.go
  • llms.txt
  • proto/agent/v1/agent.proto
  • registry/templates/kafka-cluster/compose.yaml
  • registry/templates/kafka-cluster/manifest.compose.yaml
  • registry/templates/kafka-cluster/template.yaml
  • registry/templates/spark-local/compose.yaml
  • registry/templates/spark-local/template.yaml
  • registry/templates/spark-notebook/compose.yaml
  • registry/templates/spark-notebook/template.yaml
  • scripts/docs-fragments/kafka-cluster.md
  • scripts/fanin-budget.txt
  • scripts/gen-template-gallery/catalog-index.json
  • scripts/packaging-test.sh
  • scripts/regen/manifest.yaml
  • scripts/screenshots/capture-demo.sh
  • scripts/screenshots/manifest.hashes.json
  • scripts/screenshots/manifest.json
  • scripts/screenshots/refresh.sh
  • scripts/screenshots/refresh_select.py
  • scripts/screenshots/shard.py
  • scripts/screenshots/shots-demo.yml
  • scripts/template-smoke/main_test.go
  • scripts/template-smoke/run.go
  • scripts/test-install-cli-verify.sh
  • sdk/go/levelrail/operations_gen.go
  • sdk/python/levelrail/_operations.py
  • skills/levelrail/references/commands/INDEX.md
  • skills/levelrail/references/commands/apps.md
  • skills/levelrail/references/commands/commit-signing.md
  • skills/levelrail/references/commands/dashboards.md
  • skills/levelrail/references/commands/jobs.md
  • skills/levelrail/references/commands/orgs.md
  • skills/levelrail/references/commands/registries.md
  • skills/levelrail/references/commands/shared-env.md
  • skills/levelrail/references/commands/teams.md
  • test/chaos/chaos_test.go
  • test/e2e/abuse_test.go
  • test/execgate/allowlist.txt
  • web/bundle-budgets.json
  • web/src/components/BackupTargetTable.tsx
  • web/src/components/BrandIcon.tsx
  • web/src/components/Breadcrumbs.test.tsx
  • web/src/components/Breadcrumbs.tsx
  • web/src/components/CommandPalette.test.tsx
  • web/src/components/CommandPalette.tsx
  • web/src/components/ControlPlaneBackupsCard.test.tsx
  • web/src/components/ControlPlaneBackupsCard.tsx
  • web/src/components/ControlPlaneDrillButton.tsx
  • web/src/components/ControlPlaneRotationStatus.test.tsx
  • web/src/components/ControlPlaneRotationStatus.tsx
  • web/src/components/CreateAlertRuleDialog.tsx
  • web/src/components/CreateAppFields.tsx
  • web/src/components/CreateAppFromGitFields.tsx
  • web/src/components/CreateDatabaseFields.tsx
  • web/src/components/CreateOrganizationDialog.tsx
  • web/src/components/CreateResourceWizard.tsx
  • web/src/components/DeleteOrganizationDialog.tsx
  • web/src/components/DeleteProjectDialog.tsx
  • web/src/components/DomainRow.tsx
  • web/src/components/EditUserAbilitiesDialog.tsx
  • web/src/components/EnvVarsForm.tsx
  • web/src/components/GeneratedAvatar.tsx
  • web/src/components/HostFirewallCard.tsx
  • web/src/components/ImageUrlField.tsx
  • web/src/components/InvitesTable.tsx
  • web/src/components/JobRunsPanel.tsx
  • web/src/components/LocalBackupStatusStrip.test.tsx
  • web/src/components/LocalBackupStatusStrip.tsx
  • web/src/components/OrganizationEnvEditor.tsx
  • web/src/components/OrganizationTable.tsx
  • web/src/components/PageToc.tsx
  • web/src/components/ProjectCard.tsx
  • web/src/components/RemoveUserDialog.tsx
  • web/src/components/RequirePasswordChangeDialog.tsx
  • web/src/components/RevokeInviteDialog.tsx
  • web/src/components/RevokeTokenDialog.tsx
  • web/src/components/ScheduledTasksPanel.tsx
  • web/src/components/SecretKeyValueFields.tsx
  • web/src/components/SettingsScopedSidebar.tsx
  • web/src/components/SharedEnvSecretsCard.tsx
  • web/src/components/SparkJobDialog.tsx
  • web/src/components/SparkJobsPanel.tsx
  • web/src/components/SparkTerm.tsx
  • web/src/components/UserAvatar.test.tsx
  • web/src/components/UserAvatar.tsx
  • web/src/components/UserTable.tsx
  • web/src/components/access/UserRoleDialog.tsx
  • web/src/components/access/UserTableAccess.test.tsx
  • web/src/components/account/AvatarPickerDialog.test.tsx
  • web/src/components/account/AvatarPickerDialog.tsx
  • web/src/components/account/ProfileCard.test.tsx
  • web/src/components/account/ProfileCard.tsx
  • web/src/components/account/ProfilePhotoControl.tsx
  • web/src/components/apps/AppTabStrip.tsx
  • web/src/components/apps/KafkaViewPanel.tsx
  • web/src/components/apps/RuntimeOptionsCard.test.tsx
  • web/src/components/apps/RuntimeOptionsCard.tsx
  • web/src/components/cards/ObjectCard.tsx
  • web/src/components/clusters/AgentConnectForm.test.tsx
  • web/src/components/clusters/AgentConnectForm.tsx
  • web/src/components/clusters/AksConnectForm.test.tsx
  • web/src/components/clusters/AksConnectForm.tsx
  • web/src/components/clusters/BetaBadge.tsx
  • web/src/components/clusters/ClustersPage.test.tsx
  • web/src/components/clusters/ConnectClusterForm.tsx
  • web/src/components/clusters/ConnectGuide.test.tsx
  • web/src/components/clusters/ConnectGuide.tsx
  • web/src/components/clusters/ConnectPathGuide.tsx
  • web/src/components/clusters/ConnectedNextStep.tsx
  • web/src/components/clusters/EksConnectForm.test.tsx
  • web/src/components/clusters/EksConnectForm.tsx
  • web/src/components/clusters/GkeConnectForm.test.tsx
  • web/src/components/clusters/GkeConnectForm.tsx
  • web/src/components/dashboard/AppsPanel.tsx
  • web/src/components/dashboard/DashboardHome.test.tsx
  • web/src/components/dashboard/DashboardHome.tsx
  • web/src/components/dashboard/DashboardScope.test.tsx
  • web/src/components/dashboard/DashboardViews.tsx
  • web/src/components/dashboard/FirstRunChecklist.tsx
  • web/src/components/dashboard/ImportBoardDialog.test.tsx
  • web/src/components/dashboard/ImportBoardDialog.tsx
  • web/src/components/dashboard/ManageMenu.test.tsx
  • web/src/components/dashboard/ManageMenu.tsx
  • web/src/components/dashboard/PackSuggestion.test.ts
  • web/src/components/dashboard/PackSuggestion.tsx
  • web/src/components/dashboard/PhoneStatusList.tsx
  • web/src/components/dashboard/useBoardActions.ts
  • web/src/components/dashboards/TemplatePicker.tsx
  • web/src/components/dashboards/WidgetBody.tsx
  • web/src/components/dashboards/widgets/ClusterWidgets.tsx
  • web/src/components/dashboards/widgets/FleetSummaryWidgets.tsx
  • web/src/components/dashboards/widgets/clusterParts.tsx
  • web/src/components/databases/ProvisioningPanel.tsx
  • web/src/components/dns/DomainDnsSetup.tsx
  • web/src/components/email/EmailProviderPanel.tsx
  • web/src/components/env/EnvironmentEditor.tsx
  • web/src/components/env/StepUpDialog.test.tsx
  • web/src/components/env/StepUpDialog.tsx
  • web/src/components/exposure/ExposureCard.tsx
  • web/src/components/fixit/FixAction.tsx
  • web/src/components/integrations/ConnectionCard.tsx
  • web/src/components/mode/ModeCard.tsx
  • web/src/components/mode/ModePicker.tsx
  • web/src/components/mode/ModeSettingsCard.tsx
  • web/src/components/newapp/DockerHubTagPopover.tsx
  • web/src/components/newapp/ImportPlanEditor.tsx
  • web/src/components/nodes/NodeVersionSkewCard.tsx
  • web/src/components/organizations/OrgBannerImage.test.tsx
  • web/src/components/organizations/OrgBannerImageControl.tsx
  • web/src/components/organizations/OrgDesign.tsx
  • web/src/components/organizations/OrgDetailKeys.test.tsx
  • web/src/components/organizations/OrgEditProfile.tsx
  • web/src/components/organizations/OrgHome.tsx
  • web/src/components/organizations/OrgProfileCard.tsx
  • web/src/components/organizations/OrgSections.tsx
  • web/src/components/organizations/OrganizationCards.test.tsx
  • web/src/components/organizations/OrganizationCards.tsx
  • web/src/components/organizations/orgHome.test.tsx
  • web/src/components/projects/CloneProjectDialog.tsx
  • web/src/components/security/TwoFactorNudge.test.tsx
  • web/src/components/security/TwoFactorNudge.tsx
  • web/src/components/settings/AppKeyList.test.tsx
  • web/src/components/settings/AppKeyList.tsx
  • web/src/components/settings/BetaFeatureCard.tsx
  • web/src/components/settings/DockerProblem.test.tsx
  • web/src/components/settings/DockerProblem.tsx
  • web/src/components/settings/EncryptionKeysCard.tsx
  • web/src/components/settings/GeneralPageShell.tsx
  • web/src/components/settings/InfrastructurePage.tsx
  • web/src/components/settings/RuntimeSettingRow.tsx
  • web/src/components/settings/SettingsHealthCard.test.tsx
  • web/src/components/settings/SettingsHealthCard.tsx
  • web/src/components/settings/SettingsRails.tsx
  • web/src/components/shell/AccountMenu.tsx
  • web/src/components/shell/DockerDegradedBanner.test.tsx
  • web/src/components/shell/DockerDegradedBanner.tsx
  • web/src/components/shell/navHues.ts
  • web/src/components/shell/navModel.test.tsx
  • web/src/components/shell/navModel.tsx
  • web/src/components/shell/sidebarArea.test.ts
  • web/src/components/shell/sidebarArea.ts
  • web/src/components/stacks/StackSyncCard.tsx
  • web/src/components/teams/OrgSwitcher.test.tsx
  • web/src/components/teams/OrgSwitcher.tsx
  • web/src/components/teams/TeamMembersCard.tsx
  • web/src/components/teams/TeamSwitcher.tsx
  • web/src/components/templates/TemplateCard.tsx
  • web/src/components/tokens/TokenRowItem.tsx
  • web/src/components/ui/TelemetryPanel.test.tsx
  • web/src/components/ui/TelemetryPanel.tsx
  • web/src/components/ui/data-list-row.tsx
  • web/src/components/ui/glinr-primitives.test.tsx
  • web/src/components/ui/health-row.tsx
  • web/src/components/ui/info-tip.tsx
  • web/src/components/ui/inline-disclosure.tsx
  • web/src/components/ui/page-header.tsx
  • web/src/components/ui/resource-card.tsx
  • web/src/components/ui/section-card.tsx
  • web/src/components/ui/segmented-control.tsx
  • web/src/components/ui/stat-tile.tsx
  • web/src/components/ui/tabs.tsx
  • web/src/hooks/usePaletteBaseItems.tsx
  • web/src/hooks/useUiMode.ts
  • web/src/index.css
  • web/src/lib/apiGate.test.ts
  • web/src/lib/apiGate.ts
  • web/src/lib/avatarMisses.ts
  • web/src/lib/clusterGuide.ts
  • web/src/lib/dashboardGrid.ts
  • web/src/lib/diskLevels.test.ts
  • web/src/lib/diskLevels.ts
  • web/src/lib/dockerError.test.ts
  • web/src/lib/dockerError.ts
  • web/src/lib/dockerHubImage.ts
  • web/src/lib/firstRunChecklist.ts
  • web/src/lib/generatedAvatar.test.ts
  • web/src/lib/generatedAvatar.ts
  • web/src/lib/imageUploadError.ts
  • web/src/lib/keyGroups.ts
  • web/src/lib/navRegistry.test.ts
  • web/src/lib/navRegistry.ts
  • web/src/lib/orgAccess.ts
  • web/src/lib/orgPresets.ts
  • web/src/lib/orgPresetsCss.test.ts
  • web/src/lib/orgSwitcherStore.ts
  • web/src/lib/securityScore.test.ts
  • web/src/lib/securityScore.ts
  • web/src/lib/sparkJob.test.ts
  • web/src/lib/sparkJob.ts
  • web/src/lib/templateLogoSlugs.json
  • web/src/lib/uiMode.test.ts
  • web/src/lib/uiMode.ts
  • web/src/locales/de/attention.json
  • web/src/locales/de/backups.json
  • web/src/locales/de/clusters.json
  • web/src/locales/de/dashboard.json
  • web/src/locales/de/dashboards.json
  • web/src/locales/de/encryptionKeys.json
  • web/src/locales/de/fixit.json
  • web/src/locales/de/images.json
  • web/src/locales/de/jobs.json
  • web/src/locales/de/newApp.json
  • web/src/locales/de/nodes.json
  • web/src/locales/de/palette.json
  • web/src/locales/de/runtimeOptions.json
  • web/src/locales/de/runtimeSettings.json
  • web/src/locales/de/security.json
  • web/src/locales/de/settings.json
  • web/src/locales/de/teams.json
  • web/src/locales/de/twoFactorNudge.json
  • web/src/locales/en-GB/clusters.json
  • web/src/locales/en-GB/dashboard.json
  • web/src/locales/en-GB/palette.json
  • web/src/locales/en-GB/settings.json
  • web/src/locales/en/account.json
  • web/src/locales/en/attention.json
  • web/src/locales/en/backups.json
  • web/src/locales/en/clusters.json
  • web/src/locales/en/common.json
  • web/src/locales/en/dashboard.json
  • web/src/locales/en/dashboards.json
  • web/src/locales/en/encryptionKeys.json
  • web/src/locales/en/fixit.json
  • web/src/locales/en/images.json
  • web/src/locales/en/jobs.json
  • web/src/locales/en/newApp.json
  • web/src/locales/en/nodes.json
  • web/src/locales/en/palette.json
  • web/src/locales/en/runtimeOptions.json
  • web/src/locales/en/runtimeSettings.json
  • web/src/locales/en/security.json
  • web/src/locales/en/settings.json
  • web/src/locales/en/teams.json
  • web/src/locales/en/twoFactorNudge.json
  • web/src/locales/es/attention.json
  • web/src/locales/es/backups.json
  • web/src/locales/es/clusters.json
  • web/src/locales/es/common.json
  • web/src/locales/es/dashboard.json
  • web/src/locales/es/dashboards.json
  • web/src/locales/es/encryptionKeys.json
  • web/src/locales/es/fixit.json
  • web/src/locales/es/images.json
  • web/src/locales/es/jobs.json
  • web/src/locales/es/newApp.json
  • web/src/locales/es/nodes.json
  • web/src/locales/es/palette.json
  • web/src/locales/es/runtimeOptions.json
  • web/src/locales/es/runtimeSettings.json
  • web/src/locales/es/security.json
  • web/src/locales/es/settings.json
  • web/src/locales/es/teams.json
  • web/src/locales/es/twoFactorNudge.json
  • web/src/locales/fr/attention.json
  • web/src/locales/fr/backups.json
  • web/src/locales/fr/clusters.json
  • web/src/locales/fr/dashboard.json
  • web/src/locales/fr/dashboards.json
  • web/src/locales/fr/encryptionKeys.json
  • web/src/locales/fr/fixit.json
  • web/src/locales/fr/images.json
  • web/src/locales/fr/jobs.json
  • web/src/locales/fr/newApp.json
  • web/src/locales/fr/nodes.json
  • web/src/locales/fr/palette.json
  • web/src/locales/fr/runtimeOptions.json
  • web/src/locales/fr/runtimeSettings.json
  • web/src/locales/fr/security.json
  • web/src/locales/fr/settings.json
  • web/src/locales/fr/teams.json
  • web/src/locales/fr/twoFactorNudge.json
  • web/src/locales/ja/attention.json
  • web/src/locales/ja/backups.json
  • web/src/locales/ja/clusters.json
  • web/src/locales/ja/common.json
  • web/src/locales/ja/dashboard.json
  • web/src/locales/ja/dashboards.json
  • web/src/locales/ja/encryptionKeys.json
  • web/src/locales/ja/fixit.json
  • web/src/locales/ja/images.json
  • web/src/locales/ja/jobs.json
  • web/src/locales/ja/newApp.json
  • web/src/locales/ja/nodes.json
  • web/src/locales/ja/palette.json
  • web/src/locales/ja/runtimeOptions.json
  • web/src/locales/ja/runtimeSettings.json
  • web/src/locales/ja/security.json
  • web/src/locales/ja/settings.json
  • web/src/locales/ja/teams.json
  • web/src/locales/ja/twoFactorNudge.json
  • web/src/locales/pt-BR/attention.json
  • web/src/locales/pt-BR/backups.json
  • web/src/locales/pt-BR/clusters.json
  • web/src/locales/pt-BR/common.json
  • web/src/locales/pt-BR/dashboard.json
  • web/src/locales/pt-BR/dashboards.json
  • web/src/locales/pt-BR/encryptionKeys.json
  • web/src/locales/pt-BR/fixit.json
  • web/src/locales/pt-BR/images.json
  • web/src/locales/pt-BR/jobs.json
  • web/src/locales/pt-BR/newApp.json
  • web/src/locales/pt-BR/nodes.json
  • web/src/locales/pt-BR/palette.json
  • web/src/locales/pt-BR/runtimeOptions.json
  • web/src/locales/pt-BR/runtimeSettings.json
  • web/src/locales/pt-BR/security.json
  • web/src/locales/pt-BR/settings.json
  • web/src/locales/pt-BR/teams.json
  • web/src/locales/pt-BR/twoFactorNudge.json
  • web/src/locales/ru/attention.json
  • web/src/locales/ru/backups.json
  • web/src/locales/ru/clusters.json
  • web/src/locales/ru/common.json
  • web/src/locales/ru/dashboard.json
  • web/src/locales/ru/dashboards.json
  • web/src/locales/ru/encryptionKeys.json
  • web/src/locales/ru/fixit.json
  • web/src/locales/ru/images.json
  • web/src/locales/ru/jobs.json
  • web/src/locales/ru/newApp.json
  • web/src/locales/ru/nodes.json
  • web/src/locales/ru/palette.json
  • web/src/locales/ru/runtimeOptions.json
  • web/src/locales/ru/runtimeSettings.json
  • web/src/locales/ru/security.json
  • web/src/locales/ru/settings.json
  • web/src/locales/ru/teams.json
  • web/src/locales/ru/twoFactorNudge.json
  • web/src/locales/zh-CN/attention.json
  • web/src/locales/zh-CN/backups.json
  • web/src/locales/zh-CN/clusters.json
  • web/src/locales/zh-CN/common.json
  • web/src/locales/zh-CN/dashboard.json
  • web/src/locales/zh-CN/dashboards.json
  • web/src/locales/zh-CN/encryptionKeys.json
  • web/src/locales/zh-CN/fixit.json
  • web/src/locales/zh-CN/images.json
  • web/src/locales/zh-CN/jobs.json
  • web/src/locales/zh-CN/newApp.json
  • web/src/locales/zh-CN/nodes.json
  • web/src/locales/zh-CN/palette.json
  • web/src/locales/zh-CN/runtimeOptions.json
  • web/src/locales/zh-CN/runtimeSettings.json
  • web/src/locales/zh-CN/security.json
  • web/src/locales/zh-CN/settings.json
  • web/src/locales/zh-CN/teams.json
  • web/src/locales/zh-CN/twoFactorNudge.json
  • web/src/main.tsx
  • web/src/queries/accountAvatar.ts
  • web/src/queries/appPages.ts
  • web/src/queries/apps.ts
  • web/src/queries/backupTargets.ts
  • web/src/queries/clusterOverview.ts
  • web/src/queries/connectedSources.ts
  • web/src/queries/controlPlaneBackups.ts
  • web/src/queries/customDashboards.ts
  • web/src/queries/databases.ts
  • web/src/queries/dockerhubTags.ts
  • web/src/queries/fleetSummaries.ts
  • web/src/queries/kafkaView.ts
  • web/src/queries/nodeInsight.ts
  • web/src/queries/organizationProfile.ts
  • web/src/queries/runtimeOptions.ts
  • web/src/queries/uiModeSync.ts
  • web/src/routes/apps/$name/overview.tsx
  • web/src/routes/organizations/$id.tsx
  • web/src/routes/projects/index.test.tsx
  • web/src/routes/projects/index.tsx
  • web/src/routes/settings/backup-targets.tsx
  • web/src/routes/settings/cli-access.tsx
  • web/src/routes/settings/firewall.tsx
  • web/src/routes/settings/general.tsx
  • web/src/routes/settings/mobile-devices.tsx
  • web/src/routes/settings/organizations.tsx
  • web/src/routes/settings/plugins.tsx
  • web/src/routes/settings/status-page.tsx
  • web/src/routes/settings/tokens.tsx
  • web/src/routes/settings/users.tsx
  • web/src/styles/glinr-utilities.css
  • web/src/types/dashboards.ts
  • web/src/types/kafkaView.ts
  • web/src/types/organization.ts
  • web/src/types/scheduledTasks.ts

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

  • 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

@github-actions github-actions Bot added type/chore Tooling, CI, release plumbing release Release PR, area and size nags are skipped size/xl 500 or more lines changed, also used for every release PR labels Dec 2, 2026
@thegdsks thegdsks closed this Dec 2, 2026
@thegdsks thegdsks reopened this Dec 2, 2026
@thegdsks
thegdsks marked this pull request as ready for review December 2, 2026 20:58
@thegdsks thegdsks self-assigned this Dec 2, 2026
@glinr-bot glinr-bot Bot added the state/needs-author Bot state, the author has something to fix label Dec 2, 2026
@glinr-bot

glinr-bot Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

glinr-bot

A protected condition applies, so a person decides.

Gate Result Detail
not a draft pass
from this repository, not a fork pass
touches no protected path fail .github/workflows/desktop.yml, .github/workflows/milestone.yml, internal/store/migrations/3379_organization_design.sql, internal/store/migrations/3380_profile_images.sql, internal/store/migrations/3381_commit_signing.sql, internal/store/migrations/3382_role_grants.sql, internal/store/migrations/3383_role_grants_unique_active.sql, internal/store/migrations/3384_pinned_sessions.sql, internal/store/migrations/3385_egress_dryrun_log.sql
has no blocking label pass

No action taken. A person reviews this one.

Checks (shadow, nothing is enforced)

Group Check Result
required gitleaks pass
required CI required pending
advisory admit (kafka-cluster) pending
advisory Greptile Review pending
advisory Detect changed areas pending
advisory Validate pending
advisory build and test (windows-latest) pending
advisory changed pass
advisory commit-semver pass
advisory build and test (macos-latest) pending
advisory Dependency review pass
advisory zizmor (workflow audit) pass
advisory Release web build pending
advisory PR hygiene pass
advisory evaluate pending
advisory Release push (no open PR) pass
skipped admit-bulk skipped
skipped smoke skipped
skipped admit skipped
skipped regenerate skipped
skipped Mintlify Deployment skipped
skipped Release pacing skipped
skipped auto-merge skipped
skipped SonarCloud scan skipped

Next steps:

  • Wait for required checks: CI required.

@thegdsks thegdsks changed the title feat: Levelrail v1.5.19 feat: Levelrail v1.5.19, small server backups, Kafka and Spark, staged agent updates and safer redeploys Dec 2, 2026
@thegdsks thegdsks added this to the v1.5.19 milestone Dec 2, 2026
Comment on lines +186 to +187
token, _ := rt.resolveGitSourceDeployToken(ctx, name)
raw, err := rt.sourceCache.CommitObject(rt.withSSHDeployKey(ctx, gs.RepoURL), gs.RepoURL, sha, token)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Signed SSH pushes are refused

commitSigningRefusal drops the credential scope before fetching the commit. For an SSH source, withSSHDeployKey only attaches the saved key when the context has an app: scope. A new signed push therefore fails with commit_signature_unverifiable even when its deploy key and signature are valid. Use resolveGitSourceDeployCredential and attach its scope before fetching.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/api/commit_signing.go
Line: 186-187

Comment:
**Signed SSH pushes are refused**

`commitSigningRefusal` drops the credential scope before fetching the commit. For an SSH source, `withSSHDeployKey` only attaches the saved key when the context has an `app:` scope. A new signed push therefore fails with `commit_signature_unverifiable` even when its deploy key and signature are valid. Use `resolveGitSourceDeployCredential` and attach its scope before fetching.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +141 to +143
name, _ := ctx.Value(commitSigningAppKey{}).(string)
if name == "" {
return nil

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 security Unsigned source can still deploy

verifyCheckoutSigning skips the policy when the caller omits the app name. handleDeploySpec does exactly that, and single_service_name lets it replace an existing service that requires signed commits. A caller with deploy access can therefore deploy unsigned source without changing the signing policy. Check the policy for each destination service before building it.

How this was verified: The deploy-spec fetch omits the signing context, and its chosen service name reaches Pipeline.Deploy without another signature check.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/api/commit_signing.go
Line: 141-143

Comment:
**Unsigned source can still deploy**

`verifyCheckoutSigning` skips the policy when the caller omits the app name. `handleDeploySpec` does exactly that, and `single_service_name` lets it replace an existing service that requires signed commits. A caller with deploy access can therefore deploy unsigned source without changing the signing policy. Check the policy for each destination service before building it.

**How this was verified:** The deploy-spec fetch omits the signing context, and its chosen service name reaches `Pipeline.Deploy` without another signature check.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +317 to +321
if rerr := e.Backend.Restart(ctx, app); rerr != nil {
return e.restartFailed(ctx, p, actor, rerr)
}
}
p.State, p.LastError = store.SecretRotationIdle, ""

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Rotation skips restart failures

restartConsumers waits only for a restart request to be saved, not for the app to restart successfully. The real Restart method changes restart_nonce, writes an event, and returns immediately. The loop can request every restart and mark the rotation complete before the first app fails to start. Wait for each app to become healthy before moving on, and record completion only then.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/secretrotation/engine.go
Line: 317-321

Comment:
**Rotation skips restart failures**

`restartConsumers` waits only for a restart request to be saved, not for the app to restart successfully. The real `Restart` method changes `restart_nonce`, writes an event, and returns immediately. The loop can request every restart and mark the rotation complete before the first app fails to start. Wait for each app to become healthy before moving on, and record completion only then.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +96 to +101
v, err := rt.cachedSummary(r.Context(), key, func(ctx context.Context) (any, error) {
rules, err := lister.ListRules(ctx)
if err != nil {
return nil, err
}
return summarizeSLO(rules, time.Now()), nil

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 security Hidden apps appear in summaries

handleSLOSummary returns every enabled SLO rule without applying the caller's app visibility or IAM policies. A default-organization reader denied access to app:secret can still receive its name, burn rate, and target in worst. Filter the rules with the normal app-read check. Include the caller's access scope in the cache key, or avoid sharing filtered results.

How this was verified: The read-only route calls unfiltered ListRules, while normal app reads apply callerAppAccess and its resource checks.

Knowledge Base Used: Authentication, authorization, and tenancy

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/api/summary_slo.go
Line: 96-101

Comment:
**Hidden apps appear in summaries**

`handleSLOSummary` returns every enabled SLO rule without applying the caller's app visibility or IAM policies. A default-organization reader denied access to `app:secret` can still receive its name, burn rate, and target in `worst`. Filter the rules with the normal app-read check. Include the caller's access scope in the cache key, or avoid sharing filtered results.

**How this was verified:** The read-only route calls unfiltered `ListRules`, while normal app reads apply `callerAppAccess` and its resource checks.

**Knowledge Base Used:** [Authentication, authorization, and tenancy](https://app.greptile.com/-/switch-tenant?tenant=glinr&next=%2Fcustom-context%2Fknowledge-base%2Fglincker%2Flevelrail%2F-%2Fdocs%2Fauthentication-authorization-and-tenancy.md)

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +74 to +77
for _, r := range snap.Records {
if now.Sub(r.Time) <= retention {
l.push(r)
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 security Old DNS details return

LoadFile restores saved records without applying the current privacy setting. After saving with full or names_only, restarting with counters_only brings the old domain names back. Restarting with names_only can also restore source IPs. SaveFile then writes those records again. Apply the current privacy level when loading and saving, rather than relying only on Observe.

How this was verified: Restored records go directly to push, bypassing the privacy checks used when a query is first recorded.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/network/dns_querylog_persist.go
Line: 74-77

Comment:
**Old DNS details return**

`LoadFile` restores saved records without applying the current privacy setting. After saving with `full` or `names_only`, restarting with `counters_only` brings the old domain names back. Restarting with `names_only` can also restore source IPs. `SaveFile` then writes those records again. Apply the current privacy level when loading and saving, rather than relying only on `Observe`.

**How this was verified:** Restored records go directly to `push`, bypassing the privacy checks used when a query is first recorded.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +123 to +126
case herr != nil:
s.log.Warn("secretscan: git history scan failed", slog.String("app", in.App), slog.String("error", herr.Error()))
case state == HistoryShallow:
s.log.Info("secretscan: git history not checked, clone is shallow", slog.String("app", in.App))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Skipped history looks clean

The history-scan error and shallow-clone branches only write a log message. Neither changes scanErr or marks the result incomplete. With a clean current tree, a missing git executable or failed history read therefore produces StatusComplete and ActionAllow, even under PolicyBlock. Pass history errors into the decision and record skipped history as incomplete.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/deploy/secretscan/service.go
Line: 123-126

Comment:
**Skipped history looks clean**

The history-scan error and shallow-clone branches only write a log message. Neither changes `scanErr` or marks the result incomplete. With a clean current tree, a missing `git` executable or failed history read therefore produces `StatusComplete` and `ActionAllow`, even under `PolicyBlock`. Pass history errors into the decision and record skipped history as incomplete.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +93 to +95
for (const [key, value] of Object.entries(diff.settings)) {
await setSetting.mutateAsync({ key, value })
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Personal modes change server settings

The “apply for me” path also writes instance-wide runtime settings. For laptop and vps-single, a non-root user hits a forbidden write after local preferences have already changed. A root user's personal choice instead changes build and memory settings for everyone. Run the settings loop only for the explicit instance-wide action.

Suggested change
for (const [key, value] of Object.entries(diff.settings)) {
await setSetting.mutateAsync({ key, value })
}
if (everyone) {
for (const [key, value] of Object.entries(diff.settings)) {
await setSetting.mutateAsync({ key, value })
}
}
Prompt To Fix With AI
This is a comment left during a code review.
Path: web/src/components/mode/ModePicker.tsx
Line: 93-95

Comment:
**Personal modes change server settings**

The “apply for me” path also writes instance-wide runtime settings. For `laptop` and `vps-single`, a non-root user hits a forbidden write after local preferences have already changed. A root user's personal choice instead changes build and memory settings for everyone. Run the settings loop only for the explicit instance-wide action.

```suggestion
      if (everyone) {
        for (const [key, value] of Object.entries(diff.settings)) {
          await setSetting.mutateAsync({ key, value })
        }
      }
```

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

if err != nil {
return reportError(stdout, stderr, *jsonOutP, fmt.Errorf("commit signing for %q: %w", app, err))
}
_, _ = fmt.Fprintf(stdout, "app %q: require signed commits=%t, allowed keys=%d\n", app, res.Required, len(res.AllowedKeys))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 JSON output is plain text

commit-signing show --json still prints the human-readable sentence. The command advertises JSON output but never renders res through the shared output path. Honor --json, --output, and --query so scripts can read the policy and allowed keys.

Prompt To Fix With AI
This is a comment left during a code review.
Path: cmd/levelrail-cli/commit_signing.go
Line: 58

Comment:
**JSON output is plain text**

`commit-signing show --json` still prints the human-readable sentence. The command advertises JSON output but never renders `res` through the shared output path. Honor `--json`, `--output`, and `--query` so scripts can read the policy and allowed keys.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

| `/levelrail redeploy` | Redeploys the app's tracked branch. It deploys the branch tip, not the pull request's code. |
| `/levelrail rollback` | Rolls back to the newest earlier successful deploy of a different image. |
| `/levelrail status` | Replies with the running image, the latest deploy and any freeze. Changes nothing. |
| `/lrail status` | Replies with the running image, the latest deploy and any freeze. Changes nothing. |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The status example does nothing

The documented /lrail status comment is not recognized. The comment parser still accepts only /levelrail, so following this example produces no status reply. Keep /levelrail status here and in the preview-environments table; the CLI rename does not change PR comment commands.

Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/pr-comment-commands.md
Line: 19

Comment:
**The status example does nothing**

The documented `/lrail status` comment is not recognized. The comment parser still accepts only `/levelrail`, so following this example produces no status reply. Keep `/levelrail status` here and in the preview-environments table; the CLI rename does not change PR comment commands.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +249 to +250
if ok {
shared[vol] = keys[0]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Adding services hides existing data

sharedNamedVolumes chooses the first sorted service name as the owner, and that owner becomes part of the Docker volume name. Adding api to a volume shared by worker and web therefore changes the volume mounted by all three services on the next deploy. Existing services start with empty storage instead of their data.

Give shared volumes a stable app-level identity that does not depend on which services mount them.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/compose/translate.go
Line: 249-250

Comment:
**Adding services hides existing data**

`sharedNamedVolumes` chooses the first sorted service name as the owner, and that owner becomes part of the Docker volume name. Adding `api` to a volume shared by `worker` and `web` therefore changes the volume mounted by all three services on the next deploy. Existing services start with empty storage instead of their data.

Give shared volumes a stable app-level identity that does not depend on which services mount them.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Comment on lines +134 to +137
if v.Owner != "" {
p = "app-" + v.Owner + "-"
}
logical := strings.TrimPrefix(v.Name, p)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Saved templates split shared storage

Saving an app with shared volumes as a template loses the sharing. This code recovers the logical volume name, but composeExportDoc still emits only version and services. It never emits the top-level x-levelrail-shared marker that the parser now requires.

Deploying the saved template gives each service a separate volume, so files written by a setup service never reach its consumers. Export the shared declarations alongside their mounts.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/compose/export.go
Line: 134-137

Comment:
**Saved templates split shared storage**

Saving an app with shared volumes as a template loses the sharing. This code recovers the logical volume name, but `composeExportDoc` still emits only `version` and `services`. It never emits the top-level `x-levelrail-shared` marker that the parser now requires.

Deploying the saved template gives each service a separate volume, so files written by a setup service never reach its consumers. Export the shared declarations alongside their mounts.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

@@ -129,6 +135,7 @@ func (rt *Router) registerProjectRoutes(mux *http.ServeMux) {
mux.HandleFunc("GET /api/v1/environments/{id}/env/all", rt.requireAbility(AbilityRead, rt.requireEnvironmentGrant(AbilityRead, rt.handleListEnvironmentEnvAll)))
mux.HandleFunc("GET /api/v1/environments/{id}/env/secrets", rt.requireAbility(AbilityRead, rt.requireEnvironmentGrant(AbilityRead, rt.handleListEnvironmentEnvSecretKeys)))
mux.HandleFunc("PUT /api/v1/environments/{id}/env/secrets/{key}", rt.requireAbility(AbilityWrite, rt.requireEnvironmentGrant(AbilityWrite, rt.handleSetEnvironmentEnvSecret)))
mux.HandleFunc("POST /api/v1/environments/{id}/env/secrets/{key}/rotate", rt.requireAuth(rt.requireEnvironmentGrant(AbilityRead, rt.requireAbility(AbilityWriteSensitive, rt.handleRotateEnvironmentEnvSecret))))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 security Rotation bypasses environment write denials

The new rotation route checks environment access with AbilityRead, although it changes a secret and restarts consumers. A caller with global write:sensitive and an explicit write denial for that environment can pass this read check and rotate its secret. environmentEnvSecretScope adds no later resource check.

Require the environment write check used by the neighboring secret-write routes before changing the value.

How this was verified: The rotation route checks only environment read access before calling the secret writer, while ordinary secret writes check environment write access.

Suggested change
mux.HandleFunc("POST /api/v1/environments/{id}/env/secrets/{key}/rotate", rt.requireAuth(rt.requireEnvironmentGrant(AbilityRead, rt.requireAbility(AbilityWriteSensitive, rt.handleRotateEnvironmentEnvSecret))))
mux.HandleFunc("POST /api/v1/environments/{id}/env/secrets/{key}/rotate", rt.requireAuth(rt.requireEnvironmentGrant(AbilityWrite, rt.requireAbility(AbilityWriteSensitive, rt.handleRotateEnvironmentEnvSecret))))

Knowledge Base Used: Authentication, authorization, and tenancy

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/api/routes_platform_project.go
Line: 138

Comment:
**Rotation bypasses environment write denials**

The new rotation route checks environment access with `AbilityRead`, although it changes a secret and restarts consumers. A caller with global `write:sensitive` and an explicit write denial for that environment can pass this read check and rotate its secret. `environmentEnvSecretScope` adds no later resource check.

Require the environment write check used by the neighboring secret-write routes before changing the value.

**How this was verified:** The rotation route checks only environment read access before calling the secret writer, while ordinary secret writes check environment write access.

```suggestion
	mux.HandleFunc("POST /api/v1/environments/{id}/env/secrets/{key}/rotate", rt.requireAuth(rt.requireEnvironmentGrant(AbilityWrite, rt.requireAbility(AbilityWriteSensitive, rt.handleRotateEnvironmentEnvSecret))))
```

**Knowledge Base Used:** [Authentication, authorization, and tenancy](https://app.greptile.com/-/switch-tenant?tenant=glinr&next=%2Fcustom-context%2Fknowledge-base%2Fglincker%2Flevelrail%2F-%2Fdocs%2Fauthentication-authorization-and-tenancy.md)

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +113 to +120
for _, n := range earlier {
if n.RolledBackFrom == target && !resumed {
return WaveDecision{Wait: "rollout halted: wave node " + n.ID + " rolled back from " + target, Halted: true, FailedNode: n.ID}
}
}
for _, n := range earlier {
if n.RolledBackFrom == target {
continue

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Resume ignores new update failures

Resuming a rollout disables rollback stops for every later failure on that target. resumed skips the rollback check for all nodes, not just the failure the operator chose to bypass. Rolled-back nodes are then skipped by the remaining checks too.

If another wave fails after resume, later waves can still install the same bad release. Remember which failures were accepted at resume and stop again for any new rollback.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/nodeinsight/wave.go
Line: 113-120

Comment:
**Resume ignores new update failures**

Resuming a rollout disables rollback stops for every later failure on that target. `resumed` skips the rollback check for all nodes, not just the failure the operator chose to bypass. Rolled-back nodes are then skipped by the remaining checks too.

If another wave fails after resume, later waves can still install the same bad release. Remember which failures were accepted at resume and stop again for any new rollback.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines 275 to +278
rt.applyOneShotResourceLimits(r.Context(), &task)
if sparkPlan != nil {
task.MemoryLimitMB = sparkPlan.MemoryLimitMB
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Spark exceeds one-off memory limits

A Spark one-off run overwrites the operator's apps_run.memory_limit_mb limit. applyOneShotResourceLimits sets that limit, but this assignment replaces it with the Spark preset's value. With a 512 MB one-off limit and the default Spark preset, the container instead receives 1024 MB, putting small hosts under unexpected memory pressure.

Keep the operator's nonzero limit as a ceiling when applying the preset.

Suggested change
rt.applyOneShotResourceLimits(r.Context(), &task)
if sparkPlan != nil {
task.MemoryLimitMB = sparkPlan.MemoryLimitMB
}
rt.applyOneShotResourceLimits(r.Context(), &task)
if sparkPlan != nil {
if task.MemoryLimitMB > 0 {
task.MemoryLimitMB = min(task.MemoryLimitMB, sparkPlan.MemoryLimitMB)
} else {
task.MemoryLimitMB = sparkPlan.MemoryLimitMB
}
}
Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/api/jobs_oneshot.go
Line: 275-278

Comment:
**Spark exceeds one-off memory limits**

A Spark one-off run overwrites the operator's `apps_run.memory_limit_mb` limit. `applyOneShotResourceLimits` sets that limit, but this assignment replaces it with the Spark preset's value. With a 512 MB one-off limit and the default Spark preset, the container instead receives 1024 MB, putting small hosts under unexpected memory pressure.

Keep the operator's nonzero limit as a ceiling when applying the preset.

```suggestion
	rt.applyOneShotResourceLimits(r.Context(), &task)
	if sparkPlan != nil {
		if task.MemoryLimitMB > 0 {
			task.MemoryLimitMB = min(task.MemoryLimitMB, sparkPlan.MemoryLimitMB)
		} else {
			task.MemoryLimitMB = sparkPlan.MemoryLimitMB
		}
	}
```

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

- Tauri shell and core crate, tray menu, server picker
- Auto update stays off until an endpoint and public key are set
- Unsigned bundles in CI
- Manifest of screens and the source files that affect them
- Recapture only changed screens, skip unchanged by content hash
- Before and after preview snippet for PR descriptions
…plates

- Three broker KRaft cluster with SCRAM and optional TLS, read only topics and consumer lag view and CLI
- spark-submit preset, spark-local and spark-notebook templates, jobs UI with run history and driver log
…d restore test

- 5 day local rotation with live settings and a disk guard
- Status card, restore drill button and target delete warning
…t and verified installers

- Role grants expire, role scoped passkey requirement, failed bearer throttle, secret reference alert
- Optional signed commit requirement for webhook deploys (Gitea and Forgejo only)
- Shared variable rotation with per app audit, installers verify downloads by default
…d Azure and Google Cloud listings

- YAML and JSON import and export, import from an https address, Kubernetes, AWS, Azure and GCP packs
- Read only Azure and Google Cloud listings with per region counts and Azure VM power state
…lumes only when marked, clean up anonymous volumes

- Single replica services with writable data stop the old container first, per service opt out
- x-levelrail-shared opt in volume sharing, anonymous volumes removed on replace and delete, remote nodes via an additive agent field
- Staged agent update waves with health gate, services of one app start together, post upgrade soak
…cate storage alerts

- host:port and port range allowlist entries, dry run log kept in the database
- Doctor check and alert when a certificate write fails, disk full chaos tests
…board

- Tag listing API, CLI and a Browse tags popover in the new app wizard
- Idle memory stated as the measured 223 MB everywhere
- Status and limits sections name what is not proven on a real host
- Controls and cards for the features above in all 8 locales, plain language labels with the technical term in a tooltip
- Routes, authz and org isolation entries, runtime settings, migrations 3379 to 3385, generated API reference and SDKs, milestone workflow
Comment thread scripts/screenshots/refresh.sh Resolved
@thegdsks
thegdsks merged commit 7784fc6 into main Dec 3, 2026
94 of 97 checks passed
@thegdsks
thegdsks deleted the release/v1.5.19 branch December 3, 2026 00:29
@glinr-bot glinr-bot Bot mentioned this pull request Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Release PR, area and size nags are skipped size/xl 500 or more lines changed, also used for every release PR state/needs-author Bot state, the author has something to fix type/chore Tooling, CI, release plumbing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: redeploy of a database or broker ran two containers on one data volume feat: three broker Kafka cluster template with SCRAM sign in and TLS

1 participant