diff --git a/apps/web/src/components/CommandPalette.logic.ts b/apps/web/src/components/CommandPalette.logic.ts
index ed758830f4..6491db8b99 100644
--- a/apps/web/src/components/CommandPalette.logic.ts
+++ b/apps/web/src/components/CommandPalette.logic.ts
@@ -175,7 +175,7 @@ export type BuildThreadActionItemsThread = Pick<
| "id"
| "modelSelection"
| "projectId"
- | "session"
+ | "runtime"
| "title"
| "worktreePath"
> & {
diff --git a/apps/web/src/components/CommandPalette.tsx b/apps/web/src/components/CommandPalette.tsx
index 09c12e88cf..c2a1bc4078 100644
--- a/apps/web/src/components/CommandPalette.tsx
+++ b/apps/web/src/components/CommandPalette.tsx
@@ -1047,7 +1047,7 @@ function OpenCommandPaletteDialog(props: {
renderTrailingContent: (thread) => ,
renderDescription: (thread, { projectTitle }) => {
const modelInstanceId =
- thread.session?.providerInstanceId ?? thread.modelSelection.instanceId;
+ thread.runtime?.providerInstanceId ?? thread.modelSelection.instanceId;
const providerEntry =
providerEntryByEnvironmentAndInstanceId.get(
`${thread.environmentId}:${modelInstanceId}`,
@@ -1063,7 +1063,7 @@ function OpenCommandPaletteDialog(props: {
isCurrent={thread.id === activeThreadId}
driverKind={providerEntry?.driverKind ?? null}
providerDisplayName={
- thread.session?.providerName ?? providerEntry?.displayName ?? modelInstanceId
+ thread.runtime?.providerName ?? providerEntry?.displayName ?? modelInstanceId
}
/>
);
diff --git a/apps/web/src/components/pullRequest/usePullRequestActions.ts b/apps/web/src/components/pullRequest/usePullRequestActions.ts
index 43ab130a50..8ae6b14bf0 100644
--- a/apps/web/src/components/pullRequest/usePullRequestActions.ts
+++ b/apps/web/src/components/pullRequest/usePullRequestActions.ts
@@ -31,6 +31,9 @@ const ACTION_SUCCESS_LABELS: Record = {
draft: "Converted to draft",
close: "Pull request closed",
reopen: "Pull request reopened",
+ "update-branch": "Branch updated with the base branch",
+ "enable-auto-merge": "Auto-merge enabled",
+ "disable-auto-merge": "Auto-merge disabled",
};
/** Said as the thing that did not happen, rather than as the operation that returned an error. */
@@ -40,6 +43,9 @@ const ACTION_FAILURE_LABELS: Record = {
draft: "Could not convert this to a draft",
close: "Could not close this pull request",
reopen: "Could not reopen this pull request",
+ "update-branch": "Could not update this branch",
+ "enable-auto-merge": "Could not enable auto-merge",
+ "disable-auto-merge": "Could not disable auto-merge",
};
/** What to try, for the times the host says only that it refused. */
@@ -51,6 +57,11 @@ const ACTION_FAILURE_HINTS: Record = {
close: "The host refused it. Check that you have write access, or that you opened it.",
reopen:
"The host refused it. Check that you have write access, and that the branch still exists.",
+ "update-branch":
+ "The host refused it. Check that you have write access, and that the base branch has not diverged in a way the host cannot merge.",
+ "enable-auto-merge":
+ "The host refused it. Check that auto-merge is enabled for this repository and that you have write access.",
+ "disable-auto-merge": "The host refused it. Check that you have write access to this repository.",
};
/**