mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 09:37:33 +00:00
ci: reuse Windows hook builds and shorten test setup and shutdown (#29439)
* ci: remove Windows build and persistence test overhead * ci: collect unit phase diagnostics during PR checks * test(ci): seed hook reuse fixture from the canonical prebuild The hook reuse regression first built into a missing private --output, so it always reached Cargo (74s warm on Windows). Build through the default output instead, which reuses a warm canonical prebuild, then copy its executable and fingerprint into the private fixture root. * fix(lint): clear inherited max-lines and broad object tab parameter after main merge Combine the duplicate shared/execution-host imports in runtime-host-services (301 -> 300 lines) and type the overlap test's tab mapper with the RuntimeMobileSessionClientTab owner type instead of object. * fix(ci): align inherited runtime and workflow contracts * test: establish changed runtime probe signatures deterministically * test: await asynchronous daemon profile cleanup * test: shut down owned daemons before deleting profiles * test: clean up oracle daemons during final app close * test: recognize verified Linux zombie exit during daemon teardown * fix: preserve folder SSH ownership when project groups conflict
This commit is contained in:
@@ -130,7 +130,6 @@ describe('OpenCodeHookService buildPtyEnv / clearPty round-trip', () => {
|
||||
expect(existsSync(pluginPath)).toBe(true)
|
||||
// Sanity-check the file has plugin source, not a stray write.
|
||||
const pluginSource = readFileSync(pluginPath, 'utf8')
|
||||
expect(pluginSource).toContain('OrcaOpenCodeStatusPlugin')
|
||||
expect(pluginSource).toContain('messageID: part.messageID')
|
||||
// Legacy attach loads an object TUI entry; the server export stays callable.
|
||||
const tuiEntry = join(
|
||||
@@ -139,9 +138,6 @@ describe('OpenCodeHookService buildPtyEnv / clearPty round-trip', () => {
|
||||
'orca-opencode-status-tui',
|
||||
'tui.js'
|
||||
)
|
||||
expect(readFileSync(tuiEntry, 'utf8')).toContain('tui: setupLegacyOpenCodeTui')
|
||||
expect(readFileSync(tuiEntry, 'utf8')).toContain('setup: setupOpenCode2Status')
|
||||
expect(pluginSource).not.toContain('export default { id:')
|
||||
const past = new Date('2020-01-01T00:00:00Z')
|
||||
utimesSync(tuiEntry, past, past)
|
||||
service.buildPtyEnv(daemonSessionId)
|
||||
|
||||
Reference in New Issue
Block a user