Skip to content

Translate Go sources to English and add security CI - #1

Merged
marcialwushu merged 11 commits into
mainfrom
chore/english-local-security-port
Nov 18, 2026
Merged

marcialwushu merged 11 commits into
mainfrom
chore/english-local-security-port

Conversation

@marcialwushu

@marcialwushu marcialwushu commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • translates Chinese text and comments in Go sources to English
  • repairs translated SQL, JSON, prompt, notification, ICP and mention contracts
  • adds pinned frontend/backend CI checks
  • adds pinned Semgrep SAST and Trivy vulnerability, secret and misconfiguration scans
  • updates vulnerable Go, Next.js and skill runtime dependencies
  • hardens the local Docker image with a non-root user, pinned Playwright tools and disabled Next.js telemetry
  • prepares the project for local enterprise deployment

Validation completed

  • no Han characters remain in tracked Go files
  • frontend unit tests pass (2/2)
  • static frontend build passes with Next.js/Webpack (31 pages)
  • complete PostgreSQL-backed Go test suite passes
  • integrated embedui backend binary builds and passes its CLI smoke test
  • Semgrep 1.185.0 security rules: zero blocking findings
  • Trivy 0.76.2: zero HIGH/CRITICAL CVEs, secrets or Dockerfile misconfigurations
  • actionlint 1.7.12, Dockerfile check and Compose configuration validation pass

Known limitation

  • the upstream server test suite exposes a global-state data race during worker teardown under go test -race; functional CI remains blocking without the race detector until that lifecycle issue is isolated

Remaining translation work

  • review and translate remaining Chinese text outside Go sources, especially frontend UI/mock data, shell scripts, SQL documentation and side-question docs
  • final language-quality review of machine-translated English strings

This remains a draft PR while the non-Go translation pass is completed.

@marcialwushu
marcialwushu marked this pull request as ready for review November 18, 2026 02:55

@marcialwushu marcialwushu left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revisado

@marcialwushu
marcialwushu merged commit 9f573f7 into main Nov 18, 2026
9 checks passed
@marcialwushu
marcialwushu deleted the chore/english-local-security-port branch November 18, 2026 02:57
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