Trigger Tableau TDVT in connectors on snapshot publish and release (CON-264)#2875
Conversation
|
Repository collaborators can run the JMH benchmark suite against this PR by commenting: Optional regression threshold override (Δ% on Time or Alloc/op; defaults to 10%): Only one benchmark run per PR is active at a time — issuing a new |
Client V2 CoverageCoverage Report
Class Coverage
|
JDBC V2 CoverageCoverage Report
Class Coverage
|
JDBC V1 CoverageCoverage Report
Class Coverage
|
Client V1 CoverageCoverage Report
Class Coverage
|
|
Thank you for the PR! |
d916ce5 to
6eeba6e
Compare
|
Tableau users install the latest ClickHouse JDBC driver manually, so a snapshot or release regression reaches them with no connector release in between. After a snapshot/release publishes, fire a repository_dispatch to ClickHouse/connectors so its Tableau TDVT suite runs against the new driver. Tracking: CON-264. - nightly.yml: dispatch event_type=jdbc-snapshot; version derived from the pom <revision> property (env.CHC_VERSION is commented out). - release.yml: dispatch event_type=jdbc-release with the release version input. - Both are continue-on-error so a dispatch failure never fails the publish, and require secrets.CONNECTORS_DISPATCH_TOKEN (Contents:read/write on connectors).
Run TDVT in a separate job against clickhouse-tableau-tdvt, wait for the run to finish, and surface its outcome in the publishing workflow. Add mirror_tdvt.py for dispatch and run matching, and capture the nightly JDBC version before Maven flatten removes <revision>.
Match the dispatched TDVT run STRICTLY on the unique correlation id embedded in the run-name, dropping the version/timing heuristics that could pick an unrelated run sharing the same JDBC version (Bugbot). Depends on the tdvt-repo run-name change that appends [corr:<id>] to the TDVT run title.
TriageCategory: Summary What this impacts
Concerns
Required reviewer action
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ 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 d329310. Configure here.
The release workflow_dispatch has no 'version' input, so github.event.inputs.version was empty and TDVT was dispatched with no version (Bugbot). The release publishes $(cat VERSION) (Update Configuration writes it into the pom <revision> before deploy), so the tdvt job reads the same VERSION file to test the artifact that was actually published.
|
Current version of PR was reviewed by /review-bugbot on Jul 27, 12:02 GMT+3. It flagged 1 finding. Show 1 finding1. Correlation ID substring false match
Bugbot on commit |
Substring correlation matching could associate #run-2 with #run-20 when both runs were visible.
|
Current version of PR was reviewed by /review-bugbot on Jul 27, 12:37 GMT+3. It flagged 0 findings. Bugbot on commit |
|








Tableau users install the latest ClickHouse JDBC driver manually, so a snapshot or release regression reaches them with no connector release in between. After a publish, fire a
repository_dispatchtoClickHouse/connectorsso its Tableau TDVT suite runs against the new driver. Tracking: CON-264.nightly.yml: dispatchevent_type=jdbc-snapshot; version derived from the pom<revision>property (env.CHC_VERSIONis commented out).release.yml: dispatchevent_type=jdbc-releasewith the releaseversioninput.continue-on-errorso a dispatch failure never fails the publish, and requiresecrets.CONNECTORS_DISPATCH_TOKEN(Contents: read/write on connectors only).