Repository navigation
ci(#7751): start the Podman API socket with systemd in functional-tests - #7845
Conversation
Since the move to OpenShell 0.1.2, functional-tests fails at "Install OpenShell CLI": the gateway restarts in a loop with "no responsive Podman API socket found". OpenShell 0.1 pins the podman compute driver and checks the socket when the gateway starts; 0.0.116 did not. The workflow started the Podman API with a background `podman system service` from a step. action.yml, which e2e runs successfully on the same hosted runners, starts it with `systemctl --user start podman.socket` instead. Do the same here and wait until the socket answers. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
PR Summary by QodoStart the Podman user socket before functional tests
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Socket step lacks the CI review note
|
|
🤖 Review · Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…r answers If the readiness wait times out, print the systemd status and recent journal of podman.socket and podman.service before failing, as install-openshell.sh does for the gateway, so the failure can be diagnosed from the log. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 8:12 PM UTC · Completed 8:23 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $1.83 |
|
Risk Assessment: moderate (2/5) DetailsSmall CI workflow change (1 file, 23 lines) touching a protected path with moderate recent churn and multi-author history on the file, no linked issue for Tier 3; overall a routine, well-tested CI fix warranting standard review. |
ReviewFindingsMedium
|
|
Correction to "re-running failed jobs is enough" above: a re-run replays the workflow as it was resolved for the PR's original |
…iour fix The behaviour tests build fullsend at the version this go.mod pins. The pin was v0.43.1-0.20260916094335-b108ba60479e, from 2026-09-16. That fullsend predates the OpenShell 0.1 behaviour fix, so behaviour has failed on main since the OpenShell 0.1.2 port (#1513): the scenario's fullsend.yaml run concludes with a failure. Pin fullsend main d8cbb9744, which carries: - fullsend-ai/fullsend#7847: unblock behaviour on OpenShell 0.1, retry profile-not-found. - fullsend-ai/fullsend#7845: start the Podman API socket with systemd. - fullsend-ai/fullsend#7840: always recreate a pool repo after reset instead of trusting a stale GetRepo success, so allocation cannot skip recreation and then 404 during `fullsend github setup`. - fullsend-ai/fullsend#7865: retry the GitHub pre-flight on EOF and connection reset. The behaviour suite builds both the install driver and cmd/fullsend from this pin, so both flake fixes reach agents CI. go.sum gains only the two fullsend lines, as the previous bump did. `go mod tidy` against the published module cannot resolve fullsend's nested internal/mintcore module, because its replace directive applies only inside fullsend. The behaviour workflow already replaces both modules with the pinned checkout and tidies a temporary modfile. That path was run locally at d8cbb9744: tidy succeeds, the behaviour package compiles and vets with the behaviour tag, and cmd/fullsend builds. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
Summary
Follow-up to #7233. Since the move to OpenShell 0.1.2,
functional-testsfails at Install OpenShell CLI: the gateway restarts in a loop withno responsive Podman API socket found; set OPENSHELL_PODMAN_SOCKET or configure socket_path(for examplemainrun 36621388722). OpenShell 0.1 pins the podman compute driver and checks the socket when the gateway starts; 0.0.116 did not.The workflow started the Podman API with a background
podman system servicefrom a step.action.yml, whiche2eruns successfully on the same hosted runners, starts it withsystemctl --user start podman.socket. This does the same and waits until the socket answers.Testing
actionlintpasses.workflow_dispatchof this branch'sfunctional-tests(run 36623063153): Install OpenShell CLI passes and the gateway starts.functional-testsrunsmain's workflow (pull_request_target), so it keeps failing until this merges. It is not a required check.The same fix for agents: fullsend-ai/agents#1557.