Skip to content

Add codegen-serde unit tests to CI#4314

Merged
rcoh merged 2 commits intomainfrom
add-codegen-serde-ci
Sep 24, 2025
Merged

Add codegen-serde unit tests to CI#4314
rcoh merged 2 commits intomainfrom
add-codegen-serde-ci

Conversation

@rcoh
Copy link
Collaborator

@rcoh rcoh commented Sep 23, 2025

This PR adds the codegen-serde module to the GitHub Actions test matrix & fixes broken tests.

Along the way, I found some broken tests which I also fixed.

Changes

  • Added check-serde-codegen-unit-tests script in tools/ci-scripts/
  • Added corresponding target to ci.mk
  • Added the test to the GitHub Actions workflow matrix in .github/workflows/ci.yml

This follows the same pattern as other codegen unit test modules (codegen-core, codegen-client, codegen-server) and ensures that codegen-serde tests are run as part of CI.

@rcoh rcoh requested review from a team as code owners September 23, 2025 18:50
- Add check-serde-codegen-unit-tests script
- Add target to ci.mk
- Add test to GitHub Actions workflow matrix
@rcoh rcoh force-pushed the add-codegen-serde-ci branch from 7c27019 to 7d85188 Compare September 23, 2025 19:01
- tests failed to set `serialize_floats_as_strings` to true
- wrong default for redact_sensitive_fields()
- need an allow `unexected_cfgs`
@rcoh rcoh force-pushed the add-codegen-serde-ci branch from 074394a to 7a49712 Compare September 23, 2025 19:44
@rcoh rcoh requested review from aajtodd and drganjoo September 23, 2025 19:45
}

@Test
fun testRestJson() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this test is duplicated with the test below

@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@rcoh rcoh enabled auto-merge (squash) September 24, 2025 00:53
@rcoh rcoh merged commit 4892877 into main Sep 24, 2025
50 checks passed
@rcoh rcoh deleted the add-codegen-serde-ci branch September 24, 2025 03:19
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