Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ updates:
go-modules:
patterns: ["*"]
# lipgloss v2.1.0 requires go 1.26.7; the supported minimum stays at
# go 1.26.0 (CI's "Check go directive") until it is raised on purpose.
# go 1.26.0 until it is raised on purpose. CI's minimum leg installs the
# go directive itself (not the patched toolchain line) to test this floor.
ignore:
- dependency-name: "charm.land/lipgloss/v2"
versions: [">= 2.1.0"]
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ jobs:
with:
fetch-depth: 0

- name: Read Go language minimum
if: matrix.go == 'minimum'
id: go-minimum
shell: bash
run: echo "version=$(sed -n 's/^go //p' go.mod)" >> "$GITHUB_OUTPUT"

- name: Set up Go (go.mod minimum)
if: matrix.go == 'minimum'
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7
with:
go-version-file: 'go.mod'
go-version: ${{ steps.go-minimum.outputs.version }}
cache: false

- name: Set up Go (latest stable)
Expand Down
3 changes: 2 additions & 1 deletion main_mcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ func (f fakeSource) Names(context.Context, string) ([]string, error) { return f.
// TestE2EMCPScanSources checks that scan seeds candidates from the passive
// sources the operator enabled and only those, reporting each one (#268).
func TestE2EMCPScanSources(t *testing.T) {
t.Parallel()
// This test replaces the process-wide source registry. Keep it serial so
// parallel MCP sessions cannot read the stub or race with its restoration.
zone, err := labzone.Load(filepath.Join("examples", "labs", "lab1-first-scan.zone"))
if err != nil {
t.Fatal(err)
Expand Down
Loading