Skip to content

Conversation

@Kyle-Neale
Copy link
Contributor

What does this PR do?

Prevents JSON decode errors when the Spark driver is starting but not quite ready.

Motivation

Customer inquiry via support ticket.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@codecov
Copy link

codecov bot commented Dec 29, 2025

Codecov Report

❌ Patch coverage is 98.68421% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.05%. Comparing base (0d1bcd1) to head (ebeccf5).
⚠️ Report is 15 commits behind head on master.

Additional details and impacted files
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment on lines 138 to 141
- name: startup_wait_retries
description: |
How many times to retry when Spark returns a startup message instead of JSON.
Set to -1 to disable, 0 to retry forever, or a positive number to limit retries.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit - Can we be a bit more descriptive here? What does retry forever mean? When it retries, does it sit there any block the check execution? What is the behavior when setting it to the different values?

@urseberry urseberry self-assigned this Jan 2, 2026
@urseberry
Copy link
Contributor

Please ping me for a review after you address the feedback from @steveny91. Thanks!

@estherk15 estherk15 added the editorial review Waiting on a more in-depth review from a docs team editor label Jan 5, 2026
@Kyle-Neale Kyle-Neale force-pushed the kyle.neale/fix-spark-readiness-waiting branch from ed1ffdd to 95960be Compare January 6, 2026 20:26
steveny91
steveny91 previously approved these changes Jan 6, 2026
@temporal-github-worker-1 temporal-github-worker-1 bot dismissed steveny91’s stale review January 6, 2026 22:36

Review from steveny91 is dismissed. Related teams and files:

  • agent-integrations
    • spark/datadog_checks/spark/data/conf.yaml.example
@Kyle-Neale Kyle-Neale added this pull request to the merge queue Jan 7, 2026
Merged via the queue into master with commit 7477060 Jan 7, 2026
54 checks passed
@Kyle-Neale Kyle-Neale deleted the kyle.neale/fix-spark-readiness-waiting branch January 7, 2026 15:42
datadog-agent-integrations-bot bot pushed a commit that referenced this pull request Jan 12, 2026
* Fix for Spark driver init readiness pending

* Add changelog

* Lint

* Add config param for retries

* Simplify description

* Address comments

* Update spark/assets/configuration/spec.yaml

Co-authored-by: Steven Yuen <[email protected]>

* ddev sync models and config

---------

Co-authored-by: Steven Yuen <[email protected]>
(cherry picked from commit 7477060)
datadog-agent-integrations-bot bot pushed a commit that referenced this pull request Jan 12, 2026
* Fix for Spark driver init readiness pending

* Add changelog

* Lint

* Add config param for retries

* Simplify description

* Address comments

* Update spark/assets/configuration/spec.yaml

Co-authored-by: Steven Yuen <[email protected]>

* ddev sync models and config

---------

Co-authored-by: Steven Yuen <[email protected]>
(cherry picked from commit 7477060)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants