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(core): isolate project adoption fixture (#46009) · jinhuang712/opencode@e76a194

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

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/core/test
    • session-create.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/core/test/session-create.test.ts‎

Copy file name to clipboardExpand all lines: packages/core/test/session-create.test.ts
+12-1Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,17 @@ const liveIt = testEffect(
6767
],
6868
),
6969
)
70+
const projectIt = testEffect(
71+
AppNodeBuilder.build(
72+
LayerNode.group([Database.node, Bus.node, Project.node, SessionProjector.node, SessionStore.node, Session.node]),
73+
[
74+
[Bus.node, Bus.configured({ persist: true })],
75+
// Project adoption needs plain-prompt admission, not live plugin/provider startup.
76+
[LocationServiceMap.node, promptLocationLayer],
77+
[SessionExecution.node, SessionExecution.noopLayer],
78+
],
79+
),
80+
)
7081
const location = Location.Ref.make({ directory: AbsolutePath.make("/project") })
7182
const id = Session.ID.create()
7283

@@ -119,7 +130,7 @@ describe("Session.create", () => {
119130
),
120131
)
121132

122-
liveIt.live("follows the directory's project identity established after creation", () =>
133+
projectIt.live("follows the directory's project identity established after creation", () =>
123134
withTmp((directory) =>
124135
Effect.gen(function* () {
125136
const session = yield* Session.Service

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.