Skip to content

fix(container): accept github_installation_id in session creation - #23

Merged
mariuspruvot merged 1 commit into
mainfrom
fix/e2e-qa
Apr 19, 2026
Merged

fix(container): accept github_installation_id in session creation#23
mariuspruvot merged 1 commit into
mainfrom
fix/e2e-qa

Conversation

@mariuspruvot

Copy link
Copy Markdown
Owner

Summary

  • Session creation endpoint (POST /containers/sessions) expected an internal UUID for installation_id, but the frontend sends the github_installation_id integer from URL params
  • Changed CreateSessionRequest.installation_id from uuid.UUID to int
  • Router now uses get_installation_by_github_id() for lookup, consistent with all other installation routes
  • Missing DB migration (post_results_to_pr column) also discovered and applied during E2E QA

Test plan

  • make lint passes (ruff + eslint)
  • make test passes (270/272, 2 known flaky dispatcher tests)
  • Start a session from the UI (click Challenge Me on a PR) -- should create container successfully
  • Verify session lifecycle: first turn, multi-turn, stop all work

The session creation endpoint expected an internal UUID for
installation_id, but the frontend sends the github_installation_id
integer from the URL. Changed CreateSessionRequest.installation_id
to int and use get_installation_by_github_id() for lookup, consistent
with all other installation routes.
@helprs-local-mariuspruvot

Copy link
Copy Markdown

helPRs session created for this PR.

Skill: challenge-me | Open session

@mariuspruvot
mariuspruvot merged commit 5c3c165 into main Apr 19, 2026
8 of 10 checks passed
@mariuspruvot
mariuspruvot deleted the fix/e2e-qa branch July 30, 2026 16:16
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