-
Notifications
You must be signed in to change notification settings - Fork 17
Pr/http logging #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pr/http logging #305
Changes from all commits
7025af3
2088cc6
5c4b136
1fa1831
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ go 1.25.1 | |
|
|
||
| require ( | ||
| github.com/aws/aws-sdk-go-v2/config v1.32.9 | ||
| github.com/flanksource/clicky v1.19.0 | ||
| github.com/flanksource/clicky v1.21.1 | ||
| github.com/flanksource/commons v1.47.2 | ||
| github.com/spf13/cobra v1.10.2 | ||
| github.com/stretchr/testify v1.11.1 | ||
|
|
@@ -15,6 +15,7 @@ require ( | |
| cel.dev/expr v0.25.1 // indirect | ||
| github.com/Masterminds/goutils v1.1.1 // indirect | ||
| github.com/Masterminds/semver/v3 v3.4.0 // indirect | ||
| github.com/Snawoot/go-http-digest-auth-client v1.1.3 // indirect | ||
| github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b // indirect | ||
| github.com/alecthomas/chroma/v2 v2.23.1 // indirect | ||
| github.com/antlr4-go/antlr/v4 v4.13.1 // indirect | ||
|
|
@@ -49,8 +50,8 @@ require ( | |
| github.com/dlclark/regexp2 v1.11.5 // indirect | ||
| github.com/emirpasic/gods/v2 v2.0.0-alpha // indirect | ||
| github.com/fatih/color v1.18.0 // indirect | ||
| github.com/flanksource/gomplate/v3 v3.24.71 // indirect | ||
| github.com/flanksource/is-healthy v1.0.85 // indirect | ||
| github.com/flanksource/gomplate/v3 v3.24.74 // indirect | ||
| github.com/flanksource/is-healthy v1.0.86 // indirect | ||
| github.com/flanksource/kubectl-neat v1.0.4 // indirect | ||
| github.com/fsnotify/fsnotify v1.9.0 // indirect | ||
| github.com/fxamacker/cbor/v2 v2.9.0 // indirect | ||
|
|
@@ -172,4 +173,4 @@ require ( | |
| sigs.k8s.io/yaml v1.6.0 // indirect | ||
| ) | ||
|
|
||
| replace github.com/flanksource/commons => ../.. | ||
| // replace github.com/flanksource/commons => ../.. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify that cmd/hx imports commons packages while local replace is disabled.
# Expected: imports exist + replace is commented, confirming potential mismatch risk.
echo "== Imports from github.com/flanksource/commons in cmd/hx =="
rg -n 'github\.com/flanksource/commons(/|")' cmd/hx/*.go cmd/hx/**/*.go
echo
echo "== commons dependency and replace directive state in cmd/hx/go.mod =="
rg -n 'github\.com/flanksource/commons v|^\s*replace github\.com/flanksource/commons|^\s*//\s*replace github\.com/flanksource/commons' cmd/hx/go.modRepository: flanksource/commons Length of output: 615 Re-enable the commons replace directive in The replace at line 176 is commented out, causing 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: flanksource/commons
Length of output: 686
🏁 Script executed:
Repository: flanksource/commons
Length of output: 417
Build target is incorrect and will fail to produce the CLI binary.
After
cd $GIT_ROOT_DIR, the commandgo build -o hx .attempts to build the root directory, which contains no Go files. The CLI entrypoint is incmd/hx/(main.go and root.go are both package main). This build command must target the correct package.Fix
🤖 Prompt for AI Agents