-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Expected Behavior
The example works out of the box on a Github Enterprise 3.19.1 server based on this statement: https://github.com/actions/scaleset/blob/main/README.md?plain=1#L154
Observed Behavior
The scaleset registers just fine, but is never assigned any jobs. Jobs that match the tag just sit in available indefinitely. Logs look like below:
time=2026-02-18T13:49:31.736-05:00 level=INFO source=/home/wacek/go/pkg/mod/github.com/actions/scaleset@v0.1.0/examples/dockerscaleset/main.go:112 msg="Pulling runner image" image=ghcr.io/actions/actions-runner:latest
time=2026-02-18T13:49:32.922-05:00 level=INFO source=/home/wacek/go/pkg/mod/github.com/actions/scaleset@v0.1.0/examples/dockerscaleset/main.go:143 msg="Initializing listener"
time=2026-02-18T13:49:32.923-05:00 level=INFO source=/home/wacek/go/pkg/mod/github.com/actions/scaleset@v0.1.0/examples/dockerscaleset/main.go:169 msg="Starting listener"
time=2026-02-18T13:49:32.923-05:00 level=INFO source=/home/wacek/go/pkg/mod/github.com/actions/scaleset@v0.1.0/listener/listener.go:117 msg="Handling initial session statistics" listener.totalAssignedJobs=0
time=2026-02-18T13:49:32.923-05:00 level=INFO source=/home/wacek/go/pkg/mod/github.com/actions/scaleset@v0.1.0/listener/listener.go:134 msg="Getting next message" listener.lastMessageID=0
time=2026-02-18T13:50:22.931-05:00 level=INFO source=/home/wacek/go/pkg/mod/github.com/actions/scaleset@v0.1.0/listener/listener.go:134 msg="Getting next message" listener.lastMessageID=0
time=2026-02-18T13:50:53.838-05:00 level=INFO source=/home/wacek/go/pkg/mod/github.com/actions/scaleset@v0.1.0/listener/listener.go:134 msg="Getting next message" listener.lastMessageID=1
Suspected Issue
After much headscratching, I found some indications of something called "acquiring jobs", and a search in the scaleset repo turned up this PR: #4. I pulled the code locally and reimplemented the acquire logic and boom all of a sudden GHES works just fine.
Reactions are currently unavailable