chore: clear Effect language service suggestions (#13536)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
3e2370fbbf
commit
568c9bc4d0
174 files changed
+1154
-1313
No files matched your search
@@ -155,8 +155,9 @@ describe("GitHubCli.layer", () => {
|
||||
capacity: 2,
|
||||
timeToLive: "1 minute",
|
||||
});
|
||||
const results = yield* Effect.all(
|
||||
["github.com", "github.example.test"].map((host, index) =>
|
||||
const results = yield* Effect.forEach(
|
||||
["github.com", "github.example.test"],
|
||||
(host, index) =>
|
||||
Cache.get(cache, host).pipe(
|
||||
Effect.provideService(GitHubCli.PinnedGitHubCredential, {
|
||||
host,
|
||||
@@ -164,7 +165,6 @@ describe("GitHubCli.layer", () => {
|
||||
credentialFingerprint: `fingerprint-${index}`,
|
||||
}),
|
||||
),
|
||||
),
|
||||
{ concurrency: 2 },
|
||||
);
|
||||
expect(results.map((result) => result.stdout)).toEqual(["credential-0", "credential-1"]);
|
||||
|
||||
@@ -289,14 +289,14 @@ export const makeWithProviders = Effect.fn("makeSourceControlProviderRegistryWit
|
||||
get,
|
||||
resolveHandle,
|
||||
resolve: (input) => resolveHandle(input).pipe(Effect.map((handle) => handle.provider)),
|
||||
discover: Effect.all(
|
||||
discoverySpecs.map((spec) =>
|
||||
discover: Effect.forEach(
|
||||
discoverySpecs,
|
||||
(spec) =>
|
||||
probeSourceControlProvider({
|
||||
spec,
|
||||
process,
|
||||
cwd: config.cwd,
|
||||
}),
|
||||
),
|
||||
{ concurrency: "unbounded" },
|
||||
),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user