mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 08:02:28 +00:00
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:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user