Skip to content

fix(go): avoid CI source path in release builds#147

Merged
akonwi merged 1 commit into
mainfrom
fix-release-runtime-module-replace
May 22, 2026
Merged

fix(go): avoid CI source path in release builds#147
akonwi merged 1 commit into
mainfrom
fix-release-runtime-module-replace

Conversation

@akonwi
Copy link
Copy Markdown
Owner

@akonwi akonwi commented May 22, 2026

Summary

  • write a portable embedded Ard support module for release binaries instead of replacing github.com/akonwi/ard with the CI checkout path
  • keep the existing source checkout replace for dev builds
  • add tests for release/dev generated go.mod behavior

Validation

  • cd compiler && go test ./go
  • cd compiler && go test . -run TestRunServerExampleRoutes
  • cd compiler && go test ./...
  • built a local release-style binary with version v0.19.1 and verified /tmp/ard-hotfix run main.ard in Ranger compiles past the module error (now reaches app DATABASE_URL panic)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ard-lang-dev Ready Ready Preview, Comment May 22, 2026 7:03pm

@akonwi akonwi merged commit 42d5f97 into main May 22, 2026
6 checks passed
@akonwi akonwi deleted the fix-release-runtime-module-replace branch May 22, 2026 19:10
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.

1 participant