Repository navigation
feat(logship): skip providers without a log backend quietly - #182
Merged
InftyAI-Agent merged 3 commits intoDec 2, 2026
Merged
Conversation
Pods on runpod, coreweave, lambda, kubernetes and aws used to log two ERROR lines on every event and resync. They now get one line per instance. An unknown provider name still errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the change to reduce logship noise from known unsupported providers.
No open issues 🎉
What changed in this PR
Reduces logship noise in multi-provider clusters by quietly skipping providers known to lack a log backend while preserving errors for unknown providers.
Changes:
- Logs known unsupported providers once per instance, resetting tracking on
Forget. - Adds tests for quiet skipping and reset behavior.
- Documents provider support.
| File | Description |
|---|---|
components/logship/README.md |
Documents supported providers and logging behavior. |
components/logship/internal/provider/provider.go |
Defines known unsupported provider names. |
components/logship/cmd/main.go |
Wires the informational logger into the fleet. |
components/logship/cmd/fleet.go |
Skips unsupported providers with deduplicated logging. |
components/logship/cmd/fleet_test.go |
Tests quiet skipping, deduplication, and reset behavior. |
Review effort: Balanced
Drops logship's copy of the names, so it cannot drift from what the placement controller writes. The image now copies pkg/provider and pkg/util, the only Nebula packages it pulls in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
/lgtm |
InftyAI-Agent
approved these changes
Dec 2, 2026
InftyAI-Agent
left a comment
Member
There was a problem hiding this comment.
Approved: PR has both lgtm and approved labels
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Multi-region clusters printed
no log provider for "kubernetes"andNOT shipping this instanceas ERRORs on every Pod event and every 10-minute resync. Real failures got lost in them.cmd/fleet.go: a hand-keptunsupportedlist (runpod,coreweave,lambda,kubernetes,aws). Pods on those providers are skipped with one non-ERROR line per instance.Forgetclears the entry, so a new instance on the same Pod is reported again.registernorunsupported, so it stays loud until someone decides how logship handles it.pkg/provider, so logship has no copy of them. The Dockerfile now also copiespkg/provider/andpkg/util/, the only Nebula packages that import pulls in.Testing
go vet ./...andgo test ./...incomponents/logship;docker build -f components/logship/Dockerfile .succeeds. New test: one line per instance, no ERROR, and a second line afterForget.🤖 Generated with Claude Code