mirror of
https://github.com/stablyai/orca.git
synced 2026-09-21 16:02:20 +00:00
Exclude Windows from release evidence and update mock agent fields (#5949)
- Remove Windows from the release evidence platform matrix check because Windows release evidence is temporarily paused due to CI runner PTY readiness. - Add scenarioTitle as taskTitle and a display name to mock agent objects to satisfy updated runtime row shapes in mobile lag scripts.
This commit is contained in:
@@ -243,6 +243,8 @@ describe('Electron runtime package contract', () => {
|
||||
const releaseEvidenceJob = releaseWorkflow.jobs['terminal-rendering-release-evidence']
|
||||
const releaseBuildNeeds = releaseWorkflow.jobs.build.needs
|
||||
const publishReleaseNeeds = releaseWorkflow.jobs['publish-release'].needs
|
||||
// Why: Windows release evidence is temporarily paused for CI runner PTY readiness.
|
||||
const releaseEvidencePlatforms = ['linux', 'mac']
|
||||
|
||||
expect(packageScripts['test:e2e:terminal-rendering-golden']).toContain(
|
||||
'@terminal-rendering-golden'
|
||||
@@ -280,7 +282,7 @@ describe('Electron runtime package contract', () => {
|
||||
expect(releaseEvidenceJob['continue-on-error']).toBe(true)
|
||||
expect(
|
||||
releaseEvidenceJob.strategy.matrix.include.map(({ platform }) => platform).sort()
|
||||
).toEqual(['linux', 'mac', 'windows'])
|
||||
).toEqual(releaseEvidencePlatforms)
|
||||
expect(releaseEvidenceJob.steps.map((step) => step.run ?? '')).toContain(
|
||||
'xvfb-run --auto-servernum env SKIP_BUILD=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm run test:e2e:terminal-rendering-release-evidence'
|
||||
)
|
||||
|
||||
@@ -85,14 +85,16 @@ export function createMockWorktrees(
|
||||
}
|
||||
|
||||
function createMockAgent(index: number, now: number): RuntimeWorktreeAgentRow {
|
||||
const scenarioTitle = `Investigate mobile lag scenario ${index + 1}`
|
||||
|
||||
return {
|
||||
paneKey: `agent-${index}`,
|
||||
parentPaneKey: null,
|
||||
state: index % 12 === 0 ? 'waiting' : 'working',
|
||||
agentType: index % 3 === 0 ? 'claude' : 'codex',
|
||||
prompt: `Investigate mobile lag scenario ${index + 1}`,
|
||||
taskTitle: null,
|
||||
displayName: null,
|
||||
prompt: scenarioTitle,
|
||||
taskTitle: scenarioTitle,
|
||||
displayName: `Mobile lag ${index + 1}`,
|
||||
lastAssistantMessage: index % 6 === 0 ? 'Running focused checks' : null,
|
||||
toolName: null,
|
||||
toolInput: null,
|
||||
|
||||
Reference in New Issue
Block a user