Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion apps/server/src/vcs/VcsStatusBroadcaster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ describe("VcsStatusBroadcaster", () => {
}).pipe(Effect.provide(layerTestFor(state)), Effect.scoped);
});

it.effect("stops the remote poller after the last stream subscriber disconnects", () => {
it.effect("releases remote demand while passive observers remain", () => {
const state = {
currentLocalStatus: baseLocalStatus,
currentRemoteStatus: baseRemoteStatus,
Expand Down Expand Up @@ -1086,6 +1086,16 @@ describe("VcsStatusBroadcaster", () => {
const secondSnapshot = yield* Deferred.make<VcsStatusStreamEvent>();
const firstScope = yield* Scope.make();
const secondScope = yield* Scope.make();
const passiveSnapshot = yield* Deferred.make<VcsStatusStreamEvent>();
yield* Stream.runForEach(
broadcaster.streamStatus({ cwd: "/repo", includeRemote: false }),
(event) =>
event._tag === "snapshot"
? Deferred.succeed(passiveSnapshot, event).pipe(Effect.ignore)
: Effect.void,
).pipe(Effect.forkScoped);
yield* Deferred.await(passiveSnapshot);
assert.equal(state.remoteStatusCalls, 0);
yield* Stream.runForEach(broadcaster.streamStatus({ cwd: "/repo" }), (event) =>
event._tag === "snapshot"
? Deferred.succeed(firstSnapshot, event).pipe(Effect.ignore)
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/modelSelection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
import { ModelEsque } from "./components/chat/providerIconUtils";
import {
type ProviderInstanceEntry,
// Coder: pickers and fallbacks only offer Codex, Claude, and Pi instances.
// Coder: pickers and fallbacks only offer Codex, Claude, Pi, and Kilo Code instances.
deriveCoderProviderInstanceEntries,
NO_PROVIDER_MODEL_SELECTION,
resolveDefaultProviderModelSelection,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/providerInstances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function deriveProviderInstanceEntries(

/** Instance ids repeat across environments; lookups must stay scoped. */
/**
* Coder: new selections are limited to Codex, Claude, and Pi instances, built-in or added in
* Coder: new selections are limited to Codex, Claude, Pi, and Kilo Code instances, built-in or added in
* Settings → Providers. Keep the broader projection above for decoding historical upstream
* data, but do not surface other providers in interactive pickers.
*/
Expand Down
9 changes: 7 additions & 2 deletions docs/internals/coder-only.md
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,9 @@ checks that every name here still exists and that every modified upstream file i
section has only the Linked environments switch (no guest links or Simlock row); About has no
mobile app row, privacy link, or update track switch.
- Search carries `sourceControlHostSearchItems` but not `SOURCE_CONTROL_HOST_LABELS`; the MR link
target row lives on Diffs with GitLab search terms.
target row lives on Diffs with GitLab search terms. Agent-credit removal applies only to GitHub
merges, so `ProjectDefaultsSettings.tsx` has no `removeAgentCreditsOnMerge` row and search has
no "Remove agent credits when merging" item.
- Appearance's **Add theme** is `ThemeImportDialog` without the remote catalog or desktop picker.
- Each workspace row carries `EnvironmentIconMenu`; the helper reports no `platform.machine`.
`environmentTransportLabel` names every workspace "Coder workspace", so
Expand Down Expand Up @@ -1064,7 +1066,10 @@ checks that every name here still exists and that every modified upstream file i
the GitLab-only registry, `ProjectSettingsPanel` keeps `projects.getConfig` pending and drops the
fallback-model search target, `ExpandedImageDialog` drops the SnapShot accessibility case, and
`ProviderSettingsForm`, `ProviderModelPicker.composition`, and `ReopenClosedViewShortcut` drop
secret-source, provider, and preview cases. The fork-only `hooks/useThreadActionMenu.test.tsx`
secret-source, provider, and preview cases, `ChatHeader` mocks `CoderWorkspaceLatency`, and
`PullRequestStackMenu` drops the GitHub CLI refusal case. `modelSelection.test.ts` runs
upstream's OpenCode instance cases on Claude instances and drops the Antigravity alias case
(#27859). The fork-only `hooks/useThreadActionMenu.test.tsx`
keeps upstream's deleted hook test.

## Cut surfaces
Expand Down