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

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

Build:
Build:
LAST BUILD BRANCH: story_SPL-290976
DEFAULT BRANCH: main
Ran 14 Feb 2026 09:57PM 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 09:47PM UTC coverage: 84.932% (-1.3%) from 86.191%
22024801941

Pull #1699

circleci

vivekr-splunk
Add 30-second timeout to SDK runtime initialization

This commit adds a timeout to prevent SDK runtime initialization
from hanging indefinitely when PlatformConfig CRDs are not available
or when the Kubernetes API is slow to respond.

Changes:
- internal/controller/standalone_controller.go: Added 30-second
  timeout context to sdkRuntime.Start() call

This addresses the smoke test timeout issue where SDK initialization
might hang when:
1. CRDs are not yet registered in the API server
2. API server is slow to respond to resource queries
3. Client.Get() calls block waiting for CRD discovery

With this timeout, the controller will:
1. Attempt SDK initialization for up to 30 seconds
2. If it times out or fails, fall back to legacy mode
3. Allow the controller to start even if SDK is unavailable

This ensures smoke tests can proceed without hanging.

🤖 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

152 of 370 new or added lines in 4 files covered. (41.08%)

1 existing line in 1 file now uncovered.

11087 of 13054 relevant lines covered (84.93%)

28.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
90.48
-2.02% 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.48
-2.02% internal/controller/standalone_controller.go
Jobs
ID Job ID Ran Files Coverage
1 22024801941.1 14 Feb 2026 09:57PM UTC 48
84.93
CircleCI Job
Source Files on build 22024801941
  • Tree
  • List 48
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #22024801941
  • 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