Skip to content

ci: validate main before Railway deploys - #3

Merged
jerry-airjelly merged 1 commit into
mainfrom
chore/airjelly-ci
Aug 11, 2026
Merged

ci: validate main before Railway deploys#3
jerry-airjelly merged 1 commit into
mainfrom
chore/airjelly-ci

Conversation

@jerry-airjelly

Copy link
Copy Markdown
Member

⚠️ 提交说明 / PR Notice

Important

  • 本 PR 在 AI Coding Agent 协助下实现和验证;以下摘要已按实际调用链与验证结果整理。

📝 变更描述 / Description

将公司仓库的 GitHub Actions 收敛为一条质量门禁:Pull Request 和 main push 均执行 Go/relaykit 的 vet、build、test,以及 Web 的 TypeScript 检查和生产构建。

删除上游仓库用于发布官方 Docker 镜像、Release、Electron 产物和同步 GitCode 的工作流。LowEntropyAI 的部署由 Railway 接管,GitHub Actions 不再承担 CD,也不会误发布上游项目的官方产物。

main push CI 可供 Railway 的 Wait for CI 使用:只有该提交的检查通过后,Railway 才继续部署。

🚀 变更类型 / Type of change

  • 🐛 Bug 修复 (Bug fix) - 请关联对应 Issue,避免将设计取舍、理解偏差或预期不一致直接归类为 bug
  • ✨ 新功能 (New feature) - 重大特性建议先通过 Issue 沟通
  • ⚡ 性能优化 / 重构 (Refactor)
  • 📝 文档更新 (Documentation)

🔗 关联任务 / Related Issue

  • AirJelly 内部部署基础设施收口,无公开 Issue。

✅ 提交前检查项 / Checklist

  • 人工确认: 我已亲自整理并撰写此描述,没有直接粘贴未经处理的 AI 输出。
  • 非重复提交: 我已搜索现有的 Issues 与 PRs,确认不是重复提交。
  • Bug fix 说明: 本 PR 未标记为 Bug fix。
  • 变更理解: 已确认 CI 负责验证,Railway 负责构建、健康检查和部署。
  • 范围聚焦: 本 PR 只调整 GitHub Actions 工作流。
  • 本地验证: 已在本地完成后端、relaykit 与 Web 验证。
  • 安全合规: 变更不包含凭据或运行环境密钥。

📸 运行证明 / Proof of Work

本地验证均通过:

  • GOWORK=off go vet ./...
  • GOWORK=off go build ./...
  • make test(包含根模块与 relaykit 测试)
  • cd relaykit && GOWORK=off go vet ./...
  • cd relaykit && GOWORK=off go build ./...
  • cd web && bun install --frozen-lockfile
  • cd web && bun run typecheck
  • cd web && DISABLE_ESLINT_PLUGIN=true VITE_REACT_APP_VERSION=ci bun run build

说明:当前 main 的前端测试仍使用 node:test,没有可由 Bun/Vitest 正确执行的项目测试脚本;因此本 PR 没有用会产生误导结果的 bun test 作为门禁,而是保留 TypeScript 检查与生产构建。

@jerry-airjelly
jerry-airjelly merged commit 5316bfc into main Aug 11, 2026
3 checks passed
@jerry-airjelly
jerry-airjelly deleted the chore/airjelly-ci branch August 11, 2026 12:24
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