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

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

Build:
Build:
LAST BUILD BRANCH: CSPL-4518
DEFAULT BRANCH: main
Ran 16 Feb 2026 04:15AM 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

16 Feb 2026 04:04AM UTC coverage: 84.886% (-1.3%) from 86.191%
22049735322

Pull #1699

circleci

vivekr-splunk
Fix smoke test timeouts by ensuring legacy secret exists before SDK resolution

Root Cause:
- SDK's ResolveSecret() expects legacy secret splunk-{namespace}-secret to exist
- In smoke tests (and new deployments), this secret doesn't exist initially
- SDK returned "secret not ready" error, causing reconciliation to fail and retry
- Reconciliation loop continued indefinitely until 4-hour GitHub Actions timeout

Solution:
- Call ApplyNamespaceScopedSecretObject() BEFORE SDK secret resolution
- This ensures the legacy source secret exists for SDK to resolve and version
- Maintains backward compatibility with existing deployments
- SDK can now create versioned secrets (v1, v2, v3) from the legacy source

Changes:
- Added call to splutil.ApplyNamespaceScopedSecretObject() at standalone.go:309
- This mirrors legacy behavior which always creates the secret if missing
- Updated step numbering in comments for clarity
- All unit tests pass (137 tests in pkg/splunk/enterprise)

🤖 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 377 new or added lines in 4 files covered. (40.32%)

1 existing line in 1 file now uncovered.

11087 of 13061 relevant lines covered (84.89%)

28.59 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
129
46.36
-23.6% 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 22049735322.1 16 Feb 2026 04:15AM UTC 48
84.89
CircleCI Job
Source Files on build 22049735322
  • Tree
  • List 48
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #22049735322
  • 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