Skip to content

chore: upgrade Go to 1.26 and update all dependencies#52

Merged
occult merged 1 commit into
mainfrom
chore/upgrade-go-1.26-and-deps
Feb 13, 2026
Merged

chore: upgrade Go to 1.26 and update all dependencies#52
occult merged 1 commit into
mainfrom
chore/upgrade-go-1.26-and-deps

Conversation

@felipekafuri

@felipekafuri felipekafuri commented Feb 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Go 1.24 → 1.26: Brings the project to the latest Go release (Feb 10, 2026) with the new Green Tea GC enabled by default
  • CI workflow updated: Go 1.23→1.26, Node 20→22, all GitHub Actions upgraded from v3→v4
  • All Go and npm dependencies updated to their latest compatible versions
  • Fix Vite manifest race condition in tests: parallel test binaries no longer compete to rename .vite/manifest.json, resolving CI panics

Key dependency changes

Package Old New Notes
Go 1.24.0 1.26.0
entgo.io/ent 0.14.4 0.14.5 Ent code regenerated
echo/v4 4.13.3 4.15.0 Staying on v4
echo-contrib 0.17.4 0.18.0 Pinned to last v4-compatible (v0.50.0 requires echo v5)
backlite 0.5.0 0.6.0 .Save() now returns 2 values — fixed in task.go
stripe-go/v82 82.3.0 82.5.1 Patch only, no import changes
validator/v10 10.26.0 10.30.1
golang.org/x/crypto 0.38.0 0.48.0
All npm deps latest ^range Updated via npm update

Code changes

  • pkg/services/container.go: Fixed Vite manifest resolution to support both manifest.json and .vite/manifest.json paths without renaming, eliminating a race condition where parallel test binaries would panic in CI.
  • pkg/middleware/session.go: Removed direct usage of deprecated gorilla/context (the defer context.Clear() call). It remains as an indirect dependency via gorilla/sessions.
  • pkg/handlers/task.go: Fixed backlite v0.6.0 breaking change — Save() now returns (Task, error) instead of just error.
  • ent/: Regenerated Ent ORM code after ent upgrade.

Test plan

  • go build -o /dev/null ./cmd/web — compiles without errors
  • make test — all Go tests pass (including middleware tests that previously panicked)
  • npm run build — frontend builds successfully

🤖 Generated with Claude Code

Upgrade the project from Go 1.24 to Go 1.26 (with Green Tea GC) and
update all Go and npm dependencies to their latest compatible versions.

Also fix a race condition in Vite manifest resolution where parallel
test binaries would compete to rename .vite/manifest.json, causing
panics in CI. Now both manifest paths are supported without renaming.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@felipekafuri felipekafuri force-pushed the chore/upgrade-go-1.26-and-deps branch from 6ea1b40 to a8e8894 Compare February 13, 2026 16:44
@occult occult merged commit 50d6850 into main Feb 13, 2026
1 check passed
felipekafuri added a commit to axioms-studio/bandeira that referenced this pull request Feb 18, 2026
Upgrade the project from Go 1.24 to Go 1.26 (with Green Tea GC) and
update all Go and npm dependencies to their latest compatible versions.

Also fix a race condition in Vite manifest resolution where parallel
test binaries would compete to rename .vite/manifest.json, causing
panics in CI. Now both manifest paths are supported without renaming.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants