Skip to content

Fix acceptance tests after LDAP image removal - #75

Merged
hosom merged 5 commits into
mainfrom
copilot/troubleshoot-acceptance-tests
Sep 3, 2026
Merged

Fix acceptance tests after LDAP image removal#75
hosom merged 5 commits into
mainfrom
copilot/troubleshoot-acceptance-tests

Conversation

@hosom

@hosom hosom commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update the acceptance LDAP container from the removed osixia/openldap:1.2.2 tag to the still-published 1.2.4 tag
  • configure the DH parameter filename expected by releases after 1.2.2

Root cause

All acceptance jobs failed before tests started because Docker Hub returns manifest unknown for osixia/openldap:1.2.2.

The upstream bootstrap script exists in both versions. The relevant compatibility change is that 1.2.4 derives the DH parameter path from LDAP_TLS_DH_PARAM_FILENAME, whereas 1.2.2 hard-coded dhparam.pem. No schema cleanup change is required.

Validation

The complete acceptance matrix passes for Ruby 3.1.2, 3.2.2, 3.3.0, and 3.3.1 with the minimal two-line fix in Actions run https://github.com/github/entitlements-app/actions/runs/33794545704.

The osixia/openldap:1.2.2 tag has been removed from Docker Hub, causing every acceptance matrix job to fail before tests start. Use the compatible, still-published 1.2.5 release from the same image series.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4f94e01c-1269-46f3-bae7-353dfb70afb1
Preserve the packaged schema sources needed during image bootstrap and configure the DH parameter filename introduced after 1.2.2.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4f94e01c-1269-46f3-bae7-353dfb70afb1
Temporarily expose the image bootstrap diagnostics needed to identify the TLS configuration rejected by the replacement image.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4f94e01c-1269-46f3-bae7-353dfb70afb1
The 1.2.5 build rejects the existing TLS fixture during bootstrap. Pin 1.2.4, the nearest available release to the removed 1.2.2 image, and restore normal LDAP logging.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4f94e01c-1269-46f3-bae7-353dfb70afb1
The newer image emits a non-fatal schema conversion warning when the packaged schema sources are removed, matching the existing fixture behavior. Limit the compatibility fix to the required image and DH filename changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4f94e01c-1269-46f3-bae7-353dfb70afb1
@hosom
hosom marked this pull request as ready for review September 3, 2026 19:08
Copilot AI balanced review requested due to automatic review settings September 3, 2026 19:08

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

🟢 Approval recommended

The image upgrade and matching TLS configuration are complete and consistent with the acceptance setup.

Review tier: Balanced
Findings: None

What changed in this PR

Updates the acceptance-test LDAP service to use an available image with compatible TLS configuration.

Changes:

  • Bumps OpenLDAP from 1.2.2 to 1.2.4.
  • Configures the existing DH parameter file.
File Description
spec/​acceptance/​docker-compose.yml Updates the LDAP image version.
spec/​acceptance/​ldap-server/​env/​default.startup.yaml Adds the required DH parameter filename.

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

@hosom
hosom merged commit 219be2d into main Sep 3, 2026
20 checks passed
@hosom
hosom deleted the copilot/troubleshoot-acceptance-tests branch September 3, 2026 19:18
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.

3 participants