Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.

Increase testing of Go container implementation#23

Merged
luhenry merged 1 commit into
mainfrom
go
May 15, 2026
Merged

Increase testing of Go container implementation#23
luhenry merged 1 commit into
mainfrom
go

Conversation

@luhenry

@luhenry luhenry commented May 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread container/.dockerignore Outdated
luhenry added a commit that referenced this pull request May 15, 2026
The file was deleted in the Python-to-Go cutover; listing it in
.dockerignore is dead. Caught in PR #23 review.

https://claude.ai/code/session_01Vda2TpwJnGYRYuw1Xg46Da
Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml
Replaces the Flask/Python ghfe and scheduler under container/ with a Go
reimplementation built around two binaries (cmd/ghfe and cmd/scheduler)
sharing internal/ (pgx-backed DB, GitHub App client, client-go pod ops,
fakes used by both cmd/ test suites). Behavior is preserved: webhook
signature verification, label/entity resolution, the demand-matching
algorithm, the 5-phase sync_workers loop, the 6-hour pod grace window,
the open-set WebhookOutcome log, and the /trace/* endpoints all work as
before. Dashboards (/usage, /history, /jobs, /workers, plus .json
variants) now live on the scheduler instead of ghfe.

Cutover details:
- Delete the Python tree (container/*.py, pyproject.toml,
  requirements-dev.txt) and the old container-go/ staging directory.
  The Go module path is github.com/riseproject-dev/riscv-runner-app/container.
- Move serverless.yml, package.json and package-lock.json into
  container/ so release.yml's serverless steps run with
  working-directory: container; the container image build context is
  already container/ and the deploy assets are excluded via
  container/.dockerignore.
- Rewrite README.md and container/README.md for the Go-only layout:
  drop the cutover section, refresh the architecture diagram, file
  table and HTTP routes, switch the Development section to
  go vet / gofmt / go test -race.

https://claude.ai/code/session_01Vda2TpwJnGYRYuw1Xg46Da
@luhenry luhenry marked this pull request as ready for review May 15, 2026 21:05
@luhenry luhenry merged commit fd8a3a6 into main May 15, 2026
4 checks passed
@luhenry luhenry deleted the go branch May 15, 2026 21:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant