Add Bits AI SRE Investigations#10
Merged
Merged
Conversation
📊 Test Coverage ReportThreshold: 80% ❌ Coverage by Package📈 Coverage Status: ❌ FAILED - Coverage below minimum threshold Updated for commit b1bc4ac |
Fix golangci-lint errcheck violations by explicitly handling Close() errors
in defer statements. Using anonymous function with blank identifier to
explicitly ignore the error, which is the common pattern for deferred Close()
calls where the error cannot be meaningfully handled.
- runInvestigationsTrigger: defer func() { _ = resp.Body.Close() }()
- runInvestigationsGet: defer func() { _ = resp.Body.Close() }()
- runInvestigationsList: defer func() { _ = resp.Body.Close() }()
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
platinummonkey
added a commit
that referenced
this pull request
Mar 26, 2026
Addresses Dependabot alert #10: libcrux-sha3 < 0.0.8 has an incorrect calculation in incremental SHAKE XOF squeeze functions (GHSA-q29p-9pfr-j652). russh 0.58.0 pins libcrux-ml-kem = "^0.0.4" which transitively requires libcrux-sha3 0.0.4. The ^0.0.4 semver constraint prevents a simple cargo update, so this uses [patch.crates-io] to redirect russh to the upstream fix branch (warp-tech/russh PR #680) at commit fbc5d05, which bumps libcrux-ml-kem to 0.0.8 and pulls in the patched libcrux-sha3 0.0.8. The patch should be removed once russh publishes a release with the fix. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
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 does this PR do?
Adds a command to trigger a Bits AI SRE investigation. Since this endpoint isn't available in the official Datadog client yet, we create a function to call a generic HTTP endpoint.
Motivation
Bits AI SRE is available via an API already, and this would allow other agents or users to trigger investigations from the command line.
Checklist