• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

splunk / splunk-operator / 22020349453
85%
main: 87%

Build:
Build:
LAST BUILD BRANCH: CSPL-4518
DEFAULT BRANCH: main
Ran 14 Feb 2026 04:17PM UTC
Jobs 1
Files 48
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Feb 2026 04:07PM UTC coverage: 84.927% (-1.3%) from 86.191%
22020349453

Pull #1699

circleci

vivekr-splunk
Make Platform SDK initialization optional with graceful fallback

This commit fixes smoke test timeouts by making Platform SDK
initialization optional. If SDK runtime initialization fails
(e.g., PlatformConfig CRDs not installed), the controller now
falls back to legacy mode instead of failing to start.

Changes:
- internal/controller/standalone_controller.go: Modified
  SetupWithManager to handle SDK initialization failures gracefully
  by setting SDKRuntime to nil (triggers legacy mode)

This ensures backward compatibility with environments that don't
have Platform SDK CRDs installed, such as existing smoke tests.

Previously, the smoke tests were timing out after 4 hours because:
1. SDK runtime initialization would fail if CRDs weren't present
2. The controller setup would fail entirely
3. Pods couldn't start, tests waited forever for Ready state

Now the controller will:
1. Attempt to initialize SDK runtime
2. If it fails, log a warning and use legacy mode (sdkRuntime=nil)
3. Fall back to legacy StatefulSet creation path
4. Allow smoke tests to proceed normally

Fixes timeout issues in:
- smoke-tests (managermc)
- smoke-tests (basic)
- smoke-tests (appframeworksS1)
- smoke-tests (managersecret)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #1699: [SPIKE] Platform SDK Integration for Standalone Controller

148 of 366 new or added lines in 4 files covered. (40.44%)

1 existing line in 1 file now uncovered.

11083 of 13050 relevant lines covered (84.93%)

28.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
90.1
-2.4% internal/controller/standalone_controller.go
20
84.0
pkg/splunk/enterprise/secret_adapter.go
70
91.12
-3.74% pkg/splunk/enterprise/configuration.go
122
47.25
-22.7% pkg/splunk/enterprise/standalone.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.1
-2.4% internal/controller/standalone_controller.go
Jobs
ID Job ID Ran Files Coverage
1 22020349453.1 14 Feb 2026 04:17PM UTC 48
84.93
CircleCI Job
Source Files on build 22020349453
  • Tree
  • List 48
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #22020349453
  • Pull Request #1699
  • PR Base - develop (#21989948678)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc