Skip to content

ci: Enable dynamodb-source releases via release-please#568

Merged
beekld merged 2 commits into
devin/1774991616-immutable-releasesfrom
beeklimt/dynamodb-draft-release
Jun 29, 2026
Merged

ci: Enable dynamodb-source releases via release-please#568
beekld merged 2 commits into
devin/1774991616-immutable-releasesfrom
beeklimt/dynamodb-draft-release

Conversation

@beekld

@beekld beekld commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Wires libs/server-sdk-dynamodb-source into the release-please draft + publish flow so its releases cut and un-draft automatically, same as client/server/redis.

  • "draft": true in release-please-config.json for dynamodb.
  • release-server-dynamodb (matrix) + -mac-arm64 + publish-release-server-dynamodb jobs in release-please.yml. Mirrors the redis pattern.
  • sdk-release action passes CURL_ROOT and CMAKE_PREFIX_PATH to its Linux and macOS Boost.Beast build steps. aws-sdk-cpp calls find_package(CURL) on Linux/macOS regardless of LD_CURL_NETWORKING; on macOS the hint is needed because homebrew's curl isn't in cmake's default search path. Windows uses WinHTTP, so aws-sdk-cpp doesn't need libcurl there and the env isn't passed.

The dynamodb release path has never been cut end-to-end. Per-package CI builds dynamodb daily, but the sdk-release composite action hasn't been run against it -- the first real release may surface latent issues.

@beekld beekld requested a review from a team as a code owner June 29, 2026 18:55

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5c34904. Configure here.

OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }}
# aws-sdk-cpp (dynamodb-source) calls find_package(CURL) on Linux/macOS, regardless of LD_CURL_NETWORKING.
CURL_ROOT: ${{ steps.install-curl.outputs.CURL_ROOT }}
CMAKE_PREFIX_PATH: ${{ steps.install-curl.outputs.CURL_ROOT }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Windows Beast build missing CURL

High Severity

This PR wires DynamoDB into sdk-release and adds CURL_ROOT / CMAKE_PREFIX_PATH only on Linux and macOS Boost.Beast builds, but the new release-server-dynamodb matrix still runs on windows-2022. For launchdarkly-cpp-server-dynamodb-source, build-release-windows.sh turns on DynamoDB/aws-sdk at configure even without --with-curl, while the Windows Boost.Beast step still omits those env vars—unlike server-dynamodb.yml, which passes them for the same simulated release path.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5c34904. Configure here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was intentional, because the dynamodb windows build doesn't seem to need CURL. But maybe it would be better to keep it consistent with the CI build...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll leave it unless a reviewer objects. I don't feel strongly either way.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Interesting. Seems good the way it is. Just coincidental that CURL is a dependency.

@beekld beekld merged commit 722ee53 into devin/1774991616-immutable-releases Jun 29, 2026
3 checks passed
@beekld beekld deleted the beeklimt/dynamodb-draft-release branch June 29, 2026 21:26
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