Skip to content

ci: add PR checks for app, frontend, and DocReader - #2416

Merged
lyingbug merged 4 commits into
Tencent:mainfrom
lyingbug:agent/add-core-pr-ci
Jul 30, 2026
Merged

ci: add PR checks for app, frontend, and DocReader#2416
lyingbug merged 4 commits into
Tencent:mainfrom
lyingbug:agent/add-core-pr-ci

Conversation

@lyingbug

Copy link
Copy Markdown
Collaborator

What

  • add path-filtered GitHub Actions workflows for the main Go app, frontend, and DocReader
  • run frontend tests, type checking, and production builds
  • run app formatting checks, vet, tests, and server builds
  • run DocReader Python compilation/tests plus Go client tests
  • fix existing baseline failures exposed by these checks

Why

Changes under these three core paths did not have dedicated pull-request checks, so regressions could be merged without exercising the corresponding build and test suites.

Impact

Each workflow is scoped to its relevant paths to avoid unnecessary CI work. Existing runtime behavior is unchanged; supporting fixes align public terminology, stabilize test-only SSRF configuration, and skip DocReader tests whose optional fixture files are absent.

Validation

  • Frontend: 260 tests passed; type-check passed; production build passed
  • App: gofmt diff check, go vet, full Go test suite, and server build passed
  • DocReader: Python compile check and 123 tests passed (12 optional-fixture tests skipped); Go client tests passed
  • GitHub Actions workflows: actionlint passed

@lyingbug
lyingbug marked this pull request as ready for review July 30, 2026 04:36
lyingbug added 4 commits July 30, 2026 12:45
Start the DocReader gRPC server in the DocReader workflow, skip client
integration tests when the server is unavailable, exclude docreader
packages from the App workflow test scope, and trigger DocReader checks
on go.mod/go.sum changes.
Use setup-go v6 default go.mod cache key instead of go.sum, warm the
module cache with an explicit go mod download step, and scope vet to the
same package set as tests.
Compare base...head for pull_request events instead of the merge commit
so unrelated main-branch files are not checked. Also gofmt
kb_access_test.go, which was unformatted on main.
@lyingbug
lyingbug force-pushed the agent/add-core-pr-ci branch 3 times, most recently from 7a435a4 to 7adb465 Compare July 30, 2026 06:12
@lyingbug
lyingbug merged commit cbe668c into Tencent:main Jul 30, 2026
8 of 9 checks passed
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