Skip to content

fix: add Elasticsearch loopback rollout - #130

Merged
dev-ant merged 4 commits into
mainfrom
fix/elasticsearch-loopback-rollout
Nov 3, 2026
Merged

dev-ant merged 4 commits into
mainfrom
fix/elasticsearch-loopback-rollout

Conversation

@dev-ant

@dev-ant dev-ant commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add a main-only manual production workflow for the one-time Elasticsearch loopback port rollout
  • stage a host-side recovery owner with a durable result marker; it survives SSH/runner loss and rolls back after parent death or timeout
  • reuse the pinned native OpenSSH host-fingerprint validation contract
  • acquire the deployment lock before hashing and snapshotting the deployed Compose/container state
  • require the existing image, exact Compose project identity, rendered named volume, and rendered network to match before mutation
  • reject mixed/unsupported published-port states and verify exact pre-change bindings after rollback
  • pin the exact prior image, named volume, and network in the rollback Compose
  • advance the required production image version to 1.0.4

Validation

  • node --test scripts/workflow-contract.test.mjs (8/8)
  • bash scripts/rebind-prod-elasticsearch.test.sh (success, recreate failure, health failure, mixed binding, resource mismatch, rollback failure, SIGKILL/watchdog recovery)
  • bash -n for both shell scripts
  • ./gradlew.bat verify --no-daemon
  • git diff --check
  • targeted secret-pattern scan

Operations

Do not dispatch before this PR is merged and the ordinary main deployment has completed successfully. The workflow is manual only and does not run from this PR.

@dev-ant
dev-ant merged commit 111d730 into main Nov 3, 2026
8 checks passed
@dev-ant
dev-ant deleted the fix/elasticsearch-loopback-rollout branch November 3, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant