Skip to content

Commit 13e8aff

Browse files
committed
fix: resolve CI test failures
- Fix JSON syntax error in fork-features.json (remove leftover AskQuestion feature after merge) - Update E2E test to use correct button label 'Toggle review' instead of 'Toggle file tree'
1 parent af0838d commit 13e8aff

2 files changed

Lines changed: 1 addition & 78 deletions

File tree

packages/app/e2e/file-tree.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { test, expect } from "./fixtures"
33
test("file tree can expand folders and open a file", async ({ page, gotoSession }) => {
44
await gotoSession()
55

6-
const toggle = page.getByRole("button", { name: "Toggle file tree" })
6+
const toggle = page.getByRole("button", { name: "Toggle review" })
77
const treeTabs = page.locator('[data-component="tabs"][data-variant="pill"][data-scope="filetree"]')
88

99
if ((await toggle.getAttribute("aria-expanded")) !== "true") await toggle.click()

script/sync/fork-features.json

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -183,83 +183,6 @@
183183
"files": ["packages/opencode/src/file/ripgrep.ts", "packages/opencode/test/file/ripgrep.test.ts"]
184184
},
185185
{
186-
<<<<<<< HEAD
187-
"pr": 5958,
188-
"title": "AskQuestion tool for user input",
189-
"author": "iljod",
190-
"status": "open",
191-
"description": "Interactive tool that allows AI to pause and solicit structured feedback via TUI/web wizard with single/multi-select and confirm dialogs. Fixes race conditions from PR 5563. Enabled by default. v1.1.4 improvements: callID validation, fallback scan detection for delayed messages, getMetadata/findInParts helpers.",
192-
"files": [
193-
"packages/opencode/src/askquestion/index.ts",
194-
"packages/opencode/src/tool/askquestion.ts",
195-
"packages/opencode/src/tool/askquestion.txt",
196-
"packages/opencode/src/cli/cmd/tui/ui/dialog-askquestion.tsx",
197-
"packages/opencode/src/cli/cmd/tui/routes/session/index.tsx",
198-
"packages/opencode/src/server/server.ts",
199-
"packages/opencode/src/session/prompt.ts",
200-
"packages/opencode/src/config/config.ts",
201-
"packages/opencode/src/tool/registry.ts",
202-
"packages/app/src/components/askquestion-wizard.tsx",
203-
"packages/app/src/pages/session.tsx"
204-
],
205-
"criticalCode": [
206-
{
207-
"file": "packages/opencode/src/askquestion/index.ts",
208-
"description": "AskQuestion namespace with pending question registry and answer handling",
209-
"markers": ["export namespace AskQuestion", "pendingQuestions", "respond", "cancel"]
210-
},
211-
{
212-
"file": "packages/opencode/src/tool/askquestion.ts",
213-
"description": "Tool definition with Zod schema for 1-6 questions and callID validation",
214-
"markers": ["AskQuestionTool", "questions.min(1).max(6)", "if (!callID)", "ctx.callID"]
215-
},
216-
{
217-
"file": "packages/opencode/src/cli/cmd/tui/ui/dialog-askquestion.tsx",
218-
"description": "TUI dialog component for answering questions with keyboard navigation",
219-
"markers": ["DialogAskQuestion", "onSubmit", "onCancel"]
220-
},
221-
{
222-
"file": "packages/opencode/src/cli/cmd/tui/routes/session/index.tsx",
223-
"description": "Detection of pending askquestion with callID guard and fallback scan",
224-
"markers": [
225-
"pendingAskQuestionFromSync",
226-
"DialogAskQuestion",
227-
"if (!toolPart.callID) continue",
228-
"getMetadata",
229-
"findInParts"
230-
]
231-
},
232-
{
233-
"file": "packages/opencode/src/server/server.ts",
234-
"description": "API endpoints for askquestion respond and cancel",
235-
"markers": ["/askquestion/respond", "/askquestion/cancel", "AskQuestion.respond", "AskQuestion.cancel"]
236-
},
237-
{
238-
"file": "packages/opencode/src/tool/registry.ts",
239-
"description": "AskQuestionTool registration (enabled by default)",
240-
"markers": ["AskQuestionTool"]
241-
},
242-
{
243-
"file": "packages/app/src/components/askquestion-wizard.tsx",
244-
"description": "Web app wizard component with keyboard navigation and mobile support",
245-
"markers": ["AskQuestionWizard", "AskQuestionQuestion", "handleKeyDown", "handleSubmit"]
246-
},
247-
{
248-
"file": "packages/app/src/pages/session.tsx",
249-
"description": "Web app detection with callID guard and fallback scan for delayed messages",
250-
"markers": [
251-
"pendingAskQuestion",
252-
"AskQuestionWizard",
253-
"if (!toolPart.callID) continue",
254-
"getMetadata",
255-
"findInParts"
256-
]
257-
}
258-
]
259-
},
260-
{
261-
=======
262-
>>>>>>> shuvcode-dev
263186
"pr": 5917,
264187
"title": "Draggable sidebar resize",
265188
"author": "agustif",

0 commit comments

Comments
 (0)