fix(8321): the remote is looked up beside a marker only when the marker sent the project, not again after it resolved the project itself
CI & Build / TypeScript typecheck (push) Successful in 36s
CI & Build / Plugin hooks (push) Successful in 16s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m23s
CI & Build / integration (push) Successful in 2m7s
CI & Build / Build & push image (push) Successful in 21s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 13:29:17 -05:00
co-authored by Claude Opus 5.5
parent f4d6486255
commit ccee6aeffa
+1 -1
View File
@@ -127,7 +127,7 @@ async def session_context():
# A marker named the project and the hook sent the remote beside it: look
# the remote up too, so a disagreement between the two can be said.
repo_project_id = 0
if project_id and repo:
if request.args.get("project_id") and repo:
repo_project_id = await repo_bindings_svc.resolve_project(g.user.id, repo) or 0
result = await plugin_ctx_svc.build_session_context(
g.user.id, project_id, unbound_repo=unbound_repo,