mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 19:34:29 +00:00
* refactor(tooling): organize test runtime and maintenance owners * test(tooling): preserve relocated runtime fixture dependency edges * refactor(tooling): preserve xterm routing owner checks * ci(tooling): include routing owner in sparse checkout * test(tooling): preserve copied workflow dependency closures * fix(tooling): normalize hashed JSON assets in release parity * fix(tooling): distinguish asset aliases from literal references * fix(tooling): frame normalized asset reference payloads * fix(tooling): normalize decoded JSON asset references * refactor(tooling): organize build, CI and release owners * fix(tooling): align moved generator and workflow path contracts * fix(tooling): update generated plugin bundle owner banners * test(tooling): create relocated mobile verifier fixture directories * test(tooling): copy headless detector dependency closure * test(tooling): align native batch policy fixtures with owner path * fix(tooling): link moved reliability command to historical evidence * fix(tooling): preserve nested sandbox owners and canonical guide source * fix(tooling): target release version owners in checkout fixture
109 lines
3.5 KiB
JavaScript
109 lines
3.5 KiB
JavaScript
import { isUnitTestSupportSource } from './pr-code-change-scope.mjs'
|
|
|
|
const isProductSource = (file) => !/\.test\.tsx?$/.test(file) && !isUnitTestSupportSource(file)
|
|
|
|
const COMPONENTS = 'src/renderer/src/components/'
|
|
|
|
/** A route for product sources under any of `prefixes` to specs that only exercise that feature. */
|
|
function featureRoute(id, specs, prefixes) {
|
|
return {
|
|
id,
|
|
specs: specs.map((name) => `tests/e2e/${name}.spec.ts`),
|
|
matches: (file) => isProductSource(file) && prefixes.some((prefix) => file.startsWith(prefix))
|
|
}
|
|
}
|
|
|
|
// Feature areas whose specs the nightly suite alone used to select (gap audit, Oct 2026).
|
|
export const PR_FEATURE_AREA_E2E_SOURCE_ROUTES = [
|
|
featureRoute(
|
|
'feature.automations-ui',
|
|
['automation-prompt-disclosure'],
|
|
[`${COMPONENTS}automations/`]
|
|
),
|
|
featureRoute(
|
|
'feature.sparse-checkout',
|
|
['sparse-explorer-proof', 'sparse-preset-proof'],
|
|
[`${COMPONENTS}sparse/`]
|
|
),
|
|
featureRoute(
|
|
'feature.onboarding',
|
|
['onboarding', 'onboarding-language-catalog-retry'],
|
|
[`${COMPONENTS}onboarding/`]
|
|
),
|
|
featureRoute(
|
|
'feature.diff-notes',
|
|
[
|
|
'diff-note-delete',
|
|
'diff-note-draft',
|
|
'diff-note-edit',
|
|
'diff-note-layout',
|
|
'diff-note-line-range'
|
|
],
|
|
[`${COMPONENTS}diff-comments/`]
|
|
),
|
|
featureRoute(
|
|
'feature.floating-terminal',
|
|
[
|
|
'floating-terminal-switch-reveal',
|
|
'floating-terminal-tab-rename-focus',
|
|
'floating-workspace-pane-height'
|
|
],
|
|
[`${COMPONENTS}floating-terminal/`]
|
|
),
|
|
featureRoute(
|
|
'feature.dictation',
|
|
['voice-microphone-selection'],
|
|
[`${COMPONENTS}dictation/`, 'src/main/speech/']
|
|
),
|
|
featureRoute(
|
|
'feature.ai-vault',
|
|
['ai-vault-panel-search', 'ai-vault-session-delete'],
|
|
[
|
|
'src/main/ai-vault/',
|
|
'src/main/ai-vault-search/',
|
|
`${COMPONENTS}right-sidebar/ai-vault/accounts/AiVault`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/accounts/ai-vault-`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/panel/AiVault`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/scanning/AiVault`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/scanning/ai-vault-`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/scope/ai-vault-`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/search/AiVault`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/search/ai-vault-`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/session-actions/ai-vault-`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/session-list/AiVault`,
|
|
`${COMPONENTS}right-sidebar/ai-vault/session-list/ai-vault-`
|
|
]
|
|
),
|
|
featureRoute(
|
|
'feature.linear',
|
|
['linear-issue-view-persistence', 'linear-private-images', 'linear-url-workspace-entry'],
|
|
[
|
|
`${COMPONENTS}task-page/linear/`,
|
|
'src/renderer/src/store/slices/linear/',
|
|
'src/main/linear/',
|
|
'src/main/ipc/linear/',
|
|
'src/shared/linear/'
|
|
]
|
|
),
|
|
featureRoute(
|
|
'feature.jira',
|
|
['jira-panel-layout'],
|
|
[`${COMPONENTS}task-page/jira/`, 'src/main/jira/', 'src/main/ipc/jira/', 'src/shared/jira/']
|
|
),
|
|
featureRoute('feature.tasks-page', ['tasks-page'], [`${COMPONENTS}task-page/`]),
|
|
featureRoute(
|
|
'feature.project-groups',
|
|
['project-group-creation-visibility', 'project-group-manual-sort'],
|
|
['src/main/project-groups/', 'src/renderer/src/store/project-groups/']
|
|
),
|
|
featureRoute(
|
|
'feature.new-workspace',
|
|
[
|
|
'new-workspace-create-more',
|
|
'new-workspace-cross-project-dialog',
|
|
'new-workspace-linked-item-project-switch'
|
|
],
|
|
[`${COMPONENTS}new-workspace/`]
|
|
)
|
|
]
|