Skip to content

test(secretmanager): add integration and unit parametrization to include OTel integration testing - #18217

Draft
chalmerlowe wants to merge 2 commits into
feat/otel-tracing-transport-logicfrom
feat/otel-tracing-integration-tests
Draft

test(secretmanager): add integration and unit parametrization to include OTel integration testing#18217
chalmerlowe wants to merge 2 commits into
feat/otel-tracing-transport-logicfrom
feat/otel-tracing-integration-tests

Conversation

@chalmerlowe

@chalmerlowe chalmerlowe commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Note

This PR is NOT intended to be merged. It is a proof-of-concept intended to inform the design and implementation of changes that need to be made in the GAPIC Generator templates.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request parameterizes the unit test session in noxfile.py to optionally install OpenTelemetry dependencies, but changes the test path to run all tests (including integration tests) when enabled, while deleting the dedicated integration session. The review feedback correctly points out that running integration tests in the unit session will cause CI failures due to missing credentials and recommends keeping unit tests restricted to tests/unit and restoring the separate integration session.

Comment thread packages/google-cloud-secret-manager/noxfile.py Outdated
@chalmerlowe
chalmerlowe force-pushed the feat/otel-tracing-transport-logic branch 4 times, most recently from 2669ca4 to 2bbbca4 Compare August 31, 2026 15:42
@chalmerlowe
chalmerlowe force-pushed the feat/otel-tracing-integration-tests branch from ca7f1a9 to b4c99cd Compare September 1, 2026 10:50
@chalmerlowe
chalmerlowe force-pushed the feat/otel-tracing-transport-logic branch from 2bbbca4 to a4c667a Compare September 1, 2026 11:31
@chalmerlowe
chalmerlowe force-pushed the feat/otel-tracing-integration-tests branch from b4c99cd to dd43fbc Compare September 1, 2026 11:33
@chalmerlowe
chalmerlowe force-pushed the feat/otel-tracing-transport-logic branch from a4c667a to 41f5983 Compare September 1, 2026 13:07
@chalmerlowe
chalmerlowe force-pushed the feat/otel-tracing-integration-tests branch from dd43fbc to 40a2b2f Compare September 1, 2026 13:08
@chalmerlowe
chalmerlowe force-pushed the feat/otel-tracing-transport-logic branch from 41f5983 to 82fe99c Compare September 1, 2026 17:18
@chalmerlowe
chalmerlowe force-pushed the feat/otel-tracing-integration-tests branch from 40a2b2f to e3c2031 Compare September 1, 2026 17:23
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