fix(lint): merge duplicate process-table-snapshot imports (#17724)

main is red on `static analysis`: oxlint's code-quality pass runs with
--deny-warnings, and agent-foreground-process-batch.test.ts imports
'../../shared/process-table-snapshot' twice (lines 5 and 13), tripping
"Modules should not be imported multiple times in the same file".

Introduced by #17525. It blocks every open PR, none of which can go green
until this lands.
This commit is contained in:
Neil
2026-08-31 13:04:40 -07:00
committed by GitHub
parent 9477b5fcbb
commit dc5db4b01c
@@ -1,16 +1,14 @@
import { describe, expect, it } from 'vitest'
import {
buildProcessTableIndex,
parseStrictProcessTableRows,
ProcessTableCaptureError
ProcessTableCaptureError,
type ProcessTableIndexStats
} from '../../shared/process-table-snapshot'
import {
resolveAgentForegroundProcessesBatch,
resolveAgentForegroundProcessesFromIndex
} from './agent-foreground-process'
import {
buildProcessTableIndex,
type ProcessTableIndexStats
} from '../../shared/process-table-snapshot'
describe('strict process-table evidence parser', () => {
it('extracts pgid/tpgid while retaining command spacing', () => {