Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dagryn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ timeout = "10m"


[tasks.backend-vulnerability-scan]
command = "govulncheck -C ./... -json > gosec-report.json"
command = "govulncheck ./... -json > gosec-report.json"

Copilot AI Apr 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command will likely fail in two ways: (1) it runs from the repo root even though the Go module lives under backend/ (other backend tasks set workdir = "backend", and the GH workflow uses work-dir: ./backend), and (2) -json is placed after ./...—if govulncheck uses standard Go flag parsing, flags after the first non-flag argument are not parsed and -json will be treated as a package pattern. Set workdir = "backend" for this task (or use govulncheck -C backend ...), and place -json before the package pattern.

Suggested change
command = "govulncheck ./... -json > gosec-report.json"
workdir = "backend"
command = "govulncheck -json ./... > gosec-report.json"

Copilot uses AI. Check for mistakes.
uses = ["setup-go", "golang-vul"]
needs = ["backend-install", "backend-build"]
inputs = ["**/*.go", "go.mod", "go.sum"]
Expand Down
Loading