Skip to content

Fix ClusterEventType enum: INIT_SCRIPTS_STARTING → INIT_SCRIPTS_STARTED#294

Merged
memoryz merged 2 commits into
masterfrom
copilot/fix-issue-292
Dec 1, 2025
Merged

Fix ClusterEventType enum: INIT_SCRIPTS_STARTING → INIT_SCRIPTS_STARTED#294
memoryz merged 2 commits into
masterfrom
copilot/fix-issue-292

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 1, 2025

Fixes #292

The ClusterEventType enum value INIT_SCRIPTS_STARTING doesn't match the Databricks API, which uses INIT_SCRIPTS_STARTED. This causes JSON deserialization failures when listing cluster events.

Changes

  • Renamed INIT_SCRIPTS_STARTING to INIT_SCRIPTS_STARTED in ClusterEventType enum
  • Fixed malformed doc comment ("The initialize scripts startingIndicates..." → "Indicates that the cluster scoped init script has started.")
Original prompt

fix issue #292

Created from VS Code via the GitHub Pull Request extension.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…in ClusterEventType enum

Co-authored-by: memoryz <6992432+memoryz@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue 292 Fix ClusterEventType enum: INIT_SCRIPTS_STARTING → INIT_SCRIPTS_STARTED Dec 1, 2025
Copilot AI requested a review from memoryz December 1, 2025 05:27
@memoryz memoryz marked this pull request as ready for review December 1, 2025 05:27
@memoryz memoryz merged commit de9da89 into master Dec 1, 2025
5 of 6 checks passed
@memoryz memoryz deleted the copilot/fix-issue-292 branch December 1, 2025 05:31
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.

INIT_SCRIPTS_STARTING member of enum ClusterEventType must be INIT_SCRIPTS_STARTED

2 participants