Skip to content

Align deployment health checks and configuration with production HTTPS - #52

Merged
kaby76 merged 1 commit into
Programming-Language-DataBase:mainfrom
kaby76:pldb-rebuild
Oct 5, 2026
Merged

kaby76 merged 1 commit into
Programming-Language-DataBase:mainfrom
kaby76:pldb-rebuild

Conversation

@kaby76

@kaby76 kaby76 commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings October 5, 2026 11:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Direct deployments to HTTP-only installations probe the wrong port and roll back healthy releases.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Aligns deployment checks with the production HTTPS setup by probing PLDB directly behind Nginx.

Changes:

  • Defaults health checks to port 3000 with an environment override.
  • Guards bootstrap execution on HTTPS servers and adds an HTTP-only wrapper fallback.
  • Updates the root base URL, deployment documentation, and health-check test mock.
File Description
setup-pldb.sh Adds HTTPS guard and HTTP-only fallback.
settings.scroll Changes the root base URL to HTTPS.
readme.md Documents production HTTPS and deployment behavior.
code/​test_deploy_release.py Requires port 3000 in mocked health checks.
code/​deploy-release.sh Adds a configurable health-check endpoint.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread code/deploy-release.sh
flock -w 600 9

INSTALL_DIR=/root/pldb
HEALTH_URL=${PLDB_HEALTH_URL:-http://127.0.0.1:3000/}
@kaby76
kaby76 merged commit d78221b into Programming-Language-DataBase:main Oct 5, 2026
1 check 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.

2 participants