GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(client-runtime): keep scoped key implementation private (#9955) · henrik092/t3code@3ca9e12

This repository was archived by the owner on Nov 2, 2026. It is now read-only.

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/client-runtime/src/environment
    • knownEnvironment.test.ts
    • scoped.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/client-runtime/src/environment/knownEnvironment.test.ts‎

Copy file name to clipboardExpand all lines: packages/client-runtime/src/environment/knownEnvironment.test.ts
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
parseScopedProjectKey,
77
parseScopedThreadKey,
88
scopedProjectKey,
9-
scopedRefKey,
109
scopedThreadKey,
1110
scopeProjectRef,
1211
scopeThreadRef,
@@ -40,8 +39,6 @@ describe("scoped refs", () => {
4039
const threadRef = scopeThreadRef(environmentId, ThreadId.make("thread-1"));
4140

4241
it("builds stable scoped project and thread keys", () => {
43-
expect(scopedRefKey(projectRef)).toBe("environment-test:project-1");
44-
expect(scopedRefKey(threadRef)).toBe("environment-test:thread-1");
4542
expect(scopedProjectKey(projectRef)).toBe("environment-test:project-1");
4643
expect(scopedThreadKey(threadRef)).toBe("environment-test:thread-1");
4744
});
Collapse file

‎packages/client-runtime/src/environment/scoped.ts‎

Copy file name to clipboardExpand all lines: packages/client-runtime/src/environment/scoped.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function scopeThreadRef(
2222
return { environmentId, threadId };
2323
}
2424

25-
export function scopedRefKey(ref: ScopedProjectRef | ScopedThreadRef): string {
25+
function scopedRefKey(ref: ScopedProjectRef | ScopedThreadRef): string {
2626
const localId = "projectId" in ref ? ref.projectId : ref.threadId;
2727
return `${ref.environmentId}:${localId}`;
2828
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.