Skip to content

fix(deploy): verify reopen without IP-policy status masking - #870

Merged
LIghtJUNction merged 1 commit into
mainfrom
fix/schema-restored-public-probe-20261012
Oct 12, 2026
Merged

LIghtJUNction merged 1 commit into
mainfrom
fix/schema-restored-public-probe-20261012

Conversation

@LIghtJUNction

Copy link
Copy Markdown
Member

变更说明 / Summary

Schema-maintenance reopening now verifies the exact current provider version through local HTTP /api/status and separately verifies restored HTTPS admission through the existing public /api/scripts route. The former loopback HTTPS status probe could return the expected IP-policy 404 after admission had already reopened. IP policy, TLS certificate verification, maintenance barriers, PostgreSQL fencing and capsule checks remain unchanged.

与上游的关系 / Upstream relationship

  • LMM API 独有变更 / LMM API-specific change

Upstream reference: N/A; native schema-maintenance tooling only.

关联 Issue / Related issue

N/A — production maintenance reopening probe regression.

变更类型 / Type of change

  • Bug 修复 / Bug fix
  • 部署、CI 或构建 / Deployment, CI, or build

验证 / Verification

  • Go1.25.1 all ^TestSchemaMaintenance tests passed.
  • Go1.25.1 ^TestSchemaMaintenanceRestoredAdmission race tests passed.
  • just test-deploy-entrypoint passed once.
  • Real local nginx/TLS fixture: 2 tests passed, 0 skipped. It covers the existing IP-policy 404 on status, public scripts success, and the closed admission barrier. The API handler in this fixture is synthetic.
  • All four original local-release records verify source 88dea22. Existing unchanged API application, Web, packaging and publisher evidence is reused by exact source objects; no local API build or full matrix was repeated.
  • Root reviewed the three-file patch and real origin read-only probes separately. This PR does not claim a completed production deployment.

截图或日志 / Screenshots or logs

No user data or production logs are included. Negative cases retain failures for a wrong provider version, malformed responses, non-200 HTTPS responses and missing public response shape.

提交检查 / Checklist

  • Only the native reopening probe and its regression tests changed.
  • Existing TLS/IP policy and schema ownership constraints are preserved.
  • Relevant checks and verification boundaries are recorded above.
  • No credentials or user data are included.

Copilot AI balanced review requested due to automatic review settings October 12, 2026 00:35
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@LIghtJUNction
LIghtJUNction merged commit 2495ffe into main Oct 12, 2026

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 was unable to review this pull request because the user who requested the review has reached their quota limit.

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