mirror of
https://github.com/stablyai/orca.git
synced 2026-10-25 00:03:59 +00:00
fix(mobile): stop republishing stale launch agent identity (#14244)
This commit is contained in:
@@ -24549,7 +24549,7 @@ describe('OrcaRuntimeService', () => {
|
||||
)
|
||||
})
|
||||
|
||||
it('derives remote OMP owner from live PTY metadata when the tab snapshot omits it', async () => {
|
||||
it('normalizes a remote OMP title without republishing omitted launch identity', async () => {
|
||||
const spawn = vi.fn().mockResolvedValue({ id: 'pty-omp' })
|
||||
const runtime = new OrcaRuntimeService(store)
|
||||
runtime.setPtyController({
|
||||
@@ -24623,10 +24623,10 @@ describe('OrcaRuntimeService', () => {
|
||||
expect(result.tabs[0]).toEqual(
|
||||
expect.objectContaining({
|
||||
type: 'terminal',
|
||||
title: '\u280b OMP',
|
||||
launchAgent: 'omp'
|
||||
title: '\u280b OMP'
|
||||
})
|
||||
)
|
||||
expect(result.tabs[0]).not.toHaveProperty('launchAgent')
|
||||
})
|
||||
|
||||
it('skips the foreground-process probe when the PTY launch agent is already known', async () => {
|
||||
|
||||
Reference in New Issue
Block a user