Open Source AI Platform - AI Chat with advanced features that works with every LLM
This report presents the forensic synthetic code analysis of onyx-dot-app/onyx, a Python project with 31,359 GitHub stars. SynthScan v2.0 examined 1,139,243 lines of code across 6259 source files, recording 17491 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 20.8 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 17491 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/tests/e2e/connectors/federated_slack.spec.ts | 10 | async function createFederatedSlackConnector(page: Page) { | CODE |
| LOW | web/tests/e2e/connectors/federated_slack.spec.ts | 73 | async function deleteFederatedSlackConnector(page: Page) { | CODE |
| LOW | web/tests/e2e/chat/share_chat.spec.ts | 6 | async function sendMessageAndWaitForChat(page: Page, message: string) { | CODE |
| LOW | web/tests/e2e/chat/chat_message_rendering.spec.ts | 351 | async function screenshotToolbarButtonHoverStates( | CODE |
| LOW | web/tests/e2e/chat/scroll_behavior.spec.ts | 165 | async function getElementPositionInContainer( | CODE |
| LOW | web/tests/e2e/chat/llm_runtime_selection.spec.ts | 78 | async function sendMessageAndCapturePayload( | CODE |
| LOW | web/tests/e2e/chat/file_preview_modal.spec.ts | 77 | async function sendMessageWithMockResponse( | CODE |
| LOW | web/tests/e2e/admin/disable_default_agent.spec.ts | 41 | async function setDisableDefaultAssistantSetting( | CODE |
| LOW | web/tests/e2e/admin/llm_provider_setup.spec.ts | 65 | async function getAdminLLMProviderResponse(page: Page) { | CODE |
| LOW | web/tests/e2e/admin/llm_provider_setup.spec.ts | 95 | async function createPublicProviderWithModels( | CODE |
| LOW | web/tests/e2e/admin/llm_provider_setup.spec.ts | 121 | async function navigateToAdminLlmPageFromChat(page: Page): Promise<void> { | CODE |
| LOW | web/tests/e2e/admin/llm_provider_setup.spec.ts | 137 | async function isModelVisibleInChatProviders( | CODE |
| LOW | web/tests/e2e/admin/llm_provider_setup.spec.ts | 157 | async function expectModelVisibilityInChatProviders( | CODE |
| LOW | web/tests/e2e/admin/llm_provider_setup.spec.ts | 169 | async function getModelCountInChatSelector( | CODE |
| LOW | …ts/e2e/admin/code-interpreter/code_interpreter.spec.ts | 67 | async function clickDisconnectIconButton(page: Page) { | CODE |
| LOW | …/tests/e2e/admin/index-settings/index_settings.spec.ts | 48 | async function stageNonCurrentSelfHostedModel(page: Page): Promise<void> { | CODE |
| LOW | web/tests/e2e/admin/discord-bot/fixtures.ts | 107 | function createMockRegisteredGuild(id: number): MockGuild { | CODE |
| LOW | …tests/e2e/admin/connector/permission-sync-tabs.spec.ts | 132 | async function mockSyncConnectorEndpoints( | CODE |
| LOW | web/tests/e2e/utils/mcpServer.ts | 291 | export async function startMcpGoogleOAuthServer( | CODE |
| LOW | web/tests/e2e/utils/chatActions.ts | 4 | export async function verifyDefaultAgentIsChosen(page: Page) { | CODE |
| LOW | web/tests/e2e/utils/chatActions.ts | 18 | export async function navigateToAgentInHistorySidebar( | CODE |
| LOW | web/tests/e2e/utils/chatActions.ts | 70 | export async function selectModelFromInputPopover( | CODE |
| LOW | web/tests/e2e/utils/agentUtils.ts | 79 | export async function ensureImageGenerationEnabled(page: Page): Promise<void> { | CODE |
| LOW | web/tests/e2e/utils/chatStream.ts | 77 | export async function sendMessageAndCaptureStreamPackets( | CODE |
| LOW | web/lib/opal/src/time.ts | 117 | export function humanReadableFormatWithTime(datetimeString: string): string { | CODE |
| LOW | web/lib/opal/src/time.ts | 218 | export function getSecondsUntilExpiration(expiry: Date): number { | CODE |
| LOW | …src/components/buttons/line-item-button/components.tsx | 69 | function guardNestedInteractiveClick( | CODE |
| LOW | …lib/opal/src/components/table/hooks/useColumnWidths.ts | 208 | function createSplitterResizeHandler( | CODE |
| LOW | web/src/sections/sidebar/ChatButton.tsx | 369 | async function handleCreateProjectAndMove(projectName: string) { | CODE |
| LOW | web/src/sections/document-sidebar/DocumentsSidebar.tsx | 71 | function ChatDocumentDisplayWrapper({ | CODE |
| LOW | web/src/sections/input/AppInputBar.tsx | 560 | function handleKeyDownForPromptShortcuts( | CODE |
| LOW | web/src/sections/modals/UnsavedChangesModal.tsx | 31 | export function UnsavedChangesModalContent({ | CODE |
| LOW | …ctions/modals/languageModels/OpenAICompatibleModal.tsx | 41 | function OpenAICompatibleModalInternals({ | CODE |
| LOW | web/src/sections/modals/languageModels/utils.ts | 140 | export function mergeFetchedModelConfigurations( | CODE |
| LOW | …c/sections/modals/languageModels/LiteLLMProxyModal.tsx | 42 | function LiteLLMProxyModalInternals({ | CODE |
| LOW | …ions/modals/languageModels/NebiusTokenfactoryModal.tsx | 44 | function NebiusTokenfactoryModalInternals({ | CODE |
| LOW | …sections/modals/skills/ImportSkillsFromGitHubModal.tsx | 50 | export default function ImportSkillsFromGitHubModal({ | CODE |
| LOW | …sections/modals/skills/ImportSkillsFromGitHubModal.tsx | 131 | export function ImportSkillsFromGitHubModalView({ | CODE |
| LOW | …sections/knowledge/agent-knowledge/KnowledgeSearch.tsx | 179 | export function KnowledgeSearchResultsPanel({ | CODE |
| LOW | …sections/actions/modals/OpenAPIAuthenticationModal.tsx | 70 | export default function OpenAPIAuthenticationModal({ | CODE |
| LOW | …/src/sections/actions/modals/AddOpenAPIActionModal.tsx | 55 | function parseJsonWithTrailingCommas(jsonString: string) { | CODE |
| LOW | …/src/sections/skills/InstructionsDisplayModeToggle.tsx | 24 | export default function InstructionsDisplayModeToggle({ | CODE |
| LOW | web/src/app/craft/v1/tasks/schedule.ts | 217 | export function compileLocalPayloadToUtcCron( | CODE |
| LOW | web/src/app/craft/v1/tasks/schedule.ts | 405 | export function decodeUtcCronToLocalPayload( | CODE |
| LOW | web/src/app/craft/v1/tasks/schedule.ts | 478 | export function humanReadableScheduleFromCron( | CODE |
| LOW | web/src/app/craft/v1/tasks/utils.ts | 86 | export function isScheduledRunContextInFlight( | CODE |
| LOW | web/src/app/craft/v1/apps/registry.ts | 123 | export function availableBuiltInDescriptors( | CODE |
| LOW | web/src/app/craft/v1/apps/oauth/callback/page.tsx | 17 | export default function ExternalAppsOAuthCallbackPage() { | CODE |
| LOW | …app/craft/v1/apps/admin/ExternalAppSkillsStepModal.tsx | 31 | export default function ExternalAppSkillsStepModal({ | CODE |
| LOW | …/app/craft/v1/apps/admin/skillAssociationNavigation.ts | 21 | export function externalAppContextFromSearchParams({ | CODE |
| LOW | web/src/app/craft/v1/apps/admin/page.tsx | 5 | export default function ExternalAppsAdminRedirect() { | CODE |
| LOW | web/src/app/craft/utils/llmPreferences.ts | 25 | export function getStoredRecommendedModelsOnly( | CODE |
| LOW | web/src/app/craft/utils/llmPreferences.ts | 32 | export function setStoredRecommendedModelsOnly( | CODE |
| LOW | web/src/app/craft/utils/subagentRouting.ts | 51 | export function toolCallStateFromProgress( | CODE |
| LOW | …ents/video-background/useVideoBackgroundToggleClick.ts | 10 | export function useVideoBackgroundToggleClick() { | CODE |
| LOW | web/src/app/craft/hooks/useBuildSessionStore.ts | 68 | function convertMessagesToStreamItems(messages: BuildMessage[]): StreamItem[] { | CODE |
| LOW | web/src/app/craft/hooks/useBuildSessionStore.ts | 224 | function isPlaceholderSubagentLabel(value: string): boolean { | CODE |
| LOW | web/src/app/craft/hooks/useBuildSessionStore.ts | 251 | function appendStreamingSubagentChunk( | CODE |
| LOW | web/src/app/craft/hooks/useBuildSessionStore.ts | 277 | function replaceOrAppendSettledTextItem( | CODE |
| LOW | web/src/app/craft/hooks/useBuildSessionStore.ts | 306 | function buildSubagentsFromMessages( | CODE |
| 11231 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | web/tests/e2e/global-setup.ts | 200 | // ── Preflight check ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/global-setup.ts | 203 | // ── Provision test users via API ───────────────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/global-setup.ts | 222 | // ── Login via API and save storage state ─────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/global-setup.ts | 254 | // ── Ensure a public LLM provider exists ─────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/chat/welcome_page.spec.ts | 28 | // ── Full-page screenshot ────────────────────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/chat/welcome_page.spec.ts | 41 | // ── Input bar element screenshot ────────────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/chat/welcome_page.spec.ts | 52 | // ── Sidebar element screenshot ──────────────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/chat/welcome_page.spec.ts | 63 | // ── Content assertions ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …/components/buttons/link-button/LinkButton.stories.tsx | 14 | // ─── Anchor mode ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/components/buttons/link-button/LinkButton.stories.tsx | 44 | // ─── Button mode ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/components/buttons/link-button/LinkButton.stories.tsx | 54 | // ─── Disabled ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/components/buttons/link-button/LinkButton.stories.tsx | 76 | // ─── Tooltip ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/components/buttons/link-button/LinkButton.stories.tsx | 105 | // ─── Inline in prose ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/lib/opal/src/components/cards/card/Card.stories.tsx | 105 | // ─── Expandable mode ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 59 | // ─── DisplayNameField ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 84 | // ─── APIKeyField ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 119 | // ─── APIBaseField ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 160 | // ─── ModelsAccessField ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 390 | // ─── RefetchButton ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 434 | // ─── ModelsField ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 438 | // ─── Model metadata helpers (Nebius TokenFactory picker) ──────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 798 | // ─── ModalWrapper ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 10 | // ─── useInitialValues ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 60 | // ─── buildValidationSchema ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 110 | // ─── Form value types ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 128 | // ─── mergeFetchedModelConfigurations ────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 152 | // ─── Misc ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 16 | // ─── Test helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 97 | // ─── Submit provider ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 138 | // ── Test credentials ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 200 | // ── Create/update provider ────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 226 | // ── Set as default ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 251 | // ── Post-success ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/CustomModal.tsx | 44 | // ─── Model Configuration List ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/CustomModal.tsx | 197 | // ─── Provider Name Select ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/CustomModal.tsx | 226 | // ─── Custom Config Processing ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rc/app/craft/v1/apps/admin/ActionPolicyEditorModal.tsx | 262 | // ── Policy editor ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/packetTypes.ts | 18 | // ─── Raw Packet Field Access ───────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/packetTypes.ts | 64 | // ─── Parsed Packet Types (Discriminated Union) ────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 12 | // ── Local dev (sandboxes + sessions) ──────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 38 | // ── Kubernetes (sessions only) ────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 54 | // ── Already relative ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/pathSanitizer.test.ts | 66 | // ── Title field (no leading /) ────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/pathSanitizer.test.ts | 76 | // ── Fallback (unknown format, >3 segments) ────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/pathSanitizer.test.ts | 84 | // ── Short paths ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 104 | // ── Bash commands ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 122 | // ── Output listings ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 140 | // ── No paths — passthrough ────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 148 | // ── Error messages ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 682 | // ── Command (freeform → sanitizePathsInText) ────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 689 | // ── Description ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 699 | // ── Output (freeform → sanitizePathsInText) ─────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 703 | // ── Title ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 706 | // ── Status ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 709 | // ── Todo-specific ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 712 | // ── Task-specific ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 717 | // ── Skill detection ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 724 | // ── Subagent routing (from ACP _meta) ───────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 128 | // ─── Skill Detection ────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 173 | // ─── Tool Name Resolution ───────────────────────────────────────── | COMMENT |
| 1298 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/ods/internal/openapi/openapi_schema.py | 39 | print(f"Error: Failed to import required modules: {e}", file=sys.stderr) | CODE |
| LOW | tools/ods/internal/openapi/openapi_schema.py | 74 | except Exception as e: # noqa: BLE001 | CODE |
| MEDIUM | tools/ods/internal/openapi/openapi_schema.py | 75 | print(f"Error generating OpenAPI schema: {e}", file=sys.stderr) | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 112 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 241 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 255 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 302 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 333 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 442 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 619 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/background/celery/tasks/vespa/tasks.py | 93 | except Exception as e: | CODE |
| LOW⚡ | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 134 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 255 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 288 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 350 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 379 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 521 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 644 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 753 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/background/celery/tasks/hooks/tasks.py | 34 | except Exception: | CODE |
| LOW | backend/ee/onyx/background/celery/tasks/cloud/tasks.py | 45 | except Exception: | CODE |
| LOW | backend/ee/onyx/background/celery/tasks/cloud/tasks.py | 64 | except Exception: | CODE |
| LOW | backend/ee/onyx/background/celery/tasks/cloud/tasks.py | 120 | except Exception: | CODE |
| LOW | backend/ee/onyx/background/celery/tasks/cloud/tasks.py | 137 | except Exception: | CODE |
| LOW | backend/ee/onyx/background/celery/tasks/cloud/tasks.py | 208 | except Exception: | CODE |
| LOW | …e/onyx/background/celery/tasks/ttl_management/tasks.py | 118 | except Exception: | CODE |
| LOW | …e/onyx/background/celery/tasks/ttl_management/tasks.py | 140 | except Exception: | CODE |
| LOW | …e/onyx/background/celery/tasks/ttl_management/tasks.py | 194 | except Exception: | CODE |
| LOW⚡ | …x/background/celery/tasks/tenant_provisioning/tasks.py | 107 | except Exception: | CODE |
| LOW⚡ | …x/background/celery/tasks/tenant_provisioning/tasks.py | 117 | except Exception: | CODE |
| LOW⚡ | …x/background/celery/tasks/tenant_provisioning/tasks.py | 123 | except Exception: | CODE |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 163 | except Exception: | CODE |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 232 | except Exception: | CODE |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 240 | except Exception: | CODE |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 253 | except Exception: | CODE |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 259 | except Exception: | CODE |
| LOW | …ee/onyx/background/celery/tasks/query_history/tasks.py | 88 | except Exception: | CODE |
| LOW | …ee/onyx/background/celery/tasks/query_history/tasks.py | 118 | except Exception: | CODE |
| LOW | backend/ee/onyx/feature_flags/posthog_provider.py | 53 | except Exception as e: | CODE |
| LOW | …d/ee/onyx/external_permissions/post_query_censoring.py | 72 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/jira/group_sync.py | 120 | except Exception as e: | CODE |
| LOW | …ckend/ee/onyx/external_permissions/jira/page_access.py | 75 | except Exception: | CODE |
| LOW | …kend/ee/onyx/external_permissions/github/group_sync.py | 46 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 67 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 83 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 139 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/github/utils.py | 70 | except Exception as e: | CODE |
| LOW | …/ee/onyx/external_permissions/confluence/group_sync.py | 119 | except Exception: | CODE |
| LOW | …e/onyx/external_permissions/confluence/space_access.py | 79 | except Exception as e: | CODE |
| LOW⚡ | …yx/external_permissions/sharepoint/permission_utils.py | 189 | except Exception as e: | CODE |
| LOW⚡ | …yx/external_permissions/sharepoint/permission_utils.py | 213 | except Exception as e: | CODE |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 172 | except Exception as e: | CODE |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 243 | except Exception as e: | CODE |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 268 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/slack/doc_sync.py | 269 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/slack/doc_sync.py | 276 | except Exception as e: | CODE |
| LOW | …e/onyx/external_permissions/google_drive/group_sync.py | 118 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/server/seeding.py | 111 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/server/seeding.py | 191 | except Exception: | CODE |
| LOW | backend/ee/onyx/server/usage_limits.py | 25 | except Exception as e: | CODE |
| 1469 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/ee/onyx/background/celery/tasks/vespa/tasks.py | 22 | """This function is likely to move in the worker refactor happening next.""" | STRING |
| MEDIUM | …x/background/celery/tasks/tenant_provisioning/tasks.py | 199 | # Create the schema for the new tenant | COMMENT |
| MEDIUM | backend/ee/onyx/external_permissions/perm_sync_types.py | 49 | # Defining the input/output types for the sync functions | COMMENT |
| MEDIUM | …ernal_permissions/google_drive/permission_retrieval.py | 30 | # Create a set for faster lookup | COMMENT |
| MEDIUM | backend/ee/onyx/server/tenants/provisioning.py | 207 | # Create the schema for the tenant | COMMENT |
| MEDIUM | backend/ee/onyx/server/tenants/provisioning.py | 707 | # Create a new event loop for this synchronous operation | COMMENT |
| MEDIUM | …onnectors/google_drive/test_google_drive_group_sync.py | 446 | # Create a large group with many users | COMMENT |
| MEDIUM | …rnal_dependency_unit/tools/test_oauth_token_manager.py | 52 | # Create a non-expired token | COMMENT |
| MEDIUM | …rnal_dependency_unit/tools/test_oauth_token_manager.py | 102 | # Create an expired token | COMMENT |
| MEDIUM | …rnal_dependency_unit/tools/test_oauth_token_manager.py | 140 | # Create an expired token without refresh_token | COMMENT |
| MEDIUM | …rnal_dependency_unit/tools/test_oauth_token_manager.py | 162 | # Create an expired token | COMMENT |
| MEDIUM | …sts/external_dependency_unit/tools/test_python_tool.py | 250 | # # Create a CSV file | COMMENT |
| MEDIUM | …sts/external_dependency_unit/tools/test_python_tool.py | 562 | # # Create a mapping of filename to generated file for easier verification | COMMENT |
| MEDIUM | …sts/external_dependency_unit/tools/test_python_tool.py | 586 | # # Create a client that will fail | COMMENT |
| MEDIUM | …sts/external_dependency_unit/tools/test_python_tool.py | 806 | # # Create a visualization | COMMENT |
| MEDIUM | …ests/external_dependency_unit/llm/test_llm_provider.py | 567 | # Create a provider and set it as default | COMMENT |
| MEDIUM | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 118 | # Define the expected models from the mock GitHub config | COMMENT |
| MEDIUM | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 123 | # Create the mock LLMRecommendations | COMMENT |
| MEDIUM | …ts/external_dependency_unit/llm/test_prompt_caching.py | 177 | # Create a long context message to ensure caching threshold is met (>1024 tokens) | COMMENT |
| MEDIUM | …ts/external_dependency_unit/llm/test_prompt_caching.py | 305 | # Create a long context message. | COMMENT |
| MEDIUM | …ts/external_dependency_unit/llm/test_prompt_caching.py | 627 | # Create a long system message and context | COMMENT |
| MEDIUM | …ts/external_dependency_unit/llm/test_prompt_caching.py | 742 | # Create a long context | COMMENT |
| MEDIUM | …al_dependency_unit/craft/test_streaming_persistence.py | 481 | # Create a user message first | COMMENT |
| MEDIUM | …ndency_unit/answer/test_stream_chat_message_objects.py | 64 | # Create a test user | COMMENT |
| MEDIUM | …ndency_unit/answer/test_stream_chat_message_objects.py | 67 | # Create a test persona explicitly WITHOUT any tools (including web search) | COMMENT |
| MEDIUM | …ndency_unit/answer/test_stream_chat_message_objects.py | 85 | # Create a chat session with our test persona | COMMENT |
| MEDIUM | …ndency_unit/answer/test_stream_chat_message_objects.py | 92 | # Create the chat message request with a query that attempts to force web search | COMMENT |
| MEDIUM | …l_dependency_unit/opensearch/test_opensearch_client.py | 1133 | # Create a document to update. | COMMENT |
| MEDIUM | …l_dependency_unit/opensearch/test_opensearch_client.py | 1336 | # Create a single document; the rest of the update targets won't exist. | COMMENT |
| MEDIUM | …on_sync/test_external_group_permission_sync_attempt.py | 290 | # Create a cc_pair specific attempt | COMMENT |
| MEDIUM | …on_sync/test_external_group_permission_sync_attempt.py | 518 | # Create an attempt (simulating the start of a sync task) | COMMENT |
| MEDIUM | …pendency_unit/file_store/test_file_store_non_mocked.py | 515 | # Create a 1MB file | COMMENT |
| MEDIUM | …pendency_unit/file_store/test_file_store_non_mocked.py | 871 | # Create a new database session for each worker to avoid conflicts | COMMENT |
| MEDIUM | …ency_unit/slack_bot/test_slack_bot_federated_search.py | 829 | # Create a persona (using same fields as _create_test_persona_with_slack_config) | COMMENT |
| MEDIUM | …ency_unit/slack_bot/test_slack_bot_federated_search.py | 839 | # Create a slack bot | COMMENT |
| MEDIUM | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 579 | # Create a hierarchy node whose raw_node_id matches a document ID | COMMENT |
| MEDIUM | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 603 | # Create a document with the same ID as the hierarchy node | COMMENT |
| MEDIUM | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 823 | # Create a parent node and a child node | COMMENT |
| MEDIUM | …_dependency_unit/celery/test_docprocessing_priority.py | 262 | # Create a mock connector runner that yields one document batch | COMMENT |
| MEDIUM | …ted_connector/slack/test_slack_federated_connnector.py | 399 | # Create a connector for testing | COMMENT |
| MEDIUM | backend/tests/unit/ee/onyx/server/billing/test_proxy.py | 62 | # Create a license payload without tenant_id by using a mock | COMMENT |
| MEDIUM | backend/tests/unit/file_store/test_file_store.py | 203 | # Create a mock database session | COMMENT |
| MEDIUM | …d/tests/unit/onyx/connectors/test_connector_factory.py | 143 | # Create a custom mock that raises AttributeError for the specific class | COMMENT |
| MEDIUM | …/unit/onyx/connectors/jira/test_jira_error_handling.py | 35 | # Create a JIRAError that mimics the error from the stack trace | COMMENT |
| MEDIUM | …/unit/onyx/connectors/jira/test_jira_error_handling.py | 65 | # Create a JIRAError for invalid JQL syntax | COMMENT |
| MEDIUM | …/unit/onyx/connectors/jira/test_jira_error_handling.py | 94 | # Create a JIRAError for expired credentials | COMMENT |
| MEDIUM | …/unit/onyx/connectors/jira/test_jira_error_handling.py | 120 | # Create a JIRAError for insufficient permissions | COMMENT |
| MEDIUM | …/unit/onyx/connectors/jira/test_jira_error_handling.py | 148 | # Create a cloud connector | COMMENT |
| MEDIUM | …/unit/onyx/connectors/jira/test_jira_error_handling.py | 167 | # Create a proper HTTPError with the response attached | COMMENT |
| MEDIUM⚡ | …it/onyx/connectors/github/test_github_checkpointing.py | 646 | # Create a new mock for successful retrieval after retry | COMMENT |
| MEDIUM⚡ | …it/onyx/connectors/github/test_github_checkpointing.py | 650 | # Create an iterator that will yield the remaining PR | COMMENT |
| MEDIUM⚡ | …it/onyx/connectors/github/test_github_checkpointing.py | 654 | # Create a mock for the _Slice object that will be returned by pag_list[prev_num_objs:] | COMMENT |
| MEDIUM | …it/onyx/connectors/github/test_github_checkpointing.py | 516 | # Create a mock paginated list that will raise the 422 error on get_page | COMMENT |
| MEDIUM | …it/onyx/connectors/github/test_github_checkpointing.py | 528 | # Create a new mock for cursor-based pagination | COMMENT |
| MEDIUM | …it/onyx/connectors/github/test_github_checkpointing.py | 578 | # Create a checkpoint that was using cursor-based pagination | COMMENT |
| MEDIUM | …it/onyx/connectors/github/test_github_checkpointing.py | 630 | # Create a checkpoint with an expired cursor | COMMENT |
| MEDIUM⚡ | …t/onyx/connectors/salesforce/test_yield_doc_batches.py | 110 | # Create a parent object with various data types in the fields | COMMENT |
| MEDIUM | …t/onyx/connectors/salesforce/test_yield_doc_batches.py | 137 | # Create a mock document that convert_sf_object_to_doc will return | COMMENT |
| MEDIUM⚡ | …nyx/document_index/opensearch/test_get_doc_chunk_id.py | 57 | # Create a doc ID that will exceed max length after the suffix is | COMMENT |
| MEDIUM | backend/tests/unit/onyx/llm/test_model_map.py | 68 | # Create a mock model_cost dict with multiple entries for "onyx-llm" | COMMENT |
| 272 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ods/internal/openapi/openapi_schema.py | 81 | CODE | |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 169 | CODE | |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 507 | CODE | |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 200 | CODE | |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 403 | CODE | |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 685 | CODE | |
| LOW | …ckend/ee/onyx/background/celery/tasks/cleanup/tasks.py | 21 | CODE | |
| LOW | backend/ee/onyx/background/celery/tasks/cloud/tasks.py | 77 | CODE | |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 50 | CODE | |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 129 | CODE | |
| LOW | …ee/onyx/background/celery/tasks/query_history/tasks.py | 41 | CODE | |
| LOW | backend/ee/onyx/connectors/perm_sync_valid.py | 65 | CODE | |
| LOW | backend/ee/onyx/external_permissions/utils.py | 29 | CODE | |
| LOW | …ckend/ee/onyx/external_permissions/jira/page_access.py | 339 | CODE | |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 35 | CODE | |
| LOW | backend/ee/onyx/external_permissions/github/utils.py | 401 | CODE | |
| LOW | …ee/onyx/external_permissions/confluence/page_access.py | 16 | CODE | |
| LOW | …e/onyx/external_permissions/confluence/space_access.py | 99 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 218 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 304 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 358 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 452 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 514 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 709 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 310 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 369 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 531 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 718 | CODE | |
| LOW | …ckend/ee/onyx/external_permissions/slack/group_sync.py | 33 | CODE | |
| LOW | backend/ee/onyx/external_permissions/slack/doc_sync.py | 89 | CODE | |
| LOW | backend/ee/onyx/external_permissions/slack/doc_sync.py | 196 | CODE | |
| LOW | backend/ee/onyx/external_permissions/slack/utils.py | 9 | CODE | |
| LOW | backend/ee/onyx/external_permissions/gmail/doc_sync.py | 44 | CODE | |
| LOW | …e/onyx/external_permissions/google_drive/group_sync.py | 135 | CODE | |
| LOW | …e/onyx/external_permissions/google_drive/group_sync.py | 179 | CODE | |
| LOW | …e/onyx/external_permissions/google_drive/group_sync.py | 366 | CODE | |
| LOW | …/ee/onyx/external_permissions/google_drive/doc_sync.py | 102 | CODE | |
| LOW | …/ee/onyx/external_permissions/google_drive/doc_sync.py | 282 | CODE | |
| LOW | …/ee/onyx/external_permissions/google_drive/doc_sync.py | 375 | CODE | |
| LOW | backend/ee/onyx/server/seeding.py | 78 | CODE | |
| LOW | backend/ee/onyx/server/seeding.py | 205 | CODE | |
| LOW | …ckend/ee/onyx/server/middleware/license_enforcement.py | 82 | CODE | |
| LOW | …ckend/ee/onyx/server/middleware/license_enforcement.py | 88 | CODE | |
| LOW | backend/ee/onyx/server/middleware/tenant_tracking.py | 111 | CODE | |
| LOW | backend/ee/onyx/server/settings/api.py | 24 | CODE | |
| LOW | backend/ee/onyx/server/settings/api.py | 68 | CODE | |
| LOW | backend/ee/onyx/server/scim/patch.py | 186 | CODE | |
| LOW | backend/ee/onyx/server/scim/patch.py | 257 | CODE | |
| LOW | backend/ee/onyx/server/scim/patch.py | 297 | CODE | |
| LOW | backend/ee/onyx/server/scim/patch.py | 340 | CODE | |
| LOW | backend/ee/onyx/server/oauth/api.py | 24 | CODE | |
| LOW | backend/ee/onyx/server/tenants/provisioning.py | 88 | CODE | |
| LOW | backend/ee/onyx/server/tenants/provisioning.py | 253 | CODE | |
| LOW | backend/ee/onyx/server/billing/api.py | 282 | CODE | |
| LOW | backend/ee/onyx/search/process_search_query.py | 261 | CODE | |
| LOW | backend/ee/onyx/db/user_tenant_mapping.py | 51 | CODE | |
| LOW | backend/ee/onyx/db/user_tenant_mapping.py | 409 | CODE | |
| LOW | backend/ee/onyx/db/user_tenant_mapping.py | 584 | CODE | |
| LOW | backend/ee/onyx/db/standard_answer.py | 216 | CODE | |
| LOW | backend/ee/onyx/db/scim.py | 275 | CODE | |
| 571 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ackground/celery/tasks/external_group_syncing/tasks.py | 0 | compute the expiration time for the fence validation block signal. base expiration is 60 seconds, multiplied by the beat | STRING |
| HIGH | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 0 | compute the expiration time for the fence validation block signal. base expiration is 60 seconds, multiplied by the beat | STRING |
| HIGH | backend/onyx/background/celery/tasks/pruning/tasks.py | 0 | compute the expiration time for the fence validation block signal. base expiration is 60 seconds, multiplied by the beat | STRING |
| HIGH | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 0 | compute the expiration time for the fence validation block signal. base expiration is 60 seconds, multiplied by the beat | STRING |
| HIGH | …ackground/celery/tasks/external_group_syncing/tasks.py | 0 | checks for the error condition where an indexing fence is set but the associated celery tasks don't exist. this can happ | STRING |
| HIGH | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 0 | checks for the error condition where an indexing fence is set but the associated celery tasks don't exist. this can happ | STRING |
| HIGH | …yx/background/celery/tasks/connector_deletion/tasks.py | 0 | checks for the error condition where an indexing fence is set but the associated celery tasks don't exist. this can happ | STRING |
| HIGH | backend/ee/onyx/server/oauth/confluence_cloud.py | 0 | dev mode workaround for localhost testing - https://www.nango.dev/blog/oauth-redirects-on-localhost-with-https | STRING |
| HIGH | backend/ee/onyx/server/oauth/google_drive.py | 0 | dev mode workaround for localhost testing - https://www.nango.dev/blog/oauth-redirects-on-localhost-with-https | STRING |
| HIGH | backend/ee/onyx/server/oauth/slack.py | 0 | dev mode workaround for localhost testing - https://www.nango.dev/blog/oauth-redirects-on-localhost-with-https | STRING |
| HIGH | backend/ee/onyx/server/oauth/confluence_cloud.py | 0 | temporary state to store in redis. to be looked up on auth response. returns a json string. | STRING |
| HIGH | backend/ee/onyx/server/oauth/google_drive.py | 0 | temporary state to store in redis. to be looked up on auth response. returns a json string. | STRING |
| HIGH | backend/ee/onyx/server/oauth/slack.py | 0 | temporary state to store in redis. to be looked up on auth response. returns a json string. | STRING |
| HIGH | backend/ee/onyx/db/saml.py | 0 | note: this is async, since it's used during auth (which is necessarily async due to fastapi users) | STRING |
| HIGH | backend/onyx/db/saml.py | 0 | note: this is async, since it's used during auth (which is necessarily async due to fastapi users) | STRING |
| HIGH | backend/onyx/db/api_key.py | 0 | note: this is async, since it's used during auth (which is necessarily async due to fastapi users) | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | clears the sf db by deleting all files in the data directory. | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | clears the sf db by deleting all files in the data directory. | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | clears the sf db by deleting all files in the data directory. | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | creates a csv file for the given object type and records. args: object_type: the salesforce object type (e.g. "account", | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | creates a csv file for the given object type and records. args: object_type: the salesforce object type (e.g. "account", | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | creates a csv file for the given object type and records. args: object_type: the salesforce object type (e.g. "account", | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | creates csv files with example data, organized by object type. | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | creates csv files with example data, organized by object type. | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | creates csv files with example data, organized by object type. | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | tests querying functionality by verifying: 1. all expected account ids are found 2. each account's data matches what was | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | tests querying functionality by verifying: 1. all expected account ids are found 2. each account's data matches what was | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | tests querying functionality by verifying: 1. all expected account ids are found 2. each account's data matches what was | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | tests upsert functionality by: 1. updating an existing account 2. creating a new account 3. verifying both operations we | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | tests upsert functionality by: 1. updating an existing account 2. creating a new account 3. verifying both operations we | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | tests upsert functionality by: 1. updating an existing account 2. creating a new account 3. verifying both operations we | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | tests relationship shelf updates and queries by: 1. creating test data with relationships 2. verifying the relationships | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | tests relationship shelf updates and queries by: 1. creating test data with relationships 2. verifying the relationships | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | tests relationship shelf updates and queries by: 1. creating test data with relationships 2. verifying the relationships | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | tests querying all accounts and retrieving their child objects. this test verifies that: 1. all accounts can be retrieve | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | tests querying all accounts and retrieving their child objects. this test verifies that: 1. all accounts can be retrieve | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | tests querying all accounts and retrieving their child objects. this test verifies that: 1. all accounts can be retrieve | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | tests that relationships are properly updated when a child object's parent reference changes. this test verifies: 1. ini | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | tests that relationships are properly updated when a child object's parent reference changes. this test verifies: 1. ini | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | tests that relationships are properly updated when a child object's parent reference changes. this test verifies: 1. ini | STRING |
| HIGH | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 0 | tests get_affected_parent_ids functionality by verifying: 1. ids that are directly in the parent_types list are included | STRING |
| HIGH | …salesforce/shelve_stuff/old_test_salesforce_shelves.py | 0 | tests get_affected_parent_ids functionality by verifying: 1. ids that are directly in the parent_types list are included | STRING |
| HIGH | …ors/salesforce/shelve_stuff/test_salesforce_shelves.py | 0 | tests get_affected_parent_ids functionality by verifying: 1. ids that are directly in the parent_types list are included | STRING |
| HIGH | …sts/integration/tests/chat/test_chat_session_access.py | 0 | reset all data once before running any tests in this module. | STRING |
| HIGH | …end/tests/integration/tests/chat/test_chat_deletion.py | 0 | reset all data once before running any tests in this module. | STRING |
| HIGH | …kend/tests/integration/tests/projects/test_projects.py | 0 | reset all data once before running any tests in this module. | STRING |
| HIGH | …sts/integration/tests/permissions/test_basic_access.py | 0 | unauthenticated (anonymous) requests should be denied. | STRING |
| HIGH | …sts/integration/tests/permissions/test_admin_access.py | 0 | unauthenticated (anonymous) requests should be denied. | STRING |
| HIGH | …ration/tests/permissions/test_connector_read_access.py | 0 | unauthenticated (anonymous) requests should be denied. | STRING |
| HIGH | …ation/tests/permissions/test_credential_permissions.py | 0 | this file takes the happy path to adding a curator to a user group and then tests the permissions of the curator manipul | STRING |
| HIGH | …egration/tests/permissions/test_cc_pair_permissions.py | 0 | this file takes the happy path to adding a curator to a user group and then tests the permissions of the curator manipul | STRING |
| HIGH | …ration/tests/permissions/test_connector_permissions.py | 0 | this file takes the happy path to adding a curator to a user group and then tests the permissions of the curator manipul | STRING |
| HIGH | backend/onyx/background/celery/versioned_apps/light.py | 0 | factory stub for running celery worker / celery beat. this code is different from the primary/beat stubs because there i | STRING |
| HIGH | backend/onyx/background/celery/versioned_apps/heavy.py | 0 | factory stub for running celery worker / celery beat. this code is different from the primary/beat stubs because there i | STRING |
| HIGH | …onyx/background/celery/versioned_apps/docprocessing.py | 0 | factory stub for running celery worker / celery beat. this code is different from the primary/beat stubs because there i | STRING |
| HIGH | …d/onyx/background/celery/versioned_apps/docfetching.py | 0 | factory stub for running celery worker / celery beat. this code is different from the primary/beat stubs because there i | STRING |
| HIGH | …nd/onyx/background/celery/versioned_apps/monitoring.py | 0 | factory stub for running celery worker / celery beat. | STRING |
| HIGH | …ckend/onyx/background/celery/versioned_apps/primary.py | 0 | factory stub for running celery worker / celery beat. | STRING |
| HIGH | backend/onyx/background/celery/versioned_apps/beat.py | 0 | factory stub for running celery worker / celery beat. | STRING |
| HIGH | backend/onyx/redis/redis_connector_prune.py | 0 | this sets a signal to keep the permissioning flow from getting cleaned up within the expiration time. the slack in timin | STRING |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ods/hatch_build.py | 1 | CODE | |
| LOW | tools/ods/internal/_version.py | 1 | CODE | |
| LOW | tools/ods/internal/openapi/openapi_schema.py | 7 | CODE | |
| LOW | backend/ee/onyx/external_permissions/perm_sync_types.py | 5 | CODE | |
| LOW | backend/ee/onyx/external_permissions/perm_sync_types.py | 5 | CODE | |
| LOW | backend/ee/onyx/external_permissions/sync_params.py | 54 | CODE | |
| LOW | backend/ee/onyx/external_permissions/sync_params.py | 55 | CODE | |
| LOW | backend/ee/onyx/external_permissions/sync_params.py | 56 | CODE | |
| LOW | backend/ee/onyx/server/scim/patch.py | 15 | CODE | |
| LOW | backend/ee/onyx/server/scim/filtering.py | 24 | CODE | |
| LOW | backend/ee/onyx/server/scim/api.py | 12 | CODE | |
| LOW | backend/ee/onyx/server/scim/providers/okta.py | 3 | CODE | |
| LOW | backend/ee/onyx/server/scim/providers/entra.py | 3 | CODE | |
| LOW | backend/ee/onyx/server/scim/providers/base.py | 3 | CODE | |
| LOW | backend/ee/onyx/utils/tier.py | 16 | CODE | |
| LOW | backend/ee/onyx/db/scim.py | 24 | CODE | |
| LOW | backend/tests/external_dependency_unit/conftest.py | 17 | CODE | |
| LOW | backend/tests/external_dependency_unit/conftest.py | 20 | CODE | |
| LOW | backend/tests/external_dependency_unit/conftest.py | 21 | CODE | |
| LOW | backend/tests/external_dependency_unit/full_setup.py | 1 | CODE | |
| LOW | backend/tests/external_dependency_unit/mock_llm.py | 1 | CODE | |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 923 | CODE | |
| LOW | …end/tests/external_dependency_unit/craft/db_helpers.py | 17 | CODE | |
| LOW | …_dependency_unit/craft/test_scheduled_task_executor.py | 18 | CODE | |
| LOW | …ependency_unit/craft/test_external_app_admin_update.py | 7 | CODE | |
| LOW | …ckend/tests/external_dependency_unit/craft/conftest.py | 3 | CODE | |
| LOW | …al_dependency_unit/craft/test_managed_external_apps.py | 12 | CODE | |
| LOW | …ernal_dependency_unit/craft/test_skill_db_mutations.py | 1 | CODE | |
| LOW | …ternal_dependency_unit/craft/test_provisioning_lock.py | 11 | CODE | |
| LOW | …l_dependency_unit/craft/test_turn_heartbeat_refresh.py | 4 | CODE | |
| LOW | …ternal_dependency_unit/craft/test_sandbox_lifecycle.py | 13 | CODE | |
| LOW | …l_dependency_unit/craft/test_built_in_skill_seeding.py | 12 | CODE | |
| LOW | …/tests/external_dependency_unit/craft/redis_helpers.py | 3 | CODE | |
| LOW | …nal_dependency_unit/craft/test_skill_affected_users.py | 1 | CODE | |
| LOW | …ernal_dependency_unit/craft/test_craft_access_admin.py | 5 | CODE | |
| LOW | …ependency_unit/craft/test_build_llm_provider_access.py | 8 | CODE | |
| LOW | …al_dependency_unit/craft/test_credential_encryption.py | 10 | CODE | |
| LOW | …external_dependency_unit/craft/test_action_matching.py | 18 | CODE | |
| LOW | …external_dependency_unit/craft/test_action_matching.py | 22 | CODE | |
| LOW | …external_dependency_unit/craft/test_action_matching.py | 23 | CODE | |
| LOW | …ts/external_dependency_unit/craft/test_idle_cleanup.py | 12 | CODE | |
| LOW | …ependency_unit/craft/test_external_app_sandbox_push.py | 1 | CODE | |
| LOW | …sts/external_dependency_unit/craft/test_connect_app.py | 1 | CODE | |
| LOW | …rnal_dependency_unit/craft/test_skill_github_import.py | 1 | CODE | |
| LOW | …ternal_dependency_unit/craft/test_interrupt_message.py | 10 | CODE | |
| LOW | …pendency_unit/craft/test_granted_scopes_persistence.py | 8 | CODE | |
| LOW | …ndency_unit/craft/test_terminated_sandbox_fast_fail.py | 8 | CODE | |
| LOW | …ernal_dependency_unit/craft/test_action_approval_db.py | 7 | CODE | |
| LOW | …nal_dependency_unit/craft/test_external_app_fileset.py | 16 | CODE | |
| LOW | …sts/external_dependency_unit/craft/test_sandbox_pat.py | 3 | CODE | |
| LOW | …nal_dependency_unit/craft/test_background_snapshots.py | 15 | CODE | |
| LOW | …nal_dependency_unit/craft/test_durable_provisioning.py | 18 | CODE | |
| LOW | …al_dependency_unit/craft/test_streaming_persistence.py | 9 | CODE | |
| LOW | …nal_dependency_unit/craft/test_credential_injection.py | 1 | CODE | |
| LOW | …l_dependency_unit/craft/test_ensure_sandbox_running.py | 20 | CODE | |
| LOW | …/external_dependency_unit/craft/test_skills_fileset.py | 3 | CODE | |
| LOW | …xternal_dependency_unit/craft/test_connectable_apps.py | 1 | CODE | |
| LOW | …ndency_unit/craft/test_scheduled_task_pre_approvals.py | 9 | CODE | |
| LOW | …s/external_dependency_unit/craft/test_approvals_api.py | 4 | CODE | |
| LOW | …_dependency_unit/craft/test_prompt_slot_distributed.py | 8 | CODE | |
| 406 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ods/internal/git/git_test.go | 30 | r.Git("config", "user.email", "test@test.com") | CODE |
| LOW | web/AGENTS.md | 66 | title="John Doe" | CODE |
| LOW | web/CLAUDE.md | 66 | title="John Doe" | CODE |
| LOW | web/tests/README.md | 225 | await user.type(screen.getByLabelText(/name/i), "John Doe"); | CODE |
| LOW | web/tests/README.md | 540 | expect(screen.getByText("John Doe")).toBeInTheDocument(); | CODE |
| LOW | web/tests/README.md | 546 | expect(screen.queryByText("John Doe")).not.toBeInTheDocument(); | CODE |
| LOW | …b/lib/opal/src/layouts/inputs/InputLayouts.stories.tsx | 46 | <MockInput placeholder="Acme Corp" /> | CODE |
| LOW | …b/lib/opal/src/layouts/inputs/InputLayouts.stories.tsx | 61 | <MockInput placeholder="Acme Corp" /> | CODE |
| LOW | …b/lib/opal/src/layouts/inputs/InputLayouts.stories.tsx | 173 | <MockInput placeholder="Jane Doe" /> | CODE |
| LOW | …pp/craft/v1/apps/admin/ConfigureProviderModal.test.tsx | 354 | author_email: "admin@example.com", | CODE |
| LOW | …pp/craft/v1/apps/admin/ConfigureProviderModal.test.tsx | 355 | owner: { id: "admin-id", email: "admin@example.com" }, | CODE |
| LOW | …/app/craft/v1/apps/admin/CreateCustomAppModal.test.tsx | 208 | author_email: "admin@example.com", | CODE |
| LOW | …/app/craft/v1/apps/admin/CreateCustomAppModal.test.tsx | 209 | owner: { id: "admin-id", email: "admin@example.com" }, | CODE |
| LOW | …app/craft/components/approvals/PayloadView.stories.tsx | 77 | company: "Acme Corp", | CODE |
| LOW | web/src/refresh-components/Chip.stories.tsx | 22 | children: "John Doe", | CODE |
| LOW | web/src/refresh-components/form/FormField.stories.tsx | 33 | <InputTypeIn placeholder="Jane Doe" /> | CODE |
| LOW | web/src/refresh-components/buttons/Tag.stories.tsx | 85 | label="John Doe" | CODE |
| LOW | …esh-components/texts/ExpandableTextDisplay.stories.tsx | 30 | `Line ${i + 1}: Lorem ipsum dolor sit amet, consectetur adipiscing elit.` | CODE |
| LOW | …esh-components/texts/ExpandableTextDisplay.stories.tsx | 30 | `Line ${i + 1}: Lorem ipsum dolor sit amet, consectetur adipiscing elit.` | CODE |
| LOW | …c/refresh-components/inputs/ListFieldInput.stories.tsx | 40 | "admin@example.com", | CODE |
| LOW | …c/refresh-components/inputs/ListFieldInput.stories.tsx | 41 | "user@example.com", | CODE |
| LOW | web/src/lib/auth/components.test.tsx | 257 | "user@example.com" | CODE |
| LOW | web/src/lib/skills/__fixtures__/picker.ts | 90 | owner: "admin@example.com", | CODE |
| LOW | …ors/google_drive/test_google_drive_hierarchy_walker.py | 68 | ADMIN_EMAIL = "admin@example.com" | CODE |
| LOW | …al_dependency_unit/craft/test_mcp_config_resolution.py | 49 | owner_email="admin@example.com", | CODE |
| LOW | …al_dependency_unit/craft/test_mcp_config_resolution.py | 318 | owner_email="admin@example.com", | CODE |
| LOW | …endency_unit/sandbox_proxy/test_mcp_server_resolver.py | 81 | owner_email="admin@example.com", | CODE |
| LOW | …ency_unit/sandbox_proxy/test_mcp_approval_evaluator.py | 61 | owner_email="admin@example.com", | CODE |
| LOW | …dency_unit/sandbox_proxy/test_mcp_approval_pipeline.py | 63 | owner_email="admin@example.com", | CODE |
| LOW | …it/server/features/mcp/test_mcp_user_group_deletion.py | 19 | owner="admin@example.com", | CODE |
| LOW | …er/features/mcp/test_mcp_oauth_authenticated_status.py | 33 | owner="admin@example.com", | CODE |
| LOW | …unit/server/features/mcp/test_mcp_access_edge_cases.py | 25 | owner="admin@example.com", | CODE |
| LOW | …cy_unit/server/features/mcp/test_mcp_access_control.py | 26 | owner="admin@example.com", | CODE |
| LOW | …ency_unit/server/features/mcp/test_mcp_persona_gate.py | 28 | owner="admin@example.com", | CODE |
| LOW | …s/external_dependency_unit/mcp/test_craft_admin_api.py | 124 | owner_email="admin@example.com", | CODE |
| LOW⚡ | …external_dependency_unit/indexing/test_port_reembed.py | 243 | {"author": "Jane Doe", "team": "finance"} | CODE |
| LOW | …external_dependency_unit/indexing/test_port_reembed.py | 176 | {"author": "Jane Doe", "team": "finance"} | CODE |
| LOW | …external_dependency_unit/indexing/test_port_reembed.py | 189 | {"author": "Jane Doe", "team": "finance"} | CODE |
| LOW | …external_dependency_unit/indexing/test_port_reembed.py | 379 | {"author": "Jane Doe", "team": "finance"} | CODE |
| LOW | …external_dependency_unit/indexing/test_port_reembed.py | 634 | {"author": "Jane Doe", "team": "finance"} | CODE |
| LOW⚡ | …/tests/unit/sandbox_proxy/test_credential_injection.py | 71 | flow.request.headers["Authorization"] = "placeholder" | CODE |
| LOW⚡ | …ternal_permissions/sharepoint/test_permission_utils.py | 31 | return "fake-token" | CODE |
| LOW | …sions/google_drive/test_get_drive_members_admin_403.py | 19 | connector.primary_admin_email = "admin@example.com" | CODE |
| LOW⚡ | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 78 | assert "'user@example.com'" in sql | CODE |
| LOW⚡ | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 107 | owner=("user@example.com", "tenant_abc"), | CODE |
| LOW⚡ | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 493 | email="user@example.com", tenant_id="tenant_stranger", active=True | CODE |
| LOW⚡ | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 496 | email="user@example.com", tenant_id="tenant_new", active=False | CODE |
| LOW⚡ | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 578 | accept_user_invite("user@example.com", "tenant_new", [("google", "sub-123")]) | CODE |
| LOW⚡ | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 584 | ] == [("google", "sub-123", "user@example.com", "tenant_new")] | CODE |
| LOW⚡ | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 592 | email="user@example.com", tenant_id="tenant_old", active=True | CODE |
| LOW | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 29 | insert_result: tuple[str, str] | None = ("user@example.com", "tenant_abc"), | CODE |
| LOW | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 416 | email="user@example.com", tenant_id="tenant_new", active=False | CODE |
| LOW | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 477 | } == {("user@example.com", "tenant_new")} | CODE |
| LOW | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 515 | accept_user_invite("user@example.com", "tenant_new", [("google", "sub-123")]) | CODE |
| LOW | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 562 | email="user@example.com", tenant_id="tenant_new", active=False | CODE |
| LOW | …t/ee/onyx/server/tenants/test_record_oauth_identity.py | 608 | assert added_mapping.email == "user@example.com" | CODE |
| LOW⚡ | …ver/tenants/test_tenant_resolution_by_oauth_account.py | 56 | tenant_id = resolve_tenant_id("user@example.com", "google", "sub-123") | CODE |
| LOW | …ver/tenants/test_tenant_resolution_by_oauth_account.py | 94 | resolve_tenant_id("user@example.com", "google", "sub-123") | CODE |
| LOW | …ver/tenants/test_tenant_resolution_by_oauth_account.py | 110 | resolve_tenant_id("user@example.com", "google", "sub-123") | CODE |
| LOW⚡ | …ver/tenants/test_tenant_resolution_by_oauth_account.py | 143 | tenant_id = resolve_tenant_id("user@example.com") | CODE |
| 285 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 101 | args: ["ty", "check"] | COMMENT |
| LOW | pyproject.toml | 301 | # alembic has a folder named `alembic` in backend/ which confuses import sorters. | COMMENT |
| LOW | tools/ods/internal/composegen/composegen.go | 1 | // Package composegen renders the standalone docker compose files | COMMENT |
| LOW | tools/ods/internal/deployfilessync/deployfilessync.go | 1 | // Package deployfilessync mirrors the deployment files that onyx-cli embeds | COMMENT |
| LOW | tools/ods/internal/audit/actions.go | 1 | package audit | COMMENT |
| LOW | web/next.config.js | 181 | // Export the module with conditional Sentry configuration. | COMMENT |
| LOW | web/lib/opal/scripts/convert-svg.sh | 1 | #!/bin/bash | COMMENT |
| LOW | web/lib/opal/src/types.ts | 1 | import type { SVGProps } from "react"; | COMMENT |
| LOW | web/lib/opal/src/constants.ts | 1 | // Screen-size breakpoints — used by useScreenSize to determine the current tier. | COMMENT |
| LOW | web/src/proxy.ts | 21 | // | COMMENT |
| LOW | web/src/app/craft/components/ChatPanel.tsx | 501 | toast.error("Please wait for sandbox to initialize"); | COMMENT |
| LOW | …onnector/[ccPairId]/ExternalGroupSyncAttemptsTable.tsx | 41 | COMMENT | |
| LOW | web/src/components/SSRAutoRefresh.tsx | 1 | "use client"; | COMMENT |
| LOW | web/src/layouts/chromes/AppChrome.tsx | 521 | const customFooterContent = useCustomFooterContent(); | COMMENT |
| LOW | web/src/lib/auth/components.tsx | 121 | // automatically on the subsequent Google redirect back to our callback, | COMMENT |
| LOW | web/src/lib/banner/hooks.ts | 1 | "use client"; | COMMENT |
| LOW | desktop/src-tauri/src/main.rs | 21 | // ============================================================================ | COMMENT |
| LOW | desktop/src-tauri/src/alt_menu.rs | 1 | // Native GTK-level Alt-alone-press menu toggle for Linux. | COMMENT |
| LOW | backend/alembic.ini | 1 | # A generic, single database configuration. | COMMENT |
| LOW | backend/alembic.ini | 21 | # timezone = | COMMENT |
| LOW | backend/alembic.ini | 41 | COMMENT | |
| LOW | backend/ee/onyx/configs/license_enforcement_config.py | 21 | COMMENT | |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 1 | # TODO re-enable this test | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 21 | # ) | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 41 | # responses = [] | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 61 | # assert final_response.id == IMAGE_GENERATION_RESPONSE_ID | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 81 | # model="dall-e-3", | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 101 | # ) | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 121 | # api_base=None, | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 141 | COMMENT | |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 161 | # id=IMAGE_GENERATION_RESPONSE_ID, | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 181 | # api_key = os.getenv("OPENAI_API_KEY", "mock-key-for-testing") | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 201 | # revised_prompt="Test prompt", | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 221 | # (ImageShape.LANDSCAPE, "A wide landscape"), | COMMENT |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 241 | COMMENT | |
| LOW | …al_dependency_unit/tools/test_image_generation_tool.py | 261 | # for response in responses: | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 1 | # """ | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 21 | # from openpyxl import load_workbook | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 41 | # ) | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 61 | # mock_context = Mock(spec=ChatTurnContext) | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 81 | COMMENT | |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 101 | # # Verify result | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 121 | # # Verify streaming packets were emitted | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 141 | # assert "Hello, World!" in delta_packets[0].obj.stdout | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 161 | COMMENT | |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 181 | # result = x / y # Division by zero | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 201 | COMMENT | |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 221 | # with patch( | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 241 | # def test_python_execution_file_generation( | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 261 | # with patch( | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 281 | # assert generated_file.file_link.startswith("http://localhost:3000/api/chat/file/") | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 301 | COMMENT | |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 321 | # plt.title('Sine Wave') | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 341 | COMMENT | |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 361 | # # Verify the file is a valid PNG (check PNG magic bytes) | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 381 | COMMENT | |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 401 | # assert answer.tool_id == 42 | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 421 | # "onyx.tools.tool_implementations.python.python_tool.CODE_INTERPRETER_BASE_URL", | COMMENT |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 441 | COMMENT | |
| LOW | …sts/external_dependency_unit/tools/test_python_tool.py | 461 | # # Call the function tool wrapper | COMMENT |
| 350 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/ee/onyx/server/scim/patch.py | 111 | Apply SCIM PATCH operations to a user resource. Args: operations: The PATCH operations to apply. cu | STRING |
| HIGH | backend/ee/onyx/server/scim/patch.py | 302 | Apply SCIM PATCH operations to a group resource. Args: operations: The PATCH operations to apply. c | STRING |
| HIGH | backend/ee/onyx/server/scim/filtering.py | 60 | Parse a simple SCIM filter expression. Args: filter_string: Raw filter query parameter value, e.g. | STRING |
| HIGH | backend/ee/onyx/server/tenants/proxy.py | 60 | Extract license data from Authorization header. Self-hosted instances authenticate to these proxy endpoints by send | STRING |
| HIGH | backend/ee/onyx/server/tenants/proxy.py | 97 | Verify license signature and optionally check expiry. Args: license_data: Base64-encoded signed license blo | STRING |
| HIGH | backend/ee/onyx/server/billing/service.py | 85 | Make an HTTP request to the billing service. Consolidates the common HTTP request pattern used by all billing opera | STRING |
| HIGH | backend/ee/onyx/utils/license.py | 47 | Verify RSA-4096 signature and return payload if valid. Args: license_data: Base64-encoded JSON contain | STRING |
| HIGH | …/tests/integration/connector_job_tests/github/utils.py | 29 | Change the visibility of a repository. Args: repo_owner: Repository owner (organization or | STRING |
| HIGH | …/tests/integration/connector_job_tests/github/utils.py | 81 | Add a team to a repository with specified permissions. Args: repo_owner: Repository owner | STRING |
| HIGH | …/tests/integration/connector_job_tests/github/utils.py | 129 | Remove a team from a repository. Args: repo_owner: Repository owner (organization) | STRING |
| HIGH | backend/onyx/connectors/highspot/client.py | 113 | Make a request to the Highspot API. Args: method: HTTP method (GET, POST, etc.) | STRING |
| HIGH | backend/onyx/connectors/slack/connector.py | 508 | Get a channel by its ID. Args: client: The Slack WebClient instance channel_id: The ID of the chann | STRING |
| HIGH | backend/onyx/connectors/mediawiki/family.py | 105 | Generate a family file for a given URL and name. Args: url: The URL of the wiki. name: The short na | STRING |
| HIGH | backend/onyx/evals/eval_cli.py | 139 | Trigger an eval pipeline execution on a remote server. Tool forcing and assertions are configured per-test in | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 356 | Puts cluster settings. Args: settings: The settings to put. Raises: Exception: | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 695 | Validates the index. Short-circuit returns False on the first mismatch. Logs the mismatch. See the Ope | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 813 | Gets the settings of the index. Args: include_defaults: Whether to include default settings which h | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1106 | Deletes a document. Args: document_chunk_id: The OpenSearch ID of the document chunk to | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1164 | Deletes documents by a query. Args: query_body: The body of the query to delete documents by. | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1508 | Gets an OpenSearch document chunk. Will raise an exception if the document chunk is not found. Args: | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1554 | Searches the index. NOTE: Does not return vector fields. In order to take advantage of performance bene | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1653 | Searches the index and returns only document chunk IDs. In order to take advantage of the performance benefits | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1746 | Opens a point-in-time (PIT) over this index for a consistent scan. The PIT pins the index across searches so co | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1791 | Fetches one page of regular chunks for a batch of documents from a PIT. Filters to regular chunks (max_chunk_si | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1970 | Extracts the hits and profiling information from a search result. Args: result: The search result t | STRING |
| HIGH | …document_index/opensearch/opensearch_document_index.py | 387 | Indexes an iterable of document chunks into the document index. Groups chunks by document ID and for each docum | STRING |
| HIGH | …document_index/opensearch/opensearch_document_index.py | 514 | Deletes all chunks for a given document. Does nothing if the specified document ID does not exist. TOD | STRING |
| HIGH | backend/onyx/document_index/opensearch/search.py | 892 | Returns filters to be passed into the "filter" key of a search query. The "filter" key applies a logical AND op | STRING |
| HIGH | backend/onyx/document_index/opensearch/search.py | 962 | Returns a filter for the access control list. Since this returns an isolated bool should clause, it can be | STRING |
| HIGH | backend/onyx/document_index/opensearch/search.py | 1005 | Returns a filter for the source types. Since this returns an isolated terms clause, it can be cached in | STRING |
| HIGH | backend/onyx/document_index/opensearch/search.py | 1042 | Returns a filter for the tags. Since this returns an isolated terms clause, it can be cached in | STRING |
| HIGH | backend/onyx/document_index/opensearch/search.py | 1079 | Returns a filter for the document sets. Since this returns an isolated terms clause, it can be cached in | STRING |
| HIGH | backend/onyx/document_index/opensearch/search.py | 1194 | Returns a filter for documents explicitly attached to an assistant. Since this returns an isol | STRING |
| HIGH | backend/onyx/document_index/opensearch/search.py | 1228 | Returns a filter for chunks whose ancestors include any of the given hierarchy nodes. | STRING |
| HIGH | …end/onyx/document_index/opensearch/string_filtering.py | 13 | Filters and validates a document ID such that it can be used as an ID in OpenSearch. OpenSearch imposes th | STRING |
| HIGH | backend/onyx/document_index/opensearch/schema.py | 376 | Returns the document schema for the OpenSearch index. WARNING: Changes / additions to field names here require | STRING |
| HIGH | …nd/onyx/context/search/federated/slack_search_utils.py | 63 | Get the channel type that requires a specific Slack scope. Args: scope: The Slack API scope (e.g., 'mpim:re | STRING |
| HIGH | backend/onyx/chat/llm_step.py | 1060 | Run an LLM step and stream the response as packets. NOTE: DO NOT TOUCH THIS FUNCTION BEFORE ASKING YUHONG, this is v | STRING |
| HIGH | backend/onyx/chat/chat_utils.py | 154 | Create a chat session from a ChatSessionCreationRequest. Includes project ownership and persona access validation. | STRING |
| HIGH | backend/onyx/redis/tenant_redis_client.py | 32 | Idempotently prepends the tenant prefix to a key. Module-level (not a method) so ``TenantRedisClient`` and ``Te | STRING |
| HIGH | backend/onyx/redis/lock_context.py | 22 | Context manager to acquire a system-wide shared Redis lock. Args: lock_name: Name of the lock to acquire. | STRING |
| HIGH | backend/onyx/file_store/utils.py | 272 | Save a file from either a URL or base64 encoded string. Args: url: URL to download file from base64 | STRING |
| HIGH | backend/onyx/server/features/default_assistant/api.py | 56 | Update the default assistant configuration. Args: update_request: Request with optional tool_ids and system | STRING |
| HIGH | backend/onyx/server/manage/validate_tokens.py | 49 | Validate that the user_token is a valid user OAuth token (xoxp-...) and not a bot token (xoxb-...) Args: | STRING |
| HIGH | backend/onyx/utils/variable_functionality.py | 77 | Fetches a versioned implementation of a specified attribute from a given module. This function first checks if | STRING |
| HIGH | backend/onyx/utils/variable_functionality.py | 170 | Fetches an EE implementation if EE is enabled, otherwise returns a no-op function. Raises an exception if EE is | STRING |
| HIGH | backend/onyx/utils/url.py | 401 | Make a GET request with SSRF protection. This function resolves the hostname, validates the IP is not private/ | STRING |
| HIGH | backend/onyx/utils/search_nlp_models_utils.py | 2 | Parse AWS API key string into components. Args: api_key: String in format 'aws_ACCESSKEY_SECRETKEY_REGION' | STRING |
| HIGH | backend/onyx/secondary_llm_flows/query_expansion.py | 77 | Rephrase a query into a standalone query using chat history context. Converts the user's query into a self-containe | STRING |
| HIGH | backend/onyx/secondary_llm_flows/query_expansion.py | 159 | Expand a query into multiple keyword-only queries using chat history context. Converts the user's query into a set | STRING |
| HIGH | backend/onyx/onyxbot/discord/handle_commands.py | 373 | Sync channel configs with current Discord channels for a guild. Fetches current channels from Discord and syncs wit | STRING |
| HIGH | backend/onyx/onyxbot/discord/api_client.py | 101 | Send a chat message to the Onyx API server and get a response. This method sends a non-streaming chat request t | STRING |
| HIGH | backend/onyx/voice/interface.py | 151 | Create a streaming transcription session. Args: audio_format: Audio format being sent (e.g | STRING |
| HIGH | backend/onyx/voice/interface.py | 168 | Create a streaming TTS session for real-time audio synthesis. Args: voice: Voice identifie | STRING |
| HIGH | backend/onyx/voice/factory.py | 6 | Factory function to get the appropriate voice provider implementation. Args: provider: VoiceProvider m | STRING |
| HIGH | backend/onyx/kg/clustering/normalizations.py | 232 | Match each entity against a list of normalized entities using fuzzy matching. Returns the best matching normali | STRING |
| HIGH | backend/onyx/db/discord_bot.py | 79 | Get existing Discord service API key or create one. The API key is used by the Discord bot to authenticate with the | STRING |
| HIGH | backend/onyx/db/persona.py | 1812 | Update only tools and system_prompt for the default assistant. Args: db_session: Database session t | STRING |
| HIGH | backend/onyx/db/entities.py | 26 | Add or update a new staging entity to the database. Args: db_session: SQLAlchemy session name: Name | STRING |
| HIGH | backend/onyx/db/relationships.py | 37 | Add or update a new staging relationship to the database. Args: db_session: SQLAlchemy database sessio | STRING |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/ee/onyx/server/tenants/tier_management.py | 4 | {"customer_tier": "BUSINESS", "trial_end": "2026-06-01T12:00:00+00:00" | null} | STRING |
| HIGH | backend/ee/onyx/server/query_history/models.py | 256 | "The file metadata must be non-null, and must be of type `dict[str, str]`" | CODE |
| HIGH | …rnal_dependency_unit/tracing/test_tracing_admin_api.py | 30 | # Handlers tolerate a None user (updated_by becomes null); cast to satisfy typing. | COMMENT |
| HIGH | …/tests/unit/onyx/tools/test_coding_agent_repo_setup.py | 46 | cmd="tar -xzf repo.tar.gz --strip-components=1 && rm repo.tar.gz && ls", | CODE |
| HIGH⚡ | …_implementations/websearch/test_web_search_tool_run.py | 68 | # Control chars (e.g. null) removed; no space inserted | COMMENT |
| HIGH | …text/search/federated/test_slack_query_construction.py | 234 | mock_llm.invoke.return_value.content = '{"days_back": null}' | CODE |
| HIGH | …/tests/unit/onyx/chat/test_argument_delta_streaming.py | 617 | """Non-string values (numbers, booleans, null) are skipped — they are | STRING |
| HIGH⚡ | …eatures/craft/sandbox/test_session_workspace_script.py | 88 | f'"$(readlink /proc/$NEXTJS_PID/cwd 2>/dev/null)"' | CODE |
| HIGH | backend/tests/unit/onyx/utils/test_json_river.py | 222 | deltas = _all_deltas(['{"key": null}']) | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 215 | f"base64 {shlex.quote(self._abs_posix)} 2>/dev/null || echo __MISSING__" | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 230 | f"find {shlex.quote(self._abs_posix)} -mindepth 1 2>/dev/null || true" | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 468 | "-mindepth 1 -delete 2>/dev/null; true", | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 475 | "find /workspace/sessions -mindepth 1 -delete 2>/dev/null; true", | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 758 | f"cat {output_path} 2>/dev/null || true", | CODE |
| HIGH | …s/integration/tests/craft/k8s/test_snapshot_restore.py | 203 | f"[ -d /workspace/sessions/{session_id} ] && echo PRESENT || echo MISSING", | CODE |
| HIGH | …s/integration/tests/craft/k8s/test_snapshot_restore.py | 259 | "rm -rf /workspace/managed/skills && mkdir -p /workspace/managed", | CODE |
| HIGH | …s/integration/tests/craft/k8s/test_snapshot_restore.py | 411 | "ls -1 /workspace/sessions/ /workspace/ 2>&1 || true", | CODE |
| HIGH | …s/integration/tests/craft/k8s/test_snapshot_restore.py | 422 | "[ -e /workspace/escape.txt ] && echo PRESENT || echo MISSING", | CODE |
| HIGH | …s/integration/tests/craft/k8s/test_snapshot_restore.py | 434 | "&& echo PRESENT || echo MISSING", | CODE |
| HIGH | …on/tests/craft/k8s/test_kubernetes_sandbox_file_ops.py | 89 | f"mkdir -p {outputs_dir}/subdir && echo content > {outputs_dir}/file.txt", | CODE |
| HIGH | …on/tests/craft/k8s/test_kubernetes_sandbox_file_ops.py | 165 | "2>/dev/null; true", | CODE |
| HIGH | …integration/tests/craft/k8s/test_kubernetes_sandbox.py | 59 | f"test -d {required} && echo OK || echo MISSING", | CODE |
| HIGH | …integration/tests/craft/k8s/test_kubernetes_sandbox.py | 81 | f"test -d {session_path}/{sub} && echo OK || echo MISSING", | CODE |
| HIGH | …integration/tests/craft/k8s/test_kubernetes_sandbox.py | 90 | f"test -f {session_path}/{fname} && echo OK || echo MISSING", | CODE |
| HIGH⚡ | …integration/tests/craft/k8s/test_kubernetes_sandbox.py | 101 | f"readlink {session_path}/.opencode/skills || echo MISSING", | CODE |
| HIGH⚡ | …integration/tests/craft/k8s/test_kubernetes_sandbox.py | 111 | f"readlink {session_path}/user_library || echo MISSING", | CODE |
| HIGH | …integration/tests/craft/k8s/test_kubernetes_sandbox.py | 179 | "[ -d /var/run/secrets/eks.amazonaws.com ] && echo PRESENT || echo MISSING", | CODE |
| HIGH | …integration/tests/craft/k8s/test_kubernetes_sandbox.py | 202 | "echo agent-write > /workspace/managed/probe.txt 2>&1 || echo BLOCKED", | CODE |
| HIGH | …integration/tests/craft/k8s/test_kubernetes_sandbox.py | 280 | "-w '%{http_code}' https://1.1.1.1 || echo BLOCKED:$?" | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/test_browser.py | 44 | "&& browser open https://example.com && browser snapshot -i", | CODE |
| HIGH | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 209 | f"[ -d /workspace/sessions/{session_id} ] && echo PRESENT || echo MISSING", | CODE |
| HIGH | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 220 | f"&& echo YES || echo NO", | CODE |
| HIGH | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 270 | f"&& echo YES || echo NO", | CODE |
| HIGH⚡ | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 297 | f"test -d {session_a_web}/node_modules/lodash && echo YES || echo NO", | CODE |
| HIGH⚡ | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 297 | f"test -d {session_a_web}/node_modules/lodash && echo YES || echo NO", | CODE |
| HIGH⚡ | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 305 | f"test -f {session_b_web}/node_modules/next/package.json && echo OK || echo BROKEN", | CODE |
| HIGH⚡ | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 305 | f"test -f {session_b_web}/node_modules/next/package.json && echo OK || echo BROKEN", | CODE |
| HIGH | …ckend/tests/integration/tests/cli/test_cli_commands.py | 13 | cd cli && go build -o /tmp/onyx-cli-test . | STRING |
| HIGH | …sts/daily/connectors/gitbook/test_gitbook_connector.py | 86 | assert 'res.push("FizzBuzz")' in content | CODE |
| HIGH | backend/onyx/llm/litellm_singleton/monkey_patches.py | 324 | # Terminal events may carry "output": null, which upstream iterates. | COMMENT |
| HIGH | backend/onyx/chat/tool_call_args_streaming.py | 35 | NOTE: Non-string arguments (numbers, booleans, null, arrays, objects) | STRING |
| HIGH | backend/onyx/server/query_and_chat/token_limit.py | 142 | # the token check. Guarding <= 0 means a 0 (new cost-only rows store null, | COMMENT |
| HIGH | backend/onyx/server/gateway/models.py | 66 | semantics (some keys must be present even when null, others absent — not | STRING |
| HIGH⚡ | backend/onyx/hooks/models.py | 55 | "fail_strategy cannot be null; omit the field to leave it unchanged." | CODE |
| HIGH⚡ | backend/onyx/hooks/models.py | 59 | "timeout_seconds cannot be null; omit the field to leave it unchanged." | CODE |
| HIGH | backend/onyx/hooks/points/document_ingestion.py | 59 | description="Sections of the document. Includes both text sections (text set, image_file_id null) and image sect | CODE |
| HIGH | backend/onyx/prompts/federated_search.py | 65 | 2. If no date/time is mentioned, return {{"days_back": null}} | CODE |
| HIGH | …end/onyx/skills/builtin/pptx/scripts/office/soffice.py | 114 | if (sv[0] >= 0 && sv[0] < 1024) { | CODE |
| HIGH | …end/onyx/skills/builtin/pptx/scripts/office/soffice.py | 133 | if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) { | CODE |
| HIGH | …end/onyx/skills/builtin/pptx/scripts/office/soffice.py | 142 | if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) { | CODE |
| HIGH | …end/onyx/skills/builtin/pptx/scripts/office/soffice.py | 156 | if (fd >= 0 && fd < 1024 && is_shimmed[fd]) { | CODE |
| HIGH | …sions/eaa3b5593925_add_default_slack_channel_config.py | 54 | '{"channel_name": null, ' | CODE |
| HIGH | …cd424f32b1d_user_file_data_preparation_and_backfill.py | 270 | # Backfill existing records: if document_id is not null, set to FALSE | STRING |
| HIGH | …mbic/versions/a5370af8f8a0_persona_default_model_fk.py | 67 | # (both string columns non-null). Rows whose default_model_configuration_id | COMMENT |
| HIGH⚡ | …/505c488f6662_merge_default_assistants_into_unified.py | 130 | :datetime_aware, null, true | CODE |
| HIGH | …embic/versions/c9e2cd766c29_add_s3_file_store_table.py | 222 | # Find all files currently stored in PostgreSQL (lobj_oid is not null) | COMMENT |
| HIGH | loadtest/mock_llm/app.py | 296 | # its tool_calls entries), but finish_reason is always present (null). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/lib/opal/scripts/convert-svg.sh | 42 | # Check if file exists | COMMENT |
| LOW | web/lib/opal/scripts/convert-svg.sh | 48 | # Check if it's an SVG file | COMMENT |
| LOW | desktop/scripts/generate-icons.sh | 10 | # Check if ImageMagick is installed | COMMENT |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 575 | # Check if the task has exceeded its timeout | COMMENT |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 992 | # Check if the task has exceeded its timeout | COMMENT |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 101 | # Check if repository has any permission changes | COMMENT |
| LOW | backend/ee/onyx/external_permissions/github/utils.py | 222 | # Check if collaborator is outside the organization | COMMENT |
| LOW⚡ | …yx/external_permissions/sharepoint/permission_utils.py | 198 | # Check if it's already a GUID | COMMENT |
| LOW⚡ | …yx/external_permissions/sharepoint/permission_utils.py | 203 | # Check if it's a SharePoint claims token | COMMENT |
| LOW | …e/onyx/external_permissions/google_drive/group_sync.py | 79 | # Check if the folder has permission IDs but no permissions | COMMENT |
| LOW | backend/ee/onyx/server/scim/api.py | 593 | # Assign user to default group BEFORE commit so everything is atomic. | COMMENT |
| LOW | backend/ee/onyx/server/tenants/billing.py | 116 | # Check if the response indicates no subscription | COMMENT |
| LOW | backend/ee/onyx/server/billing/service.py | 252 | # Check if no subscription | COMMENT |
| LOW | backend/ee/onyx/utils/license.py | 119 | # Check if grace period has expired | COMMENT |
| LOW | backend/ee/onyx/utils/license.py | 123 | # Check if license has expired | COMMENT |
| LOW | backend/ee/onyx/db/user_group.py | 594 | # Check if the user is a curator in any of their groups | COMMENT |
| LOW | backend/ee/onyx/db/standard_answer.py | 262 | # Check if all of the keyword words are in the query words | COMMENT |
| LOW | backend/ee/onyx/db/analytics.py | 340 | # Check if the user created the persona | COMMENT |
| LOW | …ndency_unit/answer/test_stream_chat_message_objects.py | 41 | # Check if this is a call to the embedding endpoint | COMMENT |
| LOW | …ndency_unit/answer/test_stream_chat_message_objects.py | 123 | # Check if we got MessageResponseIDInfo packet (indicating message was created) | COMMENT |
| LOW | …pendency_unit/file_store/test_file_store_non_mocked.py | 197 | # Read the file back | COMMENT |
| LOW | …pendency_unit/file_store/test_file_store_non_mocked.py | 276 | # Read the file back | COMMENT |
| LOW | …pendency_unit/file_store/test_file_store_non_mocked.py | 533 | # Read the file back | COMMENT |
| LOW⚡ | backend/tests/unit/onyx/llm/test_true_openai_model.py | 34 | # Check if this specific dated version exists in the registry | COMMENT |
| LOW⚡ | backend/tests/unit/onyx/llm/test_true_openai_model.py | 128 | # Check if embedding models are in the registry | COMMENT |
| LOW | backend/tests/integration/common_utils/document_acl.py | 82 | # Check if user has any matching ACL entry | COMMENT |
| LOW⚡ | backend/tests/integration/common_utils/managers/file.py | 77 | # Read the file content | COMMENT |
| LOW | …tion/multitenant_tests/tenants/test_tenant_creation.py | 129 | # Check if image gen config was created during tenant provisioning | COMMENT |
| LOW⚡ | …nant_tests/discord_bot/test_discord_bot_multitenant.py | 66 | # Check if guild is already registered | COMMENT |
| LOW | …n/multitenant_tests/invitation/test_user_invitation.py | 105 | # Check if the invited user is in the list of users with BASIC role | COMMENT |
| LOW | …/tests/integration/connector_job_tests/github/utils.py | 52 | # Check if we have admin permissions | COMMENT |
| LOW | …or_job_tests/sharepoint/test_sharepoint_permissions.py | 116 | # Check if user 2 has access to any non-public documents | COMMENT |
| LOW | …egration/tests/llm_auto_update/test_auto_llm_update.py | 109 | # Check if we have all expected models | COMMENT |
| LOW | …/tests/integration/tests/users/test_user_pagination.py | 60 | # Add the user_performing_action to the list of admins | COMMENT |
| LOW | …ckend/tests/integration/tests/users/test_seat_limit.py | 123 | # Set license to 1 seat — only admin counts now | COMMENT |
| LOW | …ntegration/tests/indexing/test_repeated_error_state.py | 116 | # Check if the connector is in a repeated error state | COMMENT |
| LOW | …ervices/mcp_test_server/run_mcp_server_google_oauth.py | 97 | # Check if token has an error (Google returns 200 with error field sometimes) | COMMENT |
| LOW | …sts/daily/connectors/google_drive/test_map_test_ids.py | 63 | # Check if this document's name matches our test file naming pattern (file_X.txt) | COMMENT |
| LOW | backend/shared_configs/configs.py | 12 | # Check if model server is disabled | COMMENT |
| LOW⚡ | …nyx/background/celery/tasks/hierarchyfetching/tasks.py | 97 | # Check if we've fetched hierarchy recently | COMMENT |
| LOW⚡ | …nyx/background/celery/tasks/hierarchyfetching/tasks.py | 103 | # Check if enough time has passed since last fetch | COMMENT |
| LOW | …nyx/background/celery/tasks/hierarchyfetching/tasks.py | 284 | # Check if the connector supports hierarchy fetching | COMMENT |
| LOW | …nyx/background/celery/tasks/hierarchyfetching/tasks.py | 303 | # Check if connector is public - all hierarchy nodes from public connectors | COMMENT |
| LOW | …yx/background/celery/tasks/connector_deletion/tasks.py | 435 | # Check if the taskset still exists in Redis without reading its size. | COMMENT |
| LOW | backend/onyx/background/celery/tasks/pruning/tasks.py | 823 | # Check if the taskset still exists in Redis without reading its size. | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 240 | # Check if this attempt has been updated with heartbeat tracking | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 252 | # Check if the heartbeat counter has advanced since last check | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 458 | # Check if the CC Pair should be moved to INITIAL_INDEXING | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 556 | # Check if indexing is complete and all batches are processed | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 1669 | # Check if chunk indexing usage limit has been exceeded before processing. | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/utils.py | 60 | # Check if the associated indexing attempt has been cancelled | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/utils.py | 65 | # Check if the task has exceeded its timeout | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/utils.py | 135 | # Check if the associated indexing attempt has been cancelled | COMMENT |
| LOW | backend/onyx/background/celery/apps/primary.py | 218 | # Check if the Celery task actually exists | COMMENT |
| LOW | backend/onyx/background/indexing/run_docfetching.py | 654 | # Check if connector is disabled mid run and stop if so unless it's the secondary | COMMENT |
| LOW | backend/onyx/connectors/models.py | 179 | # Check if all fields are None | COMMENT |
| LOW | backend/onyx/connectors/discord/connector.py | 206 | # Set start_time to the later of start and pull_date, or whichever is provided | COMMENT |
| LOW | backend/onyx/connectors/jira/access.py | 37 | # Check if EE is enabled | COMMENT |
| LOW | backend/onyx/connectors/github/utils.py | 25 | # Check if EE is enabled | COMMENT |
| LOW | backend/onyx/connectors/github/connector.py | 1398 | # Check if we can access any repos | COMMENT |
| 145 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 43 | // Step 1: Login as admin to create test fixtures | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 47 | // Step 2: Create a user group that will have access to the restricted provider | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 58 | // Step 3: Create a restricted LLM provider assigned to that group | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 68 | // Step 4: Logout and login as a random user (who won't be in the restricted group) | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 72 | // Step 5: Navigate to the assistant creation page | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 76 | // Step 6: Scroll to the Default Model section | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 80 | // Step 7: Get all available LLM provider options | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 83 | // Step 8: Verify that we have some options (at least the default provider) | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 86 | // Step 9: Verify the restricted provider does NOT appear | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 92 | // Step 10: Verify that default/public providers DO appear | COMMENT |
| LOW⚡ | …src/sections/actions/modals/MCPAuthenticationModal.tsx | 401 | // Step 1: Save the authentication configuration to the MCP server | COMMENT |
| LOW⚡ | …src/sections/actions/modals/MCPAuthenticationModal.tsx | 409 | // Step 2: Update status to AWAITING_AUTH after successful config save | COMMENT |
| LOW⚡ | …src/sections/actions/modals/MCPAuthenticationModal.tsx | 417 | // Step 3: For OAuth, initiate the OAuth flow | COMMENT |
| LOW⚡ | …app/message/messageComponents/timeline/transformers.ts | 59 | * // Step 1: Build Map<turnIndex, TransformedStep[]> | COMMENT |
| LOW⚡ | …app/message/messageComponents/timeline/transformers.ts | 67 | * // Step 2: Sort turn indices & steps by tabIndex | COMMENT |
| LOW⚡ | …app/message/messageComponents/timeline/transformers.ts | 69 | * // Step 3: Build TurnGroup[] with isParallel flag | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 435 | * // Step 1: Map keys → GroupedPacket (parse key, lookup packets) | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 443 | * // Step 2: Filter (hasContentPackets check) | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 451 | * // Step 3: Sort by turn_index, then tab_index | COMMENT |
| LOW | …eComponents/timeline/hooks/usePacedTurnGroups.test.tsx | 421 | // Step 1: Render with finalAnswerComing=true, no tool steps | COMMENT |
| LOW | …eComponents/timeline/hooks/usePacedTurnGroups.test.tsx | 443 | // Step 2: finalAnswerComing goes false + new tool step arrives | COMMENT |
| LOW⚡ | …eComponents/timeline/hooks/usePacedTurnGroups.test.tsx | 456 | // Step 3: Add a second tool step so pacing is not yet complete | COMMENT |
| LOW⚡ | …eComponents/timeline/hooks/usePacedTurnGroups.test.tsx | 466 | // Step 4: Advance timer to complete pacing | COMMENT |
| LOW⚡ | …ests/external_dependency_unit/llm/test_llm_provider.py | 500 | # Step 7: Change the default provider to provider 2 | COMMENT |
| LOW⚡ | …ests/external_dependency_unit/llm/test_llm_provider.py | 503 | # Step 8: Call run_test_default_provider - should use provider 2 | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 411 | # Step 1: Create provider 1 with models, it becomes default (first provider) | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 429 | # Step 2: Call run_test_default_provider - should use provider 1's default model | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 440 | # Step 3: Create provider 2 (not default) | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 459 | # Step 4: Call run_test_default_provider - should still use provider 1 | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 470 | # Step 5: Update provider 1's default model | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 489 | # Step 6: Call run_test_default_provider - should use new model on provider 1 | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 172 | # Step 4: Set the provider as default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 175 | # Step 5: Fetch the default provider and verify | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 572 | # Step 3: Verify provider 1 is still the default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 580 | # Step 4: Change the default to provider 2 | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 587 | # Step 5: Verify provider 2 is now the default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 595 | # Step 6: Run test_default_provider and verify it uses provider 2's model | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 152 | # Step 3: Verify all models from the GitHub config are present | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 312 | # Step 1: Upload provider WITHOUT auto mode, with initial models | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 339 | # Step 2: Update provider to enable auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 359 | # Step 3: Verify model visibility after auto mode transition | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 530 | # Step 1: Create provider 1 (OpenAI) with auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 557 | # Step 2: Create provider 2 (Anthropic) with auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 637 | # Step 1: Create provider with no model configs | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 652 | # Step 2: Run sync_auto_mode_models (simulating the periodic sync) | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 665 | # Step 3: Every ModelConfiguration must have at least one LLMModelFlow | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 687 | # Step 4: The provider must appear in fetch_existing_llm_providers | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 732 | # Step 1: Create manual-mode provider and set as default | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 759 | # Step 2: Transition to auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 779 | # Step 3: Default should be preserved on this provider | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 820 | # Step 1: Create in auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 849 | # Step 2: Switch to manual mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 870 | # Step 3: Models unchanged | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 918 | # Step 1: Create with config v1 | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 937 | # Step 2: Re-sync with config v2 | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 951 | # Step 3: Verify | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1102 | # Step 2: Set gpt-4o as global default | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1114 | # Step 3: Re-sync with config v2 (gpt-4o removed) | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1128 | # Step 4: Verify visibility | COMMENT |
| LOW⚡ | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 282 | # Step 1: ensure the SOURCE node exists (mirrors what the pruning task does) | COMMENT |
| 128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 253 | # PRESENT still has contextual RAG disabled, so default should be None | COMMENT |
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 264 | # Now PRESENT has contextual RAG enabled, default should match | COMMENT |
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 310 | # Create FUTURE settings with contextual RAG enabled | COMMENT |
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 317 | # PRESENT still has contextual RAG disabled, so default should be None | COMMENT |
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 328 | # Now PRESENT has contextual RAG enabled, default should match | COMMENT |
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 383 | # PRESENT has contextual RAG disabled, so default should be None | COMMENT |
| MEDIUM | …ests/external_dependency_unit/db/test_port_flow_e2e.py | 165 | # The port re-embeds PRESENT -> FUTURE against the local embedding model server; | COMMENT |
| MEDIUM | …_dependency_unit/celery/test_docprocessing_priority.py | 307 | # embedding model" lookup can pick it up and corrupt later real | COMMENT |
| MEDIUM⚡ | …external_dependency_unit/indexing/test_port_reembed.py | 147 | # RAG on in both, model changed -> AUGMENTATION (re-enrich under new LLM) | COMMENT |
| MEDIUM⚡ | …external_dependency_unit/indexing/test_port_reembed.py | 155 | # RAG on in both, same model -> only the embedder could differ -> MODEL_ONLY | COMMENT |
| MEDIUM⚡ | …external_dependency_unit/indexing/test_port_reembed.py | 163 | # RAG OFF in both: a stale model-id difference is irrelevant (no enrichment in | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 355 | # stored (BM25) content rebuilt without the contextual-RAG augmentation | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 420 | # Stub the contextual-RAG enrichment (the LLM call is the indexing pipeline's | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 440 | # PRESENT had RAG off: no doc_summary/chunk_context glued in. | COMMENT |
| MEDIUM | …/unit/onyx/document_index/opensearch/test_port_copy.py | 155 | # RAG-on AUGMENTATION re-embeds one doc per page (bounds the unheartbeated LLM | COMMENT |
| MEDIUM⚡ | …/unit/onyx/document_index/opensearch/test_port_copy.py | 202 | # RAG-off AUGMENTATION has no LLM step, so it streams PIT pages as-is rather than | COMMENT |
| MEDIUM⚡ | …/unit/onyx/document_index/opensearch/test_port_copy.py | 207 | [_chunk("doc_a")], # doc_a spans PIT pages; not reassembled when RAG is off | CODE |
| MEDIUM | …x/server/manage/llm/test_nebius_tokenfactory_models.py | 56 | # embedding model -> must be dropped | COMMENT |
| MEDIUM | …sts/unit/onyx/server/manage/llm/test_portkey_models.py | 18 | # an embedding model (must be dropped), and an id-less entry (must be skipped). | COMMENT |
| MEDIUM | backend/tests/unit/onyx/indexing/test_embedder.py | 35 | # Mock the encode method of the embedding model | COMMENT |
| MEDIUM | backend/tests/unit/onyx/indexing/test_embedder.py | 86 | # Verify the embedding model was called exactly as follows | COMMENT |
| MEDIUM⚡ | backend/tests/unit/external_apps/test_token_refresh.py | 234 | # ensure_fresh_credentials orchestration (own short sessions, single-flight) | COMMENT |
| MEDIUM⚡ | …egration/tests/search_settings/test_search_settings.py | 324 | # Create secondary settings without contextual RAG | COMMENT |
| MEDIUM⚡ | …egration/tests/search_settings/test_search_settings.py | 332 | # Update the *current* (primary) settings with a contextual RAG model | COMMENT |
| MEDIUM⚡ | …egration/tests/search_settings/test_search_settings.py | 359 | # First: no contextual RAG | COMMENT |
| MEDIUM⚡ | …egration/tests/search_settings/test_search_settings.py | 368 | # Second: with contextual RAG | COMMENT |
| MEDIUM | …egration/tests/search_settings/test_search_settings.py | 153 | # Unset by disabling contextual RAG | COMMENT |
| MEDIUM | backend/shared_configs/model_server_models.py | 10 | # Can be none for cloud embedding model requests, error handling logic exists for other cases | COMMENT |
| MEDIUM | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 629 | # NOTE: _run_indexing doesn't update connectors if the index attempt is the future embedding model | COMMENT |
| MEDIUM | …nd/onyx/background/celery/tasks/docprocessing/utils.py | 266 | # NOTE: during an embedding model switch over, the following logic | COMMENT |
| MEDIUM | backend/onyx/document_index/opensearch/port_copy.py | 100 | # Contextual RAG-on AUGMENTATION: buffer to reassemble each doc (chunks span PIT pages), then | COMMENT |
| MEDIUM | backend/onyx/tools/models.py | 139 | # agentic additions; only need to set during agentic tool calls | COMMENT |
| MEDIUM | backend/onyx/tools/tool_constructor.py | 66 | # project's/persona's user files didn't fit in the LLM context window and | COMMENT |
| MEDIUM | backend/onyx/llm/model_capabilities.py | 81 | # allows the user to specify their desired max context window, and it's | COMMENT |
| MEDIUM | backend/onyx/llm/utils.py | 499 | # for each chunk, we prompt the LLM with the contextual RAG prompt | COMMENT |
| MEDIUM | backend/onyx/context/search/models.py | 123 | # context window and must be searched via vector DB instead of being loaded | COMMENT |
| MEDIUM | backend/onyx/chat/process_message.py | 368 | # 60% of the LLM's max context window. The other benefit is that for projects with | COMMENT |
| MEDIUM | backend/onyx/chat/process_message.py | 857 | # Use the smallest context window across models for safety (harmless for N=1). | COMMENT |
| MEDIUM | backend/onyx/chat/llm_loop.py | 767 | # undercount the provider's tokenizer and overflow the context window. | COMMENT |
| MEDIUM | backend/onyx/chat/chat_utils.py | 614 | # Drop any single message that would dominate the context window. | COMMENT |
| MEDIUM | backend/onyx/server/metrics/postgres_connection_pool.py | 36 | # --- Pool lifecycle counters (event-driven) --- | COMMENT |
| MEDIUM | backend/onyx/server/metrics/postgres_connection_pool.py | 68 | # --- Per-endpoint attribution (event-driven) --- | COMMENT |
| MEDIUM | backend/onyx/server/settings/models.py | 125 | # False when DISABLE_VECTOR_DB is set — connectors, RAG search, and | COMMENT |
| MEDIUM | backend/onyx/server/features/search/api.py | 117 | # Since the agentic search flow requires multiple LLM calls | COMMENT |
| MEDIUM | backend/onyx/server/manage/invite_rate_limit.py | 34 | # bypass entirely — their guardrails are seat limits and the per-admin lifetime | COMMENT |
| MEDIUM | backend/onyx/server/manage/search_settings.py | 87 | # Disallow contextual RAG for cloud deployments. | COMMENT |
| MEDIUM | backend/onyx/server/manage/search_settings.py | 421 | # Disallow contextual RAG for cloud deployments | COMMENT |
| MEDIUM | backend/onyx/server/manage/voice/websocket_api.py | 39 | # Whisper-style models pad short inputs to a 30s window and hallucinate | COMMENT |
| MEDIUM | …/onyx/natural_language_processing/search_nlp_models.py | 1086 | # 2. we are using an API-based embedding model (provider_type is not | COMMENT |
| MEDIUM | backend/onyx/configs/chat_configs.py | 99 | # Trigger compression when history exceeds this ratio of available context window | COMMENT |
| MEDIUM | backend/onyx/configs/embedding_configs.py | 21 | # Base embedding model configurations (without precision) | COMMENT |
| MEDIUM | backend/onyx/configs/app_configs.py | 78 | # Disables vector DB (Vespa/OpenSearch) entirely. When True, connectors and RAG search | COMMENT |
| MEDIUM | backend/onyx/configs/app_configs.py | 100 | # (across users / agentic sub-queries) don't re-hit the embedding provider. | COMMENT |
| MEDIUM | backend/onyx/configs/app_configs.py | 1427 | # When swapping to a new embedding model, a secondary index is created in the background, to conserve | COMMENT |
| MEDIUM | backend/onyx/configs/app_configs.py | 1466 | # Enable multi-threaded embedding model calls for parallel processing | COMMENT |
| MEDIUM⚡ | backend/onyx/db/models.py | 2208 | # Contextual RAG | COMMENT |
| MEDIUM⚡ | backend/onyx/db/models.py | 2211 | # Contextual RAG LLM — FK to model_configuration (replaces deprecated string columns) | COMMENT |
| MEDIUM | backend/onyx/db/swap_index.py | 69 | # Expire jobs for the now past index/embedding model | COMMENT |
| MEDIUM⚡ | backend/onyx/indexing/models.py | 60 | # This is the number of tokens reserved for contextual RAG | COMMENT |
| MEDIUM⚡ | backend/onyx/indexing/models.py | 64 | # This is the summary for the document generated for contextual RAG | COMMENT |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 43 | // Step 1: Login as admin to create test fixtures | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 47 | // Step 2: Create a user group that will have access to the restricted provider | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 58 | // Step 3: Create a restricted LLM provider assigned to that group | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 68 | // Step 4: Logout and login as a random user (who won't be in the restricted group) | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 72 | // Step 5: Navigate to the assistant creation page | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 76 | // Step 6: Scroll to the Default Model section | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 80 | // Step 7: Get all available LLM provider options | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 83 | // Step 8: Verify that we have some options (at least the default provider) | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 86 | // Step 9: Verify the restricted provider does NOT appear | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 92 | // Step 10: Verify that default/public providers DO appear | COMMENT |
| LOW⚡ | …src/sections/actions/modals/MCPAuthenticationModal.tsx | 401 | // Step 1: Save the authentication configuration to the MCP server | COMMENT |
| LOW⚡ | …src/sections/actions/modals/MCPAuthenticationModal.tsx | 409 | // Step 2: Update status to AWAITING_AUTH after successful config save | COMMENT |
| LOW⚡ | …src/sections/actions/modals/MCPAuthenticationModal.tsx | 417 | // Step 3: For OAuth, initiate the OAuth flow | COMMENT |
| LOW⚡ | …app/message/messageComponents/timeline/transformers.ts | 59 | * // Step 1: Build Map<turnIndex, TransformedStep[]> | COMMENT |
| LOW⚡ | …app/message/messageComponents/timeline/transformers.ts | 67 | * // Step 2: Sort turn indices & steps by tabIndex | COMMENT |
| LOW⚡ | …app/message/messageComponents/timeline/transformers.ts | 69 | * // Step 3: Build TurnGroup[] with isParallel flag | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 435 | * // Step 1: Map keys → GroupedPacket (parse key, lookup packets) | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 443 | * // Step 2: Filter (hasContentPackets check) | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 451 | * // Step 3: Sort by turn_index, then tab_index | COMMENT |
| LOW | …eComponents/timeline/hooks/usePacedTurnGroups.test.tsx | 421 | // Step 1: Render with finalAnswerComing=true, no tool steps | COMMENT |
| LOW | …eComponents/timeline/hooks/usePacedTurnGroups.test.tsx | 443 | // Step 2: finalAnswerComing goes false + new tool step arrives | COMMENT |
| LOW⚡ | …eComponents/timeline/hooks/usePacedTurnGroups.test.tsx | 456 | // Step 3: Add a second tool step so pacing is not yet complete | COMMENT |
| LOW⚡ | …eComponents/timeline/hooks/usePacedTurnGroups.test.tsx | 466 | // Step 4: Advance timer to complete pacing | COMMENT |
| LOW | web/src/hooks/useChatController.ts | 489 | // For pages like NRF where existingChatSessionId is always null, we need to check if | COMMENT |
| LOW | backend/ee/onyx/db/document.py | 90 | # If the document exists, we need to check if the external access has changed | COMMENT |
| LOW⚡ | …ests/external_dependency_unit/llm/test_llm_provider.py | 500 | # Step 7: Change the default provider to provider 2 | COMMENT |
| LOW⚡ | …ests/external_dependency_unit/llm/test_llm_provider.py | 503 | # Step 8: Call run_test_default_provider - should use provider 2 | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 411 | # Step 1: Create provider 1 with models, it becomes default (first provider) | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 429 | # Step 2: Call run_test_default_provider - should use provider 1's default model | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 440 | # Step 3: Create provider 2 (not default) | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 459 | # Step 4: Call run_test_default_provider - should still use provider 1 | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 470 | # Step 5: Update provider 1's default model | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 489 | # Step 6: Call run_test_default_provider - should use new model on provider 1 | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 172 | # Step 4: Set the provider as default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 175 | # Step 5: Fetch the default provider and verify | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 572 | # Step 3: Verify provider 1 is still the default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 580 | # Step 4: Change the default to provider 2 | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 587 | # Step 5: Verify provider 2 is now the default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 595 | # Step 6: Run test_default_provider and verify it uses provider 2's model | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 152 | # Step 3: Verify all models from the GitHub config are present | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 312 | # Step 1: Upload provider WITHOUT auto mode, with initial models | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 339 | # Step 2: Update provider to enable auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 359 | # Step 3: Verify model visibility after auto mode transition | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 530 | # Step 1: Create provider 1 (OpenAI) with auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 557 | # Step 2: Create provider 2 (Anthropic) with auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 637 | # Step 1: Create provider with no model configs | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 652 | # Step 2: Run sync_auto_mode_models (simulating the periodic sync) | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 665 | # Step 3: Every ModelConfiguration must have at least one LLMModelFlow | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 687 | # Step 4: The provider must appear in fetch_existing_llm_providers | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 732 | # Step 1: Create manual-mode provider and set as default | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 759 | # Step 2: Transition to auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 779 | # Step 3: Default should be preserved on this provider | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 820 | # Step 1: Create in auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 849 | # Step 2: Switch to manual mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 870 | # Step 3: Models unchanged | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 918 | # Step 1: Create with config v1 | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 937 | # Step 2: Re-sync with config v2 | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 951 | # Step 3: Verify | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1102 | # Step 2: Set gpt-4o as global default | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1114 | # Step 3: Re-sync with config v2 (gpt-4o removed) | COMMENT |
| 106 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tests/e2e/admin/connector/permission-sync-tabs.spec.ts | 323 | // assertion stays robust if the truncated text changes. | COMMENT |
| MEDIUM | …src/app/app/message/messageComponents/AgentMessage.tsx | 61 | // TODO: Consider more robust comparisons: | COMMENT |
| MEDIUM | …src/app/app/message/messageComponents/AgentMessage.tsx | 63 | // reference equality. Shallow array/object comparison would be more robust if | COMMENT |
| MEDIUM | …/src/refresh-components/popovers/FilePickerPopover.tsx | 114 | // These are the "quick" files that we show. Essentially "speed dial", but for files. | COMMENT |
| LOW | …d/ee/onyx/external_permissions/confluence/constants.py | 2 | # Instead of setting a page to public, we just add this group so that the page | COMMENT |
| LOW | …e/onyx/external_permissions/confluence/space_access.py | 190 | # that exist in confluence and then just add that group to the space permissions | COMMENT |
| LOW | …onyx/external_permissions/salesforce/postprocessing.py | 184 | # so we should just return an empty list because no chunks will be | COMMENT |
| MEDIUM | …ternal_dependency_unit/craft/test_session_lifecycle.py | 1267 | # is robust if the stub is consulted on any code path. | COMMENT |
| LOW | …ernal_dependency_unit/answer/stream_test_assertions.py | 48 | # So just return | COMMENT |
| LOW | …ency_unit/slack_bot/test_slack_bot_federated_search.py | 1 | # NOTE: ruff and black disagree after applying this noqa, so we just set file-level. | COMMENT |
| MEDIUM | …nd/tests/unit/sandbox_proxy/test_response_streaming.py | 41 | # window keeps the structural assertion robust against scheduler jitter. | COMMENT |
| MEDIUM | …/ee/onyx/server/middleware/test_license_enforcement.py | 17 | # Type alias for the middleware harness tuple | COMMENT |
| MEDIUM⚡ | backend/tests/unit/onyx/tools/test_tool_llm_names.py | 13 | # harness tool names (e.g. "browser", "bash") and starts rejecting them. | COMMENT |
| MEDIUM | …/tests/daily/connectors/zendesk/test_zendesk_data.json | 6 | "link": "https://d3v-onyx.zendesk.com/hc/en-us/articles/32502691728155-How-can-agents-leverage-knowledge-to-he | CODE |
| LOW | backend/onyx/setup.py | 364 | # on the cloud, just use float for all indices, the option to change this | COMMENT |
| MEDIUM | backend/onyx/background/celery/apps/app_base.py | 170 | """We handle this signal in order to remove completed tasks | STRING |
| LOW | backend/onyx/connectors/confluence/onyx_confluence.py | 586 | # If it's not a method, just return it after ensuring token validity | COMMENT |
| LOW | backend/onyx/connectors/confluence/onyx_confluence.py | 1318 | # For now, we'll just return None and log a warning. This means | COMMENT |
| MEDIUM | backend/onyx/connectors/slack/utils.py | 284 | """Simply replaces all tags with `@<USER_ID>` in order to prevent us from | STRING |
| LOW | backend/onyx/connectors/slack/connector.py | 600 | # we'll just set and use the last filter reason if | COMMENT |
| LOW | backend/onyx/connectors/slack/connector.py | 616 | # we'll just set and use the last filter reason if we get an empty list | COMMENT |
| MEDIUM | …document_index/opensearch/opensearch_document_index.py | 661 | # TODO(andrei): Fix the aforementioned race condition. | COMMENT |
| MEDIUM | …/onyx/tools/tool_implementations/python/python_tool.py | 222 | # OpenAI reserves the function name "python" for its own harness and | COMMENT |
| LOW | …nd/onyx/tools/tool_implementations/search/constants.py | 16 | # This may in the future just use an entirely keyword search. Currently it is a hybrid search with a keyword first phase | COMMENT |
| MEDIUM | …/onyx/llm/well_known_providers/llm_provider_options.py | 152 | # TODO: remove these lists once we have a comprehensive model configuration page | COMMENT |
| LOW⚡ | backend/onyx/chat/chat_utils.py | 309 | # if any citations weren't parsable, just add them back to be safe | COMMENT |
| LOW | backend/onyx/auth/email_utils.py | 310 | # No images, just add HTML directly (higher priority than text) | STRING |
| MEDIUM | backend/onyx/file_processing/extract_file_text.py | 418 | # Unknown PDF parsing failure — elevate just the message, not a | COMMENT |
| LOW | backend/onyx/file_processing/extract_file_text.py | 1035 | # just return empty text | COMMENT |
| LOW | backend/onyx/file_store/s3_key_utils.py | 163 | # If no space for readable part, just use hash | COMMENT |
| LOW | backend/onyx/server/auth_check.py | 28 | # should always be callable, will just return 401 if not authenticated | COMMENT |
| LOW | backend/onyx/server/features/mcp/api.py | 1773 | # TODO: just pass this in, but should work when auth is set already | COMMENT |
| LOW | backend/onyx/server/manage/llm/api.py | 483 | # Therefore, instead of performing additional, more complex logic, we just use a dummy value | COMMENT |
| MEDIUM | backend/onyx/utils/url.py | 358 | # A more robust solution would require custom SSL context | COMMENT |
| LOW | backend/onyx/secondary_llm_flows/document_filter.py | 60 | # If center chunk not found in chunks list, just return center chunk | COMMENT |
| LOW | backend/onyx/onyxbot/slack/utils.py | 611 | # For other bots, just use the text as we have no way of knowing that the | COMMENT |
| LOW | backend/onyx/configs/app_configs.py | 1561 | # we'll just use the default value, but also have it be configurable by env var. | COMMENT |
| LOW⚡ | backend/onyx/db/models.py | 2201 | # If not specified, will just use the model_dim without any reduction. | COMMENT |
| MEDIUM | backend/onyx/db/models.py | 3537 | # For "Custom LLM Providers", we don't provide a comprehensive list of models | COMMENT |
| LOW | backend/onyx/db/chat_search.py | 30 | # If no query, just return the most recent sessions | COMMENT |
| LOW | backend/onyx/db/usage.py | 82 | # No-op update: just set a field to its current value | COMMENT |
| LOW | backend/onyx/indexing/indexing_pipeline.py | 878 | # So we just pass the full prompt without caching | COMMENT |
| MEDIUM | backend/onyx/indexing/indexing_pipeline.py | 979 | # TODO: for v2, add robust retry logic | COMMENT |
| LOW | backend/onyx/deep_research/dr_loop.py | 289 | # No citations in this step, it should just pass through all | COMMENT |
| LOW | backend/onyx/deep_research/dr_loop.py | 530 | # No citations in this step, it should just pass through all | COMMENT |
| MEDIUM | backend/scripts/env_inventory.py | 432 | # locals (e.g. `connector = ...` reused in a connector __main__ harness). | COMMENT |
| MEDIUM | backend/scripts/coding_agent_test.py | 84 | # with the research_agent test harness. | COMMENT |
| LOW | …nd/alembic/versions/be2ab2aa50ee_fix_capitalization.py | 36 | # cycle, so we just pass | STRING |
| LOW | …/da42808081e3_migrate_jira_connectors_to_new_format.py | 53 | # If URL parsing fails, just use the URL as the base | STRING |
| MEDIUM | backend/alembic/versions/3bd4c84fe72f_improved_index.py | 23 | # 2. Adds indexes to both chat_message and chat_session tables for comprehensive search | COMMENT |
| MEDIUM⚡ | …deployfiles/embedded/docker_compose/docker-compose.yml | 13 | # To convert this setup to a production deployment following best practices, | COMMENT |
| MEDIUM | .devcontainer/init-dev-user.sh | 8 | # We remap dev to that UID -- fast and seamless. | COMMENT |
| MEDIUM | loadtest/k8s/locust.yaml | 1 | # Locust master + workers for the Onyx chat load tests, using the harness | COMMENT |
| MEDIUM⚡ | deployment/docker_compose/docker-compose.yml | 13 | # To convert this setup to a production deployment following best practices, | COMMENT |
| MEDIUM⚡ | deployment/docker_compose/docker-compose.template.yml | 18 | # To convert this setup to a production deployment following best practices, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/ee/onyx/server/scim/patch.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/ee/onyx/server/scim/patch.py | 232 | def _update_primary_email(data: dict[str, Any], value: ScimPatchValue) -> None: | CODE |
| LOW | backend/ee/onyx/server/scim/providers/base.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/ee/onyx/server/tenants/schema_management.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/ee/onyx/server/tenants/product_gating.py | 12 | def update_tenant_gating(tenant_id: str, status: ApplicationStatus) -> None: | CODE |
| LOW⚡ | backend/ee/onyx/db/scim.py | 118 | def update_token_last_used(self, token_id: int) -> None: | CODE |
| LOW | backend/tests/external_dependency_unit/mock_llm.py | 218 | def set_max_timeout(self, timeout: float = 5.0) -> None: | CODE |
| LOW | backend/tests/external_dependency_unit/mock_llm.py | 289 | def set_max_timeout(self, timeout: float = 5.0) -> None: | CODE |
| LOW | …ckend/tests/external_dependency_unit/craft/conftest.py | 136 | def _set_onyx_server_url(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | …ency_unit/slack_bot/test_slack_bot_federated_search.py | 313 | def _setup_embedding_mock(self, mock_get_query_embeddings: Mock) -> None: | CODE |
| LOW | …ency_unit/slack_bot/test_slack_bot_federated_search.py | 415 | def _setup_llm_provider(self, db_session: Session) -> None: | CODE |
| LOW | …ests/external_dependency_unit/db/test_shard_routing.py | 66 | def _set_tenant_shard(tenant_id: str, shard_name: str) -> None: | CODE |
| LOW | …d/tests/unit/ee/onyx/server/features/hooks/test_api.py | 51 | def _set_level(monkeypatch: pytest.MonkeyPatch, level: SSRFProtectionLevel) -> None: | CODE |
| LOW | …d/tests/unit/onyx/server/features/mcp/test_mcp_ssrf.py | 49 | def _set_level(monkeypatch: pytest.MonkeyPatch, level: SSRFProtectionLevel) -> None: | CODE |
| LOW | backend/tests/unit/onyx/utils/test_external_endpoint.py | 19 | def _setup_client(mock_client_cls: MagicMock, response: MagicMock) -> None: | CODE |
| LOW | backend/tests/integration/common_utils/http_client.py | 80 | def set_test_client(c: httpx.Client | None) -> None: | CODE |
| LOW | …end/tests/integration/tests/craft/test_webapp_proxy.py | 22 | def _set_scope(user: DATestUser, session_id: UUID, scope: SharingScope) -> None: | CODE |
| LOW⚡ | …on/tests/craft/docker_e2e/test_approval_gate_docker.py | 119 | def _set_slack_org_credentials(value: dict[str, str]) -> None: | CODE |
| LOW⚡ | …egration/tests/search_settings/test_search_settings.py | 38 | def _update_inference_settings(user: DATestUser, settings: dict) -> None: | CODE |
| LOW | …tests/streaming_endpoints/test_chat_file_attachment.py | 91 | def _set_token_threshold(admin_user: DATestUser, threshold_k: int) -> None: | CODE |
| LOW | …ntegration/mock_services/mock_connector_server/main.py | 25 | async def set_behavior(behavior: list[dict]) -> None: | CODE |
| LOW | backend/tests/utils/aws_secrets.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/tests/daily/connectors/google_drive/conftest.py | 137 | def set_resource_limits() -> None: | CODE |
| LOW | …end/tests/regression/search_quality/run_search_eval.py | 556 | def _update_metrics(self, result: AnalysisSummary) -> None: | CODE |
| LOW | backend/onyx/setup.py | 296 | def update_default_multipass_indexing(db_session: Session) -> None: | CODE |
| LOW⚡ | …nd/onyx/background/celery/tasks/vespa/document_sync.py | 56 | def set_document_sync_fence(r: TenantRedisClient, payload: int | None) -> None: | CODE |
| LOW | backend/onyx/background/celery/apps/app_base.py | 627 | def set_task_finished_log_level(logLevel: int) -> None: | CODE |
| LOW | backend/onyx/background/celery/apps/app_base.py | 715 | def update_liveness_file(self, worker: Any) -> None: # noqa: ARG002 | CODE |
| LOW | backend/onyx/connectors/interfaces.py | 93 | def set_allow_images(self, value: bool) -> None: | CODE |
| LOW | backend/onyx/connectors/interfaces.py | 97 | def set_raw_file_callback(self, callback: RawFileCallback) -> None: | CODE |
| LOW | backend/onyx/connectors/interfaces.py | 227 | def set_credentials(self, credential_json: dict[str, Any]) -> None: | CODE |
| LOW | backend/onyx/connectors/credentials_provider.py | 80 | def set_credentials(self, credential_json: dict[str, Any]) -> None: | CODE |
| LOW | backend/onyx/connectors/credentials_provider.py | 143 | def set_credentials(self, credential_json: dict[str, Any]) -> None: | CODE |
| LOW | backend/onyx/connectors/box/connector.py | 252 | def set_allow_images(self, value: bool) -> None: | CODE |
| LOW | backend/onyx/connectors/drupal_wiki/connector.py | 139 | def set_allow_images(self, value: bool) -> None: | CODE |
| LOW | backend/onyx/connectors/highspot/client.py | 92 | def _setup_auth(self) -> None: | CODE |
| LOW | backend/onyx/connectors/canvas/client.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/onyx/connectors/confluence/connector.py | 250 | def set_allow_images(self, value: bool) -> None: | CODE |
| LOW | backend/onyx/connectors/teams/connector.py | 509 | def _update_request_url(request: RequestOptions, next_url: str) -> None: | CODE |
| LOW | backend/onyx/connectors/salesforce/sqlite_functions.py | 301 | def update_email_to_id_table(self, email: str, id: str | None) -> None: | STRING |
| LOW | backend/onyx/connectors/salesforce/sqlite_functions.py | 794 | def _update_user_email_map(cursor: sqlite3.Cursor) -> None: | CODE |
| LOW | backend/onyx/connectors/gmail/connector.py | 590 | def set_page_token(page_token: str | None) -> None: | CODE |
| LOW | backend/onyx/connectors/gmail/connector.py | 648 | def set_page_token(page_token: str | None) -> None: | CODE |
| LOW | backend/onyx/connectors/google_drive/connector.py | 374 | def set_allow_images(self, value: bool) -> None: | CODE |
| LOW | backend/onyx/connectors/google_drive/connector.py | 468 | def _update_traversed_parent_ids(self, folder_id: str) -> None: | CODE |
| LOW | backend/onyx/tracing/langfuse_tracing_processor.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/onyx/tracing/setup.py | 50 | def _setup_user_usage_tracking() -> None: | CODE |
| LOW | backend/onyx/tracing/framework/provider.py | 36 | def set_processors(self, processors: list[TracingProcessor]) -> None: | CODE |
| LOW | backend/onyx/tracing/framework/provider.py | 123 | def set_processors(self, processors: list[TracingProcessor]) -> None: | CODE |
| LOW | backend/onyx/tracing/framework/provider.py | 186 | def set_processors(self, processors: list[TracingProcessor]) -> None: | CODE |
| LOW | backend/onyx/tracing/framework/__init__.py | 13 | def set_trace_processors(processors: list[TracingProcessor]) -> None: | CODE |
| LOW | backend/onyx/tracing/framework/spans.py | 137 | def set_error(self, error: SpanError) -> None: | CODE |
| LOW | backend/onyx/tracing/framework/spans.py | 228 | def set_error(self, error: SpanError) -> None: | CODE |
| LOW | backend/onyx/tracing/framework/spans.py | 329 | def set_error(self, error: SpanError) -> None: | CODE |
| LOW | backend/onyx/tracing/framework/setup.py | 11 | def set_trace_provider(provider: TraceProvider) -> None: | CODE |
| LOW | backend/onyx/document_index/interfaces_new.py | 24 | __all__ = [ | CODE |
| LOW | …document_index/opensearch/opensearch_document_index.py | 106 | def set_cluster_state(client: OpenSearchClient) -> None: | CODE |
| LOW⚡ | …d/onyx/llm/well_known_providers/auto_update_service.py | 38 | def _set_cached_last_updated_at(updated_at: datetime) -> None: | CODE |
| LOW | backend/onyx/llm/prompt_cache/__init__.py | 22 | __all__ = [ | CODE |
| LOW | backend/onyx/llm/prompt_cache/providers/__init__.py | 10 | __all__ = [ | CODE |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 588 | CODE | |
| LOW | …tests/external_dependency_unit/mock_search_pipeline.py | 137 | CODE | |
| LOW | …l_dependency_unit/opensearch/test_opensearch_client.py | 132 | CODE | |
| LOW | …external_dependency_unit/indexing/test_port_reembed.py | 60 | CODE | |
| LOW | backend/tests/unit/sandbox_proxy/conftest.py | 97 | CODE | |
| LOW | backend/tests/unit/ee/onyx/hooks/test_executor.py | 27 | CODE | |
| LOW | …kend/tests/unit/onyx/connectors/box/fake_box_client.py | 215 | CODE | |
| LOW | …s/unit/onyx/connectors/jira/test_jira_checkpointing.py | 50 | CODE | |
| LOW | …/onyx/connectors/zendesk/test_zendesk_checkpointing.py | 78 | CODE | |
| LOW | …nnectors/sharepoint/test_load_checkpoint_resilience.py | 114 | CODE | |
| LOW | …onyx/connectors/sharepoint/test_delta_checkpointing.py | 142 | CODE | |
| LOW | backend/tests/unit/onyx/chat/test_citation_utils.py | 20 | CODE | |
| LOW | backend/tests/unit/onyx/chat/test_citation_processor.py | 35 | CODE | |
| LOW | …/server/features/craft/session/test_streaming_state.py | 28 | CODE | |
| LOW | …/integration/common_utils/managers/image_generation.py | 28 | CODE | |
| LOW | …/tests/integration/common_utils/managers/user_group.py | 130 | CODE | |
| LOW | …end/tests/integration/common_utils/managers/persona.py | 18 | CODE | |
| LOW | …end/tests/integration/common_utils/managers/persona.py | 85 | CODE | |
| LOW | backend/tests/integration/common_utils/managers/chat.py | 98 | CODE | |
| LOW | backend/tests/integration/common_utils/managers/chat.py | 157 | CODE | |
| LOW | …end/tests/integration/common_utils/managers/cc_pair.py | 57 | CODE | |
| LOW | …ests/integration/common_utils/managers/llm_provider.py | 18 | CODE | |
| LOW | …ion/mock_services/mcp_test_server/run_mock_oidc_idp.py | 234 | CODE | |
| LOW | backend/tests/common/craft/stubs.py | 526 | CODE | |
| LOW | backend/onyx/connectors/confluence/connector.py | 165 | CODE | |
| LOW | backend/onyx/connectors/sharepoint/connector.py | 1215 | CODE | |
| LOW | backend/onyx/connectors/slack/connector.py | 632 | CODE | |
| LOW | backend/onyx/connectors/slack/connector.py | 834 | CODE | |
| LOW | backend/onyx/connectors/google_drive/connector.py | 277 | CODE | |
| LOW | backend/onyx/tracing/framework/create.py | 181 | CODE | |
| LOW | backend/onyx/tracing/framework/span_data.py | 108 | CODE | |
| LOW | backend/onyx/document_index/opensearch/client.py | 248 | CODE | |
| LOW | backend/onyx/document_index/opensearch/client.py | 557 | CODE | |
| LOW | backend/onyx/llm/multi_llm.py | 383 | CODE | |
| LOW | backend/onyx/llm/factory.py | 387 | CODE | |
| LOW | backend/onyx/context/search/federated/slack_search.py | 996 | CODE | |
| LOW | backend/onyx/chat/process_message.py | 1533 | CODE | |
| LOW | backend/onyx/chat/llm_loop.py | 698 | CODE | |
| LOW | backend/onyx/chat/llm_step.py | 1039 | CODE | |
| LOW | backend/onyx/chat/llm_step.py | 1536 | CODE | |
| LOW | backend/onyx/redis/tenant_redis_client.py | 149 | CODE | |
| LOW | backend/onyx/redis/tenant_redis_client.py | 1199 | CODE | |
| LOW | backend/onyx/redis/redis_pool.py | 165 | CODE | |
| LOW | backend/onyx/auth/users.py | 2655 | CODE | |
| LOW | backend/onyx/server/manage/administrative.py | 217 | CODE | |
| LOW | backend/onyx/server/documents/credential.py | 188 | CODE | |
| LOW | backend/onyx/utils/retry_wrapper.py | 78 | CODE | |
| LOW | backend/onyx/db/connector_credential_pair.py | 229 | CODE | |
| LOW | backend/onyx/db/connector_credential_pair.py | 290 | CODE | |
| LOW | backend/onyx/db/oauth_config.py | 53 | CODE | |
| LOW | backend/onyx/db/hook.py | 118 | CODE | |
| LOW | backend/onyx/db/persona.py | 227 | CODE | |
| LOW | backend/onyx/db/persona.py | 1264 | CODE | |
| LOW | backend/onyx/db/chat.py | 1057 | CODE | |
| LOW | backend/onyx/db/mcp.py | 254 | CODE | |
| LOW | backend/onyx/db/entities.py | 240 | CODE | |
| LOW | backend/onyx/db/engine/sql_engine.py | 110 | CODE | |
| LOW | backend/onyx/indexing/chunker.py | 129 | CODE | |
| LOW | backend/onyx/deep_research/utils.py | 56 | CODE | |
| LOW | backend/scripts/tenant_cleanup/cleanup_utils.py | 131 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …pendency_unit/file_store/test_azure_blob_file_store.py | 322 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | backend/onyx/background/celery/celery_utils.py | 261 | queue_names = list(worker.app.amqp.queues.consume_from.keys()) | CODE |
| CRITICAL | backend/onyx/file_store/azure_blob_file_store.py | 149 | from azure.core.exceptions import HttpResponseError, ResourceExistsError | CODE |
| CRITICAL | backend/onyx/file_store/azure_blob_file_store.py | 356 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/onyx/connectors/imap/connector.py | 51 | # Usage: | COMMENT |
| LOW | backend/onyx/redis/redis_pool.py | 276 | # # Usage example | COMMENT |
| LOW | backend/onyx/utils/subclasses.py | 107 | # Example usage: | COMMENT |
| LOW⚡ | …s/embedded/docker_compose/docker-compose.onyx-lite.yml | 10 | # Usage: | COMMENT |
| LOW | …oyfiles/embedded/docker_compose/docker-compose.dev.yml | 4 | # Usage: | COMMENT |
| LOW⚡ | deployment/docker_compose/docker-compose.onyx-lite.yml | 10 | # Usage: | COMMENT |
| LOW | deployment/docker_compose/docker-compose.dev.yml | 4 | # Usage: | COMMENT |
| LOW⚡ | deployment/helm/charts/onyx/values-lite.yaml | 9 | # Usage: | COMMENT |
| LOW | deployment/helm/dev/k8s-down.sh | 8 | # Usage: | COMMENT |
| LOW | deployment/helm/dev/k8s-up.sh | 7 | # Usage: | COMMENT |
| LOW | deployment/helm/dev/craft-down.sh | 11 | # Usage: | COMMENT |
| LOW | deployment/helm/dev/craft-up.sh | 11 | # Usage: | COMMENT |
| LOW | examples/assistants-api/topics_analyzer.py | 116 | # Example usage | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | widget/index.html | 267 | api-key="your-api-key-here" | CODE |
| HIGH | widget/README.md | 284 | Authorization: Bearer YOUR_API_KEY | CODE |
| HIGH | widget/README.md | 301 | Authorization: Bearer YOUR_API_KEY | CODE |
| HIGH | widget/README.md | 326 | VITE_WIDGET_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …onnectors/google_drive/test_google_drive_group_sync.py | 420 | CODE | |
| MEDIUM | …kend/tests/unit/background/celery/test_celery_utils.py | 39 | CODE | |
| MEDIUM | …ackground/celery/tasks/test_hierarchyfetching_queue.py | 33 | CODE | |
| MEDIUM | …nnectors/sharepoint/test_load_checkpoint_resilience.py | 235 | CODE | |
| MEDIUM | backend/tests/unit/onyx/llm/test_tracing_wrap.py | 347 | CODE | |
| MEDIUM | …r/features/craft/test_webapp_proxy_header_stripping.py | 33 | CODE | |
| MEDIUM | …nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py | 541 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/pytest.ini | 16 | # you can use it to test credentials locally. | COMMENT |
| LOW | …d/ee/onyx/external_permissions/post_query_censoring.py | 83 | # IMPORTANT: make sure to retain the same ordering as the original `chunks` passed in | COMMENT |
| LOW | …end/onyx/connectors/google_drive/section_extraction.py | 197 | # Don't forget to add the last section | COMMENT |
| LOW | backend/onyx/kg/models.py | 11 | # Note: make sure to write a migration if adding a non-nullable field or removing a field | COMMENT |
| LOW | backend/onyx/prompts/kg_prompts.py | 336 | - don't forget to provide answers also to the event filtering and whether documents need to be inspected! | CODE |
| MEDIUM | backend/onyx/prompts/coding_agent/coding_agent.py | 140 | - **No filler.** Cut "In summary,", "It's worth noting that,", "Essentially,", "Basically,", "I hope this helps". Cut se | CODE |
| LOW | backend/onyx/db/models.py | 1059 | # NOTE: if more sensitive data is added here for display, make sure to add user/group permission | COMMENT |
| LOW | backend/onyx/db/models.py | 1868 | # NOTE: if more sensitive data is added here for display, make sure to add user/group permission | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | web/tests/e2e/chat/chat_message_rendering.spec.ts | 97 | print(f"{doc.title}: {doc.score:.2f}") | CODE |
| HIGH | web/tests/e2e/chat/chat_file_uploads.spec.ts | 24 | print(greet("Onyx")) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | widget/src/widget.ts | 601 | Responses are generated by AI and may be inaccurate | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/src/app/api/[...path]/route.ts | 66 | async function handleRequest(request: NextRequest, path: string[]) { | CODE |
| LOW | backend/tests/integration/common_utils/http_client.py | 44 | def handle_request(self, request: httpx.Request) -> httpx.Response: | CODE |