Repository navigation
feat: sp apply for channels, maintenance windows and status pages; Postgres Unix-socket docs - #964
Merged
Merged
Conversation
#960) The Docker install page only showed a TCP SP_DB_URL; socket users had no example since the fix of #939 (the reference page had one, docker.md did not). It now shows a docker run with the mounted socket directory, the `&port=5433` note and why a percent-encoded host fails. dsn_docs_test.go checks that both pages show a socket DSN that DriverDSN turns into a socket file; it failed before this change. Closes #960 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Converted from issue #958: no provider repo exists yet, sp apply only manages checks. Needs a new repo, migrations and new apply endpoints. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds slug/managed_by columns (migration 039), the multi-kind apply orchestrator, POST /orgs/:org/apply and GET /orgs/:org/export, and `sp checks export --all-kinds`. Refs #958 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d widen sp apply past checks (Part B) Part A (provider repo) is tracked in #965 and not implemented here. Refs #958 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… widen sp apply past checks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #959: merge it first.
Closes #960
Closes #958
What changed
SP_DB_URL,&port=5433for a non-default port, why percent-encoded hosts fail), linking to the configuration reference. A test checks both pages carry a socket DSN the driver resolves to a socket path.sp applybeyond checks (Terraform/OpenTofu provider (IaC users pick competitors without one) #958, Part B): a manifest can now holdchannels,maintenanceWindowsandstatusPagesnext tochecks, cross-referencing checks by slug. One orchestrator plans and applies them in dependency order (checks → channels → windows → pages, prune in reverse) under a single deletion cap; plan entries carry akind.slugon channels and maintenance windows,managed_byon channels, windows and status pages. Prune only deletes rows owned by the manifest.POST /orgs/:org/applyandGET /orgs/:org/export;POST /checks/applykeeps working through the orchestrator.sp applyprints a KIND column;sp checks export --all-kindsbootstraps a full manifest from a live org.Decided by autopilot
sp apply(Part B) first, provider next in its own repo (Terraform/OpenTofu provider: terraform-provider-solidping (repo, release, registries) #965).slugcolumn.${env:…}secrets are resolved at apply time and stored encrypted like any channel secret (the notification senders cannot resolve references); rotating one means re-applying. Values are never printed in the plan.export --all-kindsthenapplydoesn't create duplicates.🤖 Generated with Claude Code