Skip to content

ci(ci): trigger REST integration tests when SEA path is touched [PECO-2945]#315

Merged
eric-wang-1990 merged 6 commits intomainfrom
worktree-PECO-2945-sea-rest-ci
Mar 11, 2026
Merged

ci(ci): trigger REST integration tests when SEA path is touched [PECO-2945]#315
eric-wang-1990 merged 6 commits intomainfrom
worktree-PECO-2945-sea-rest-ci

Conversation

@eric-wang-1990
Copy link
Collaborator

Detect changes under csharp/src/StatementExecution/ and dispatch a second adbc-csharp-pr-test event with databricks_protocol=rest. Applies to both PR-label and merge queue. Thrift tests unaffected. Closes PECO-2945

eric-wang-1990 and others added 3 commits March 6, 2026 18:43
When csharp/src/StatementExecution/ files change, dispatch an additional
adbc-csharp-pr-test event to databricks-driver-test with
databricks_protocol=rest so the SEA/REST test suite runs alongside
the default Thrift tests.

Applies to both PR (label-triggered) and merge queue workflows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The internal repo reads github.event.client_payload.extra_parameters as a
JSON object and injects it as extraParameters in the test config. Use that
field instead of the incorrect databricks_protocol top-level field.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eric-wang-1990 eric-wang-1990 added the integration-test Trigger integration tests in internal repo label Mar 7, 2026
@github-actions
Copy link

github-actions bot commented Mar 7, 2026

🚀 Integration tests triggered! View workflow run

@msrathore-db
Copy link
Collaborator

The cloudFetch tests should be triggered for SEA and thrift since they share the same path.

@eric-wang-1990 eric-wang-1990 added integration-test Trigger integration tests in internal repo and removed integration-test Trigger integration tests in internal repo labels Mar 10, 2026
@github-actions
Copy link

🚀 Integration tests triggered! View workflow run

@eric-wang-1990
Copy link
Collaborator Author

The cloudFetch tests should be triggered for SEA and thrift since they share the same path.

We should start small, running both tests takes super long time, I would rather just run SEA with minimum time for now and update later

@eric-wang-1990 eric-wang-1990 changed the title ci: trigger REST integration tests when SEA path is touched [PECO-2945] ci(ci): trigger REST integration tests when SEA path is touched [PECO-2945] Mar 10, 2026
@github-actions github-actions bot removed the integration-test Trigger integration tests in internal repo label Mar 10, 2026
@github-actions
Copy link

🔒 Integration test approval reset

New commits were pushed to this PR. The integration-test label has been automatically removed for security.

A maintainer must re-review the changes and re-add the label to trigger tests again.

Why is this necessary?
  • New code requires fresh security review
  • Prevents approved PRs from adding malicious code later
  • Ensures all tested code has been explicitly approved

Latest commit: 5a256a0

@eric-wang-1990 eric-wang-1990 added the integration-test Trigger integration tests in internal repo label Mar 10, 2026
@github-actions
Copy link

🚀 Integration tests triggered! View workflow run

…xt parsing (PECO-2945)

GitHub Actions drops object keys containing dots when converting webhook
payloads to expression context. Sending {"adbc.databricks.protocol":"rest"}
as a JSON object caused the key to be stripped, resulting in {}.

The internal workflow's extra_parameters is a string-typed input, so send
it as a pre-encoded JSON string "{\"adbc.databricks.protocol\": \"rest\"}"
to match the expected format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot removed the integration-test Trigger integration tests in internal repo label Mar 10, 2026
@github-actions
Copy link

🔒 Integration test approval reset

New commits were pushed to this PR. The integration-test label has been automatically removed for security.

A maintainer must re-review the changes and re-add the label to trigger tests again.

Why is this necessary?
  • New code requires fresh security review
  • Prevents approved PRs from adding malicious code later
  • Ensures all tested code has been explicitly approved

Latest commit: f52117b

Copy link
Collaborator

@msrathore-db msrathore-db left a comment

Choose a reason for hiding this comment

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

LGTM. We can extend later to run SEA tests if cloudFetch path is changed

@eric-wang-1990 eric-wang-1990 added the integration-test Trigger integration tests in internal repo label Mar 11, 2026
@github-actions
Copy link

🚀 Integration tests triggered! View workflow run

@github-actions github-actions bot removed the integration-test Trigger integration tests in internal repo label Mar 11, 2026
@github-actions
Copy link

🔒 Integration test approval reset

New commits were pushed to this PR. The integration-test label has been automatically removed for security.

A maintainer must re-review the changes and re-add the label to trigger tests again.

Why is this necessary?
  • New code requires fresh security review
  • Prevents approved PRs from adding malicious code later
  • Ensures all tested code has been explicitly approved

Latest commit: ef94293

@eric-wang-1990 eric-wang-1990 added this pull request to the merge queue Mar 11, 2026
Merged via the queue into main with commit 530cb26 Mar 11, 2026
15 of 16 checks passed
@eric-wang-1990 eric-wang-1990 deleted the worktree-PECO-2945-sea-rest-ci branch March 11, 2026 06:27
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