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
2 changes: 1 addition & 1 deletion .github/.env.base
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ REDIS_CACHE_FORCE_PULL=false # Force pull Redis images even when cache
# 🪄 MAGE-X CONFIGURATION
# ================================================================================================

MAGE_X_VERSION=v1.7.16 # https://github.com/mrz1836/mage-x/releases
MAGE_X_VERSION=v1.8.0 # https://github.com/mrz1836/mage-x/releases
MAGE_X_USE_LOCAL=false # Use local version for development
MAGE_X_AUTO_DISCOVER_BUILD_TAGS=true # Enable auto-discovery of build tags
MAGE_X_AUTO_DISCOVER_BUILD_TAGS_EXCLUDE=race,custom # Comma-separated list of tags to exclude
Expand Down
6 changes: 0 additions & 6 deletions .github/actions/warm-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ runs:
echo "$key=$value" >> $GITHUB_ENV
done

# --------------------------------------------------------------------
# Checkout code to access local actions (setup-go-with-cache, setup-magex)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

# --------------------------------------------------------------------
# Set environment variables
# --------------------------------------------------------------------
Expand Down
9 changes: 3 additions & 6 deletions .github/sweep.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
gha_enabled: true
branch: master
blocked_dirs: []
draft: false
description: |
Sweep AI must follow the repository guidelines in .github/AGENTS.md.
rules:
- "Read .github/AGENTS.md first; it overrides these rules."
- "Format code with magex format:fix"
- "Lint with 'magex lint' and vet with 'magex vet'"
- "Lint with 'magex lint'"
- "Run 'magex test' before committing"
- "Commit messages use '<type>(<scope>): <short description>'"
- "PR titles use '[Subsystem] Imperative and concise summary'"
- "PR descriptions include: What Changed, Why It Was Necessary, Testing Performed, Impact / Risk"
- "Run 'magex dep:tidy' after import changes"
- "Commit messages refer to AGENTS.md"
- "Run 'magex deps:tidy' after import changes"
- "Report vulnerabilities privately following SECURITY.md"
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-on-approval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
# Check out code to access env file
# --------------------------------------------------------------------
- name: 📥 Checkout code (sparse)
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
sparse-checkout: |
.github/.env.base
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# Check out code to access env file
# --------------------------------------------------------------------
- name: 📥 Checkout code (sparse)
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
sparse-checkout: |
.github/.env.base
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
# Checkout code and set up Go environment
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Setup Go with caching and version management
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fortress-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-completion-finalize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
# Checkout repository for local actions
# --------------------------------------------------------------------
- name: 📥 Checkout Repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse inputs and setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-completion-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
# Checkout repository for local actions
# --------------------------------------------------------------------
- name: 📥 Checkout Repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-completion-statistics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
# Checkout repository for local actions
# --------------------------------------------------------------------
- name: 📥 Checkout Repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-completion-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
# Checkout repository for local actions
# --------------------------------------------------------------------
- name: 📥 Checkout Repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fortress-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
echo "✅ Branch helper functions created"

- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0 # Fetch all history including tags for version display

Expand Down Expand Up @@ -2338,7 +2338,7 @@ jobs:
done

- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 2 # Need history for codecov to detect changes

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# Checkout code (full checkout to ensure local actions are available)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0 # Fetch full history to enable file change detection for all commit ranges

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# Checkout code and set up Go environment
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0 # Required for changelog generation
token: ${{ secrets.github-token }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fortress-security-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down Expand Up @@ -345,7 +345,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0 # Fetch all history so Gitleaks can scan commits

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-setup-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ jobs:
# Checkout code (sparse checkout)
# --------------------------------------------------------------------
- name: 📥 Checkout (sparse)
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
sparse-checkout: |
.mage.yaml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-test-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fortress-test-magex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
# Full checkout when using local build (needs cmd/magex directory)
- name: 📥 Checkout (full - local build)
if: env.MAGE_X_USE_LOCAL == 'true'
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0

# Sparse checkout when using remote build (optimization)
- name: 📥 Checkout (sparse - remote build)
if: env.MAGE_X_USE_LOCAL == 'false'
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0 # Required for sparse checkout
sparse-checkout: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress-test-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# Checkout code (required for local actions)
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

# --------------------------------------------------------------------
# Parse environment variables
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/fortress-warm-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,15 @@ jobs:
# Checkout code to access local action
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
sparse-checkout: |
.github/actions/warm-cache
.github/actions/warm-redis-cache
.github/actions/cache-redis-image
.github/actions/setup-go-with-cache
.github/actions/setup-magex
.github/.env.base
go.mod
${{ env.GO_SUM_FILE }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fortress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
# Check out code to access env file
# --------------------------------------------------------------------
- name: 📥 Checkout code (sparse)
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
sparse-checkout: |
.github/.env.base
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-management-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
# codeql:ignore GH001
# checkov:skip=CKV_GHA_3:Base branch checkout is intentional and safe
- name: 📥 Checkout base repo (sparse)
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# 🔒 CRITICAL SECURITY CONTROL: Base Branch Checkout Only
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# Check out code to access env file
# --------------------------------------------------------------------
- name: 📥 Checkout code (sparse)
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
sparse-checkout: |
.github/.env.base
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# Check out code to access env file
# --------------------------------------------------------------------
- name: 📥 Checkout code (sparse)
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
sparse-checkout: |
.github/.env.base
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
# Check out code to access env file
# --------------------------------------------------------------------
- name: 📥 Checkout code (sparse)
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
sparse-checkout: |
.github/.env.base
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
# Checkout repository
# --------------------------------------------------------------------
- name: 📥 Checkout code
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 2 # Fetch enough history to check parent commits

Expand Down
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,22 @@
],
"type": "shell"
},
{
"command": "magex deps:update all-modules verbose",
"detail": "Update dependencies across all modules",
"group": "none",
"label": "magex: deps:update:all-modules",
"presentation": {
"clear": true,
"focus": false,
"panel": "shared",
"reveal": "always"
},
"problemMatcher": [
"$go"
],
"type": "shell"
},
{
"command": "magex deps:audit",
"detail": "Audit dependencies for known security vulnerabilities",
Expand Down