Compare commits
2 commits
ec08b638d2
...
24af2f72bc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24af2f72bc | ||
|
|
02728909f5 |
7 changed files with 43 additions and 8 deletions
4
.github/workflows/backend-ci.yml
vendored
4
.github/workflows/backend-ci.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||
with:
|
||||
go-version: "1.24"
|
||||
go-version: "1.25"
|
||||
cache: true
|
||||
cache-dependency-path: veza-backend-api/go.sum
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||
with:
|
||||
go-version: "1.24"
|
||||
go-version: "1.25"
|
||||
cache: true
|
||||
cache-dependency-path: veza-backend-api/go.sum
|
||||
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||
with:
|
||||
go-version: "1.24"
|
||||
go-version: "1.25"
|
||||
cache: true
|
||||
# go.mod/go.sum live under veza-backend-api, not repo root.
|
||||
# Without this, setup-go warns "Dependencies file is not
|
||||
|
|
|
|||
2
.github/workflows/go-fuzz.yml
vendored
2
.github/workflows/go-fuzz.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||
with:
|
||||
go-version: "1.24"
|
||||
go-version: "1.25"
|
||||
cache: true
|
||||
|
||||
- name: Download deps
|
||||
|
|
|
|||
38
.gitignore
vendored
38
.gitignore
vendored
|
|
@ -158,3 +158,41 @@ veza-backend-api/audio/
|
|||
# SELinux policy (local)
|
||||
qemu-fusefs.*
|
||||
api
|
||||
|
||||
# ============================================================
|
||||
# Post-audit J1 (2026-04-14) — never recommit this debris
|
||||
# ============================================================
|
||||
# Go binaries accidentally committed (v1.0.3 → v1.0.4 cleanup)
|
||||
veza-backend-api/server
|
||||
veza-backend-api/modern-server
|
||||
veza-backend-api/seed
|
||||
veza-backend-api/seed-v2
|
||||
veza-backend-api/encrypt_oauth_tokens
|
||||
|
||||
# Coverage reports (generated, never tracked)
|
||||
veza-backend-api/coverage*.out
|
||||
veza-backend-api/coverage_groups/
|
||||
|
||||
# Frontend build/lint/test artifacts
|
||||
apps/web/lint_report*.json
|
||||
apps/web/tsc*.log
|
||||
apps/web/tsc*.txt
|
||||
apps/web/ts_*.log
|
||||
apps/web/storybook_*.json
|
||||
apps/web/debug-storybook.log
|
||||
apps/web/build_errors*.txt
|
||||
apps/web/build_output.txt
|
||||
apps/web/final_errors.txt
|
||||
apps/web/*.log
|
||||
apps/web/diagnostic-*.log
|
||||
apps/web/frontend.log
|
||||
apps/web/audit.log
|
||||
|
||||
# Backend local logs
|
||||
veza-backend-api/backend*.log
|
||||
|
||||
# Root audit screenshots (belong in docs/assets/ if needed)
|
||||
/audit-*.png
|
||||
|
||||
# AI tooling session state (not code)
|
||||
.cursor/
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
// SECURITY(REM-027): pprof removed from production — use build tag or dedicated debug binary instead.
|
||||
// To enable: go build -tags debug ./cmd/api
|
||||
"os"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ import (
|
|||
"strconv"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/google/uuid"
|
||||
"go.uber.org/zap"
|
||||
|
||||
"veza-backend-api/internal/services"
|
||||
|
|
|
|||
|
|
@ -5,13 +5,11 @@ package handlers
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"veza-backend-api/internal/core/auth"
|
||||
"veza-backend-api/internal/database"
|
||||
|
|
@ -26,7 +24,6 @@ import (
|
|||
"github.com/google/uuid"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"go.uber.org/zap"
|
||||
"go.uber.org/zap/zaptest"
|
||||
"gorm.io/driver/sqlite"
|
||||
"gorm.io/gorm"
|
||||
|
|
|
|||
Loading…
Reference in a new issue