Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

476 B
Raw Blame
import { describe, expect, it } from 'vitest'
import { readRuntimeSourceStamp } from './runtime-source-env'

describe('runtime source env', () => {
  it('treats a partial or oversized stamp as no stamp', () => {
    expect(readRuntimeSourceStamp({ ORCA_RUNTIME_SOURCE_ID: 'only-id' })).toBeNull()
    expect(
      readRuntimeSourceStamp({
        ORCA_RUNTIME_SOURCE_ID: 'x'.repeat(4_097),
        ORCA_RUNTIME_SOURCE_INCARNATION: 'runtime'
      })
    ).toBeNull()
  })
})