Open Source AI Platform - AI Chat with advanced features that works with every LLM
This report summarizes scanner evidence for onyx-dot-app/onyx, a Python project with 33,117 GitHub stars. SynthScan examined 2,041,122 lines of code across 8908 source files, recording 29497 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 17.2 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 22594 finding(s).
Are imports declared and package/API names verified? 3357 finding(s).
Are wrappers, guards, and repeated structures necessary? 24049 finding(s).
Which changes need focused human review? 29497 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 29497 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | documentation/scripts/format_docs.py | 124 | def ensure_blank_lines_around_blocks(lines: List[str]) -> List[str]: | CODE |
| LOW | documentation/scripts/format_docs.py | 389 | def normalize_steps_indentation(lines: List[str]) -> List[str]: | CODE |
| LOW | documentation/scripts/format_docs.py | 667 | def wrap_text_with_punct_preference(text: str, width: int) -> List[str]: | CODE |
| LOW | documentation/scripts/format_docs.py | 943 | def expand_single_line_advisories(ls: List[str]) -> List[str]: | CODE |
| LOW | documentation/scripts/format_docs.py | 973 | def normalize_inner_indentation(ls: List[str]) -> List[str]: | CODE |
| LOW | documentation/scripts/format_docs.py | 1060 | def remove_blank_after_group_opens(ls: List[str]) -> List[str]: | CODE |
| LOW | documentation/scripts/format_docs.py | 1320 | def find_numbered_list_spacing_warnings(path: str, text: str) -> List[tuple[int, str]]: | CODE |
| LOW | documentation/scripts/format_docs.py | 1341 | def find_numbered_list_occurrences(path: str, text: str) -> List[tuple[int, str]]: | CODE |
| LOW | documentation/scripts/format_docs.py | 1360 | def run_mintlify_broken_links(root: str) -> int: | CODE |
| LOW | documentation/scripts/format_docs.py | 1400 | def fallback_broken_asset_check( | CODE |
| LOW⚡ | tools/loadtest/tests/test_mock_llm.py | 336 | def test_chat_auto_without_knob_answers_directly() -> None: | CODE |
| LOW⚡ | tools/loadtest/tests/test_mock_llm.py | 341 | def test_dr_clarification_always_calls_generate_plan() -> None: | CODE |
| LOW⚡ | tools/loadtest/tests/test_mock_llm.py | 347 | def test_dr_plan_call_is_plain_text() -> None: | CODE |
| LOW⚡ | tools/loadtest/tests/test_mock_llm.py | 353 | def test_dr_orchestrator_first_cycle_spawns_research_agents() -> None: | CODE |
| LOW⚡ | tools/loadtest/tests/test_mock_llm.py | 417 | def test_forced_specific_tool_is_honored() -> None: | CODE |
| LOW⚡ | tools/loadtest/tests/test_mock_llm.py | 426 | def test_max_tokens_caps_answer_length() -> None: | CODE |
| LOW⚡ | tools/loadtest/tests/test_mock_llm.py | 432 | def test_maxctx_rejects_oversized_prompt_with_context_error() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 132 | def assistant_tool_calls_message(name: str, arguments: str = "{}") -> dict[str, Any]: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 146 | def test_plain_chat_no_tools_streams_text_with_stop() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 158 | def test_tool_choice_none_forces_text_even_with_tools() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 165 | def test_query_rephrase_flow_echoes_user_text() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 191 | def test_rephrase_echo_excludes_prompt_scaffolding() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 221 | def test_search_tool_argument_uses_the_question() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 241 | def test_search_tool_argument_survives_message_padding() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 257 | def test_normal_answer_is_filler_not_echo() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 265 | def test_chat_auto_with_tools_knob_emits_internal_search_with_queries_array() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 283 | def test_multi_tool_knob_emits_parallel_retrieval_calls() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 296 | def test_multi_tool_knob_caps_at_offered_retrieval_tools() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 309 | def test_tools_knob_count_is_honored() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 320 | def test_chat_auto_after_tool_result_streams_final_answer() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 367 | def test_dr_orchestrator_second_cycle_generates_report() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 386 | def test_dr_research_agent_searches_then_reports() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 450 | def test_maxctx_allows_small_prompt() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 499 | def test_search_helper_responses_match_across_transports() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 535 | def test_selection_respects_candidates_and_maximum() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 549 | def test_classification_override_exercises_each_expansion_path() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 562 | def test_calibrated_selection_varies_without_invalid_ids() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 579 | def test_keyword_output_preserves_terms_and_ignores_prompt_scaffolding() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 604 | def test_calibration_import_does_not_read_fixture() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 617 | def test_calibration_loader_reuses_fixture() -> None: | CODE |
| LOW | tools/loadtest/tests/test_mock_llm.py | 631 | def test_helper_output_limits_match_text_usage_and_finish_reason() -> None: | CODE |
| LOW | tools/loadtest/tests/test_exporter.py | 26 | def get_current_response_time_percentile(self, _pct: float) -> float | None: | CODE |
| LOW | tools/loadtest/tests/test_exporter.py | 29 | def get_response_time_percentile(self, pct: float) -> float: | CODE |
| LOW | tools/loadtest/tests/test_exporter.py | 53 | def test_collector_emits_locust_metrics() -> None: | CODE |
| LOW | tools/loadtest/tests/test_exporter.py | 79 | def test_collector_no_runner_is_empty() -> None: | CODE |
| LOW | tools/loadtest/tests/test_stream_parser.py | 21 | def test_captures_reserved_assistant_message_id() -> None: | CODE |
| LOW | tools/loadtest/tests/test_stream_parser.py | 36 | def test_message_id_absent_is_none() -> None: | CODE |
| LOW | tools/loadtest/tests/test_stream_parser.py | 48 | def test_milestones_fire_once_in_order() -> None: | CODE |
| LOW | tools/loadtest/tests/test_stream_parser.py | 61 | def test_error_packet_marks_failure() -> None: | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 40 | def test_complete_search_turn_stops_at_planned_rounds( | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 102 | def test_stream_and_plain_preserve_text_reasoning_usage_and_citations() -> None: | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 143 | def test_argument_fragments_reassemble_valid_json() -> None: | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 166 | def test_budget_includes_reasoning_and_handles_unicode(field: str) -> None: | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 180 | def test_profile_mix_is_seeded_and_contains_tail_work() -> None: | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 190 | def test_timing_plan_has_fixed_end_independent_of_fragment_count() -> None: | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 212 | def test_faults_are_explicit_and_normal_profiles_remain_valid() -> None: | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 237 | def test_schedule_is_reproducible_and_spreads_users() -> None: | CODE |
| LOW⚡ | tools/loadtest/tests/test_representative_workload.py | 251 | def test_erag_jsonl_loads_only_questions( | CODE |
| LOW⚡ | tools/loadtest/tests/test_representative_workload.py | 265 | def test_worker_snapshots_replace_instead_of_double_counting() -> None: | CODE |
| LOW | tools/loadtest/tests/test_representative_workload.py | 276 | def test_capacity_requires_enough_samples_and_both_targets() -> None: | CODE |
| 20353 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | web/tests/e2e/global-setup.ts | 248 | // ── Preflight check ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/global-setup.ts | 251 | // ── Provision test users via API ───────────────────────────────────── | COMMENT |
| MEDIUM | web/tests/e2e/global-setup.ts | 270 | // ── Login via API and save storage state ─────────────────────────── | 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 | web/lib/opal/src/components/tabs/Tabs.test.tsx | 42 | // ── Keyboard ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 74 | // ─── DisplayNameField ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 100 | // ─── APIKeyField ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 143 | // ─── APIBaseField ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 203 | // ─── ModelsAccessField ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 444 | // ─── RefetchButton ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 491 | // ─── ModelsField ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 495 | // ─── Model metadata helpers (Nebius TokenFactory picker) ──────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/shared.tsx | 1023 | // ─── ModalWrapper ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 23 | // ─── useInitialValues ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 73 | // ─── buildValidationSchema ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 125 | // ─── Form value types ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 169 | // ─── mergeFetchedModelConfigurations ────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/utils.ts | 218 | // ─── Misc ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 18 | // ─── Test helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 98 | // ─── Submit provider ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 142 | // ── Test credentials ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 204 | // ── Create/update provider ────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 230 | // ── Set as default ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/svc.ts | 263 | // ── Post-success ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/CustomModal.tsx | 50 | // ─── Model Configuration List ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/CustomModal.tsx | 230 | // ─── Provider Name Select ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/sections/modals/languageModels/CustomModal.tsx | 260 | // ─── Custom Config Processing ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/packetTypes.ts | 13 | // ─── Raw Packet Field Access ───────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/packetTypes.ts | 59 | // ─── Parsed Packet Types (Discriminated Union) ────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 62 | // ── Local dev (sandboxes + sessions) ──────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 88 | // ── Kubernetes (sessions only) ────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 104 | // ── Already relative ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/pathSanitizer.test.ts | 116 | // ── Title field (no leading /) ────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/pathSanitizer.test.ts | 126 | // ── Fallback (unknown format, >3 segments) ────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/pathSanitizer.test.ts | 134 | // ── Short paths ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 154 | // ── Bash commands ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 172 | // ── Output listings ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 190 | // ── No paths — passthrough ────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/pathSanitizer.test.ts | 198 | // ── Error messages ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 719 | // ── Command (freeform → sanitizePathsInText) ────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 726 | // ── Description ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 736 | // ── Output (freeform → sanitizePathsInText) ─────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 740 | // ── Title ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 743 | // ── Status ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 746 | // ── Todo-specific ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 749 | // ── Task-specific ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 754 | // ── Skill detection ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | web/src/app/craft/utils/parsePacket.ts | 761 | // ── Subagent routing (from ACP _meta) ───────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 165 | // ─── Skill Detection ────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 210 | // ─── Tool Name Resolution ───────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 300 | // ─── Shared Helpers ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 336 | // ─── Edit / Diff Extraction ────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 379 | // ─── Patch Text Extraction (opencode agent) ───────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 398 | // ─── Description Builder ───────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 449 | // ─── Title Builder ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 494 | // ─── Raw Output Extraction ─────────────────────────────────────── | COMMENT |
| MEDIUM | web/src/app/craft/utils/parsePacket.ts | 574 | // ─── Todo Extraction ───────────────────────────────────────────── | COMMENT |
| 1298 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | documentation/scripts/format_docs.py | 1390 | except Exception as e: | CODE |
| 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 | tools/loadtest/onyx_client/chat_user.py | 221 | except Exception as exc: | CODE |
| LOW | tools/loadtest/onyx_client/chat_user.py | 283 | except Exception as exc: | CODE |
| LOW | tools/loadtest/scenarios/health_probe.py | 75 | except Exception as exc: | CODE |
| LOW | .agents/hooks/ensure_latest_main.py | 346 | except Exception: # a session-start hook must never break the session | CODE |
| LOW⚡ | desktop/tests/webdriver_smoke.py | 244 | except Exception as error: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 291 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 334 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 403 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 552 | 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 | 181 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 343 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 421 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 538 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 701 | except Exception as e: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 788 | except Exception: | CODE |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 919 | except Exception as e: | CODE |
| LOW | …nd/celery/tasks/doc_permission_syncing/checkpointer.py | 35 | except Exception: | CODE |
| LOW | …nd/celery/tasks/doc_permission_syncing/checkpointer.py | 59 | except Exception: | CODE |
| LOW | …ckground/celery/tasks/sso_domain_revalidation/tasks.py | 32 | except Exception: | 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 | 124 | except Exception: | CODE |
| LOW | …e/onyx/background/celery/tasks/ttl_management/tasks.py | 146 | except Exception: | CODE |
| LOW | …e/onyx/background/celery/tasks/ttl_management/tasks.py | 200 | except Exception: | CODE |
| LOW | …/onyx/background/celery/tasks/license_reclaim/tasks.py | 41 | except Exception as e: | CODE |
| LOW | …/onyx/background/celery/tasks/license_reclaim/tasks.py | 57 | except Exception as e: | CODE |
| LOW | …/onyx/background/celery/tasks/license_reclaim/tasks.py | 78 | except Exception as e: | CODE |
| MEDIUM | …/onyx/background/celery/tasks/license_reclaim/tasks.py | 37 | def _idle_rounds() -> int: | CODE |
| LOW⚡ | …x/background/celery/tasks/tenant_provisioning/tasks.py | 103 | except Exception: | CODE |
| LOW⚡ | …x/background/celery/tasks/tenant_provisioning/tasks.py | 113 | except Exception: | CODE |
| LOW⚡ | …x/background/celery/tasks/tenant_provisioning/tasks.py | 119 | except Exception: | CODE |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 164 | except Exception: | CODE |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 245 | 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 | 266 | except Exception: | CODE |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 272 | except Exception: | CODE |
| LOW | …ee/onyx/background/celery/tasks/query_history/tasks.py | 89 | except Exception: | CODE |
| LOW | …ee/onyx/background/celery/tasks/query_history/tasks.py | 119 | except Exception: | CODE |
| LOW | backend/ee/onyx/feature_flags/posthog_provider.py | 53 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/feature_flags/posthog_provider.py | 71 | except Exception as e: | CODE |
| LOW | …d/ee/onyx/external_permissions/post_query_censoring.py | 89 | except Exception: | CODE |
| LOW | backend/ee/onyx/external_permissions/jira/group_sync.py | 102 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 57 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 73 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 125 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/github/utils.py | 66 | 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 | 44 | except Exception as e: | CODE |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 76 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/slack/doc_sync.py | 265 | except Exception as e: | CODE |
| LOW | backend/ee/onyx/external_permissions/slack/doc_sync.py | 272 | except Exception as e: | CODE |
| 1665 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ods/cmd/release_prefixed_tag_test.go | 101 | gittest.Git(t, work, "config", "user.email", "test@test.com") | CODE |
| LOW | tools/ods/internal/gittest/gittest.go | 77 | Git(t, work, "config", "user.email", "test@test.com") | CODE |
| LOW | tools/ods/internal/git/git_test.go | 30 | r.Git("config", "user.email", "test@test.com") | CODE |
| LOW | tools/loadtest/scenarios/file_attachment.py | 34 | unit = b"Onyx load-test attachment payload. Lorem ipsum dolor sit. " * 18 | CODE |
| LOW | web/tools/oxlint/i18n/rules/no-raw-jsx-text.ts | 6 | "placeholder", | 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 | …e/admin/connector/credentialed_connector_setup.spec.ts | 37 | confluence_access_token: "placeholder", | CODE |
| LOW | …e/admin/connector/credentialed_connector_setup.spec.ts | 105 | confluence_access_token: "placeholder", | CODE |
| LOW | …e/admin/connector/credentialed_connector_setup.spec.ts | 106 | confluence_refresh_token: "placeholder", | CODE |
| LOW | …sts/e2e/admin/connector/google_connector_setup.spec.ts | 26 | await setup.fillServiceAccount("admin@example.com"); | CODE |
| LOW | …sts/e2e/admin/connector/google_connector_setup.spec.ts | 33 | google_primary_admin: "admin@example.com", | CODE |
| LOW | web/lib/opal/src/components/dropdown/types.ts | 176 | | "placeholder" | CODE |
| LOW | …nents/inputs/uploads/input-multi-upload/components.tsx | 14 | export type InputMultiUploadProps = Omit<UploadBaseProps, "placeholder"> & { | CODE |
| LOW | web/lib/opal/src/components/inputs/dropdowns/types.ts | 63 | "onChange" | "value" | "placeholder" | "readOnly" | CODE |
| LOW | web/src/sections/plugins/PluginsPage.test.tsx | 86 | owner: "admin@example.com", | CODE |
| LOW | …src/sections/plugins/__tests__/memberPluginFixtures.ts | 72 | owner: "admin@example.com", | CODE |
| LOW | …/sections/oauth-provider/OAuthProviderConsent.test.tsx | 14 | account_email: "user@example.com", | CODE |
| LOW | web/src/sections/actions/MCPServerToolsEditor.test.tsx | 484 | "placeholder", | CODE |
| LOW | …c/sections/actions/modals/MCPPluginSetupModal.test.tsx | 68 | email: "admin@example.com", | CODE |
| LOW | …c/sections/actions/modals/MCPPluginSetupModal.test.tsx | 225 | owner: "admin@example.com", | CODE |
| LOW | …sections/actions/modals/MCPAuthenticationPage.test.tsx | 43 | owner: "admin@example.com", | CODE |
| LOW | …/sections/actions/modals/MCPServerDetailsPage.test.tsx | 324 | owner: "admin@example.com", | CODE |
| LOW | …pp/craft/v1/apps/admin/ConfigureProviderModal.test.tsx | 665 | author_email: "admin@example.com", | CODE |
| LOW | …pp/craft/v1/apps/admin/ConfigureProviderModal.test.tsx | 666 | owner: { id: "admin-id", email: "admin@example.com" }, | CODE |
| LOW | …/app/craft/v1/apps/admin/CreateCustomAppModal.test.tsx | 509 | author_email: "admin@example.com", | CODE |
| LOW | …/app/craft/v1/apps/admin/CreateCustomAppModal.test.tsx | 510 | owner: { id: "admin-id", email: "admin@example.com" }, | CODE |
| LOW | web/src/app/craft/components/ModelPickerButton.tsx | 50 | const placeholder = placeholderProp ?? tModelSelectors("placeholder"); | CODE |
| LOW | …/lib/languageModels/components/SimpleModelSelector.tsx | 88 | placeholder?: InputSingleSelectProps["placeholder"]; | CODE |
| LOW | …/lib/languageModels/components/SimpleModelSelector.tsx | 252 | placeholder={placeholder ?? t("placeholder")} | CODE |
| LOW | web/src/lib/auth/components.test.tsx | 257 | "user@example.com" | CODE |
| LOW | web/src/lib/plugins/chat.test.tsx | 61 | owner: "admin@example.com", | CODE |
| LOW | web/src/lib/skills/__fixtures__/picker.ts | 93 | owner: "admin@example.com", | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 5691 | "placeholder": "描述该文档集代表的内容" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 5695 | "placeholder": "搜索联合连接器…" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 5699 | "placeholder": "文档集的名称", | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9475 | "placeholder": "客户端 ID" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9480 | "placeholder": "客户端密钥" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9489 | "placeholder": "添加作用域(例如 openid)" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9494 | "placeholder": "https://example.com/.well-known/openid-configuration" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9503 | "placeholder": "https://idp.example.com/entity" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9508 | "placeholder": "https://idp.example.com/sso" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9513 | "placeholder": "-----BEGIN CERTIFICATE-----" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9518 | "placeholder": "onyx" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9523 | "placeholder": "-----BEGIN CERTIFICATE-----" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9528 | "placeholder": "-----BEGIN PRIVATE KEY-----" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9533 | "placeholder": "email" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9589 | "placeholder": "IT 工单" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9593 | "placeholder": "使用 Markdown 编写的答案。示例:如需 IT 团队的帮助,请发送邮件至 internalsupport@company.com" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9597 | "placeholder": "工单 问题 故障" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9601 | "placeholder": "输入类别并按 Enter…" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9853 | "placeholder": "聊天页脚内容" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9856 | "placeholder": "聊天页眉内容" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 9859 | "placeholder": "欢迎使用 Acme Chat" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 12521 | "placeholder": "今天 {appName} 能为您做些什么" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 12531 | "placeholder": "输入您的 API 密钥" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 12541 | "placeholder": "输入您的 {field}" | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 16202 | "placeholder": "选择有效期", | CODE |
| LOW⚡ | web/src/i18n/messages/zh.json | 16206 | "placeholder": "为 token 命名", | CODE |
| 2646 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .agents/feature-map/stale_docs.py | 239 | except (SyntaxError, ValueError): | CODE |
| HIGH | .agents/hooks/ensure_latest_main.py | 175 | except FileNotFoundError: | CODE |
| HIGH | .agents/hooks/ensure_latest_main.py | 192 | except OSError: | CODE |
| HIGH | .agents/hooks/pre_commit_on_stop.py | 237 | except (subprocess.CalledProcessError, KeyError): | CODE |
| HIGH | .agents/hooks/pre_commit_on_stop.py | 395 | except OSError: | CODE |
| HIGH | desktop/tests/webdriver_smoke.py | 167 | except (RuntimeError, OSError): | CODE |
| HIGH | desktop/tests/webdriver_smoke.py | 373 | except RuntimeError: | CODE |
| HIGH | backend/ee/onyx/server/license/api.py | 180 | except Exception: | CODE |
| HIGH | backend/ee/onyx/server/tenants/proxy.py | 198 | except Exception: | CODE |
| HIGH | backend/ee/onyx/server/billing/service.py | 125 | except Exception: | CODE |
| HIGH | backend/tests/external_dependency_unit/full_setup.py | 58 | except Exception: | CODE |
| HIGH | …end/tests/external_dependency_unit/indexing_helpers.py | 190 | except Exception: | CODE |
| HIGH | …ts/external_dependency_unit/document_index/conftest.py | 169 | except KvKeyNotFoundError: | CODE |
| HIGH | …ts/external_dependency_unit/llm/test_prompt_caching.py | 589 | except OSError: | CODE |
| HIGH | …ckend/tests/external_dependency_unit/craft/conftest.py | 79 | except Exception: | CODE |
| HIGH | …ckend/tests/external_dependency_unit/craft/conftest.py | 295 | except Exception: | CODE |
| HIGH | …ency_unit/sandbox_proxy/test_identity_docker_lookup.py | 163 | except (NotFound, APIError): | CODE |
| HIGH | …ency_unit/sandbox_proxy/test_identity_docker_lookup.py | 121 | except (NotFound, APIError): | CODE |
| HIGH | …al_dependency_unit/chat/test_lazy_chat_file_loading.py | 112 | except Exception: | CODE |
| HIGH | …l_dependency_unit/chat/test_build_python_chat_files.py | 83 | except Exception: | CODE |
| HIGH | …er/enterprise_settings/test_custom_analytics_script.py | 39 | except Exception: | CODE |
| HIGH | …er/enterprise_settings/test_custom_analytics_script.py | 49 | except Exception: | CODE |
| HIGH | …l_dependency_unit/opensearch/test_opensearch_client.py | 195 | except Exception: | CODE |
| HIGH | …l_dependency_unit/opensearch/test_opensearch_client.py | 226 | except Exception: | CODE |
| HIGH | …unit/file_store/test_postgres_file_store_non_mocked.py | 64 | except Exception: | CODE |
| HIGH | …pendency_unit/file_store/test_file_store_non_mocked.py | 398 | except (OSError, AttributeError): | CODE |
| HIGH | …nit/file_store/test_staging_concurrent_attempt_skip.py | 206 | except Exception: | CODE |
| HIGH | …nit/file_store/test_staging_concurrent_attempt_skip.py | 152 | except Exception: | CODE |
| HIGH | …ncy_unit/server/security/test_security_settings_put.py | 94 | except KvKeyNotFoundError: | CODE |
| HIGH | …ency_unit/slack_bot/test_slack_bot_federated_search.py | 81 | except RuntimeError: | CODE |
| HIGH | …nal_dependency_unit/db/test_port_metadata_defer_e2e.py | 212 | except Exception: | CODE |
| HIGH | …ests/external_dependency_unit/db/test_port_flow_e2e.py | 420 | except Exception: | CODE |
| HIGH | …external_dependency_unit/db/test_index_reclaim_task.py | 384 | except Exception: | CODE |
| HIGH | …external_dependency_unit/db/test_index_reclaim_task.py | 433 | except Exception: | CODE |
| HIGH | …dency_unit/indexing/test_docfetching_orphan_cleanup.py | 175 | except Exception: | CODE |
| HIGH | …_dependency_unit/oauth_provider/test_native_clients.py | 442 | except httpx.HTTPError: | CODE |
| HIGH | …/unit/server/metrics/test_opensearch_search_metrics.py | 295 | except ValueError: | CODE |
| HIGH | …sts/unit/onyx/connectors/source_operation_harnesses.py | 97 | except Exception: | CODE |
| HIGH | …yx/connectors/cross_connector_utils/test_rate_limit.py | 56 | except threading.BrokenBarrierError: | CODE |
| HIGH | …/tests/unit/onyx/connectors/web/test_slim_retrieval.py | 264 | except RuntimeError: | CODE |
| HIGH | …nyx/connectors/linear/test_linear_source_operations.py | 129 | except threading.BrokenBarrierError: | CODE |
| HIGH | …x/connectors/hubspot/test_hubspot_source_operations.py | 619 | except threading.BrokenBarrierError: | CODE |
| HIGH | …ntations/open_url/test_onyx_web_crawler_body_bounds.py | 69 | except (BrokenPipeError, ConnectionResetError): | CODE |
| HIGH | …ntations/open_url/test_onyx_web_crawler_body_bounds.py | 90 | except (BrokenPipeError, ConnectionResetError): | CODE |
| HIGH | …text/search/federated/test_slack_query_construction.py | 144 | except Exception: | CODE |
| HIGH | …end/tests/unit/onyx/chat/test_multi_model_streaming.py | 220 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 165 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 221 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 269 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 319 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 518 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 572 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 1078 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 1108 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 1141 | except Exception: | CODE |
| HIGH | backend/tests/unit/onyx/auth/test_user_registration.py | 1196 | except Exception: | CODE |
| HIGH | …ts/unit/onyx/server/metrics/test_shard_pool_metrics.py | 62 | except KeyError: | CODE |
| HIGH | …features/craft/sandbox/test_serve_client_401_reload.py | 61 | except httpx.HTTPStatusError: | CODE |
| HIGH | …es/craft/sandbox/sandbox_daemon/test_sandbox_daemon.py | 1379 | except OSError: | CODE |
| HIGH | …d/tests/unit/onyx/server/gateway/test_craft_session.py | 72 | except StopAsyncIteration: | CODE |
| 148 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 | 211 | # Create the schema for the new tenant | COMMENT |
| MEDIUM | backend/ee/onyx/external_permissions/perm_sync_types.py | 53 | # Defining the input/output types for the sync functions | COMMENT |
| MEDIUM | …ernal_permissions/google_drive/permission_retrieval.py | 42 | # Create a set for faster lookup | COMMENT |
| MEDIUM | backend/ee/onyx/server/tenants/provisioning.py | 221 | # Create the schema for the tenant | COMMENT |
| MEDIUM | …onnectors/google_drive/test_google_drive_group_sync.py | 448 | # Create a large group with many users | COMMENT |
| MEDIUM | …rnal_dependency_unit/tools/test_oauth_token_manager.py | 51 | # Create a non-expired token | COMMENT |
| MEDIUM | …rnal_dependency_unit/tools/test_oauth_token_manager.py | 101 | # Create an expired token | COMMENT |
| MEDIUM | …rnal_dependency_unit/tools/test_oauth_token_manager.py | 139 | # Create an expired token without refresh_token | COMMENT |
| MEDIUM | …rnal_dependency_unit/tools/test_oauth_token_manager.py | 161 | # Create an expired token | COMMENT |
| MEDIUM | …ests/external_dependency_unit/llm/test_llm_provider.py | 580 | # Create a provider and set it as default | COMMENT |
| MEDIUM | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 117 | # Define the expected models from the mock GitHub config | COMMENT |
| MEDIUM | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 122 | # Create the mock LLMRecommendations | COMMENT |
| MEDIUM | …ts/external_dependency_unit/llm/test_prompt_caching.py | 192 | # Create a long context message to ensure caching threshold is met (>1024 tokens) | COMMENT |
| MEDIUM | …ts/external_dependency_unit/llm/test_prompt_caching.py | 312 | # Create a long context message. | COMMENT |
| MEDIUM | …ts/external_dependency_unit/llm/test_prompt_caching.py | 616 | # Create a long system message and context | COMMENT |
| MEDIUM | …ts/external_dependency_unit/llm/test_prompt_caching.py | 719 | # Create a long context | COMMENT |
| MEDIUM | …al_dependency_unit/craft/test_streaming_persistence.py | 481 | # Create a user message first | COMMENT |
| MEDIUM | …l_dependency_unit/opensearch/test_opensearch_client.py | 1111 | # Create a document to update. | COMMENT |
| MEDIUM | …l_dependency_unit/opensearch/test_opensearch_client.py | 1314 | # Create a single document; the rest of the update targets won't exist. | COMMENT |
| MEDIUM | …on_sync/test_external_group_permission_sync_attempt.py | 390 | # 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 | 850 | # 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 | 860 | # Create a slack bot | COMMENT |
| MEDIUM | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 617 | # Create a hierarchy node whose raw_node_id matches a document ID | COMMENT |
| MEDIUM | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 641 | # Create a document with the same ID as the hierarchy node | COMMENT |
| MEDIUM | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 861 | # Create a parent node and a child node | COMMENT |
| MEDIUM | …_dependency_unit/celery/test_docprocessing_priority.py | 264 | # 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 | 147 | # Create a custom mock that raises AttributeError for the specific class | COMMENT |
| MEDIUM | …it/onyx/connectors/github/test_github_checkpointing.py | 432 | # Create a checkpoint that was using cursor-based pagination | COMMENT |
| MEDIUM | …it/onyx/connectors/github/test_github_checkpointing.py | 481 | # 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_multi_llm.py | 295 | # Create a mock response with multiple tool calls using litellm objects | COMMENT |
| MEDIUM | backend/tests/unit/onyx/chat/test_citation_processor.py | 1116 | # Create a doc with a high citation number | COMMENT |
| MEDIUM⚡ | backend/tests/unit/onyx/auth/test_oauth_refresher.py | 173 | # Create an account that needs refreshing (expiring soon) | COMMENT |
| MEDIUM⚡ | backend/tests/unit/onyx/auth/test_oauth_refresher.py | 179 | # Create an account that doesn't need refreshing (expires later) | COMMENT |
| MEDIUM⚡ | backend/tests/unit/onyx/auth/test_oauth_refresher.py | 185 | # Create an account without a refresh token | COMMENT |
| MEDIUM | backend/tests/unit/onyx/auth/test_user_registration.py | 497 | # Create a result mock | COMMENT |
| MEDIUM | …nyx/server/features/craft/sandbox/test_safe_extract.py | 143 | # Create a file that exceeds the lowered limit | COMMENT |
| MEDIUM | …nyx/server/features/craft/sandbox/test_safe_extract.py | 191 | # Create a FIFO entry | COMMENT |
| MEDIUM | …d/tests/unit/onyx/utils/test_threadpool_contextvars.py | 19 | # Create a test contextvar | COMMENT |
| MEDIUM | backend/tests/unit/onyx/utils/test_sensitive_typing.py | 20 | # Create a SensitiveValue | COMMENT |
| MEDIUM | …d/tests/unit/onyx/utils/test_threadpool_concurrency.py | 17 | # Create a context variable for testing | COMMENT |
| MEDIUM | …sts/unit/onyx/onyxbot/discord/test_context_builders.py | 373 | # Create a chain longer than MAX_CONTEXT_MESSAGES | COMMENT |
| MEDIUM | …sts/unit/onyx/onyxbot/discord/test_context_builders.py | 472 | # Create a thread with messages | COMMENT |
| MEDIUM | …tests/unit/onyx/onyxbot/discord/test_should_respond.py | 317 | # Create a message that replies to the bot | COMMENT |
| MEDIUM | …derated_connectors/test_federated_connector_factory.py | 151 | # Create a custom mock that raises AttributeError for the specific class | COMMENT |
| MEDIUM⚡ | backend/tests/unit/external_apps/test_notion_catalog.py | 72 | # Creating a data source vs querying one must not collide. | COMMENT |
| MEDIUM⚡ | …d/tests/unit/external_apps/test_google_cloud_scopes.py | 149 | assert "### Create a draft (write, not sent)" in rendered | CODE |
| MEDIUM | backend/tests/integration/common_utils/reset.py | 40 | # Create an Alembic configuration object | COMMENT |
| MEDIUM⚡ | backend/tests/integration/common_utils/chat.py | 7 | # Create a test user | COMMENT |
| MEDIUM⚡ | backend/tests/integration/common_utils/chat.py | 16 | # Create a new chat session | COMMENT |
| MEDIUM | …nant_tests/discord_bot/test_discord_bot_multitenant.py | 89 | # Create a guild registration key in tenant 1 | COMMENT |
| MEDIUM | …nant_tests/discord_bot/test_discord_bot_multitenant.py | 333 | # Create a guild in tenant 1 | COMMENT |
| 194 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | documentation/audit/build_manifest.py | 175 | CODE | |
| LOW | documentation/audit/build_manifest.py | 178 | CODE | |
| LOW | documentation/scripts/format_docs.py | 124 | CODE | |
| LOW | documentation/scripts/format_docs.py | 389 | CODE | |
| LOW | documentation/scripts/format_docs.py | 667 | CODE | |
| LOW | documentation/scripts/format_docs.py | 820 | CODE | |
| LOW | documentation/scripts/format_docs.py | 1440 | CODE | |
| LOW | documentation/scripts/format_docs.py | 1030 | CODE | |
| LOW | documentation/scripts/format_docs.py | 1098 | CODE | |
| LOW | documentation/scripts/format_docs.py | 1107 | CODE | |
| LOW | documentation/scripts/build_connector_grid.py | 38 | CODE | |
| LOW | documentation/scripts/build_connector_grid.py | 54 | CODE | |
| LOW | tools/ods/internal/openapi/openapi_schema.py | 81 | CODE | |
| LOW | tools/loadtest/mock_llm/response_plan.py | 295 | CODE | |
| LOW | tools/loadtest/mock_llm/response_plan.py | 492 | CODE | |
| LOW | tools/loadtest/mock_llm/response_plan.py | 187 | CODE | |
| LOW | tools/loadtest/onyx_client/stream_parser.py | 66 | CODE | |
| LOW | tools/loadtest/onyx_client/workload_metrics.py | 45 | CODE | |
| LOW | tools/loadtest/onyx_client/chat_user.py | 210 | CODE | |
| LOW | tools/loadtest/scenarios/health_probe.py | 53 | CODE | |
| LOW | .agents/feature-map/check_feature_map.py | 165 | CODE | |
| LOW | .agents/feature-map/check_feature_map.py | 538 | CODE | |
| LOW | .agents/feature-map/check_feature_map.py | 617 | CODE | |
| LOW | .agents/feature-map/stale_docs.py | 250 | CODE | |
| LOW | .agents/feature-map/stale_docs.py | 508 | CODE | |
| LOW | .agents/feature-map/stale_docs.py | 547 | CODE | |
| LOW | desktop/tests/webdriver_smoke.py | 173 | CODE | |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 207 | CODE | |
| LOW | …ackground/celery/tasks/external_group_syncing/tasks.py | 421 | CODE | |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 274 | CODE | |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 443 | CODE | |
| LOW | …ackground/celery/tasks/doc_permission_syncing/tasks.py | 847 | 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 | 46 | CODE | |
| LOW | …x/background/celery/tasks/tenant_provisioning/tasks.py | 125 | CODE | |
| LOW | …ee/onyx/background/celery/tasks/query_history/tasks.py | 37 | CODE | |
| LOW | backend/ee/onyx/external_permissions/utils.py | 34 | CODE | |
| LOW | …nyx/external_permissions/onedrive/permission_mapper.py | 36 | CODE | |
| LOW | …nd/ee/onyx/external_permissions/youtrack/group_sync.py | 66 | CODE | |
| LOW | backend/ee/onyx/external_permissions/youtrack/access.py | 142 | CODE | |
| LOW | …x/external_permissions/microsoft_utils/entra_groups.py | 74 | CODE | |
| LOW | …ckend/ee/onyx/external_permissions/jira/page_access.py | 321 | CODE | |
| LOW | backend/ee/onyx/external_permissions/github/doc_sync.py | 32 | CODE | |
| LOW | …ee/onyx/external_permissions/confluence/page_access.py | 16 | CODE | |
| LOW | …yx/external_permissions/sharepoint/permission_utils.py | 162 | CODE | |
| LOW | …onyx/external_permissions/azure_datalake/principals.py | 140 | CODE | |
| LOW | …onyx/external_permissions/azure_datalake/principals.py | 278 | CODE | |
| LOW | …end/ee/onyx/external_permissions/azure_datalake/acl.py | 96 | CODE | |
| LOW | …ckend/ee/onyx/external_permissions/slack/group_sync.py | 31 | CODE | |
| LOW | backend/ee/onyx/external_permissions/slack/doc_sync.py | 87 | CODE | |
| LOW | backend/ee/onyx/external_permissions/slack/doc_sync.py | 191 | CODE | |
| LOW | backend/ee/onyx/external_permissions/slack/utils.py | 7 | CODE | |
| LOW | backend/ee/onyx/external_permissions/gmail/doc_sync.py | 45 | CODE | |
| LOW | …e/onyx/external_permissions/google_drive/group_sync.py | 183 | CODE | |
| LOW | …e/onyx/external_permissions/google_drive/group_sync.py | 227 | CODE | |
| LOW | …/ee/onyx/external_permissions/google_drive/doc_sync.py | 120 | CODE | |
| LOW | …/ee/onyx/external_permissions/google_drive/doc_sync.py | 294 | CODE | |
| LOW | …/ee/onyx/external_permissions/google_drive/doc_sync.py | 390 | CODE | |
| LOW | backend/ee/onyx/server/seeding.py | 79 | CODE | |
| 702 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | documentation/scripts/format_docs.py | 15 | CODE | |
| 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 | tools/requirements/check_build_constraints.py | 9 | CODE | |
| LOW | tools/loadtest/capacity_report.py | 3 | CODE | |
| LOW | tools/loadtest/prometheus_exporter.py | 13 | CODE | |
| LOW | tools/loadtest/prometheus_collector.py | 8 | CODE | |
| LOW | tools/loadtest/shapes.py | 10 | CODE | |
| LOW | tools/loadtest/locustfile.py | 13 | CODE | |
| LOW | tools/loadtest/locustfile.py | 14 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 15 | CODE | |
| LOW | tools/loadtest/locustfile.py | 43 | CODE | |
| LOW | tools/loadtest/workload_manifest.py | 3 | CODE | |
| LOW | tools/loadtest/mock_llm/models.py | 8 | CODE | |
| LOW | tools/loadtest/mock_llm/response_plan.py | 3 | CODE | |
| LOW | tools/loadtest/mock_llm/search_workload.py | 3 | CODE | |
| LOW | tools/loadtest/mock_llm/app.py | 7 | CODE | |
| LOW | tools/loadtest/mock_llm/profiles.py | 3 | CODE | |
| LOW | tools/loadtest/onyx_client/stream_parser.py | 12 | CODE | |
| LOW | tools/loadtest/onyx_client/env.py | 3 | CODE | |
| LOW | tools/loadtest/onyx_client/messages.py | 6 | CODE | |
| LOW | tools/loadtest/onyx_client/workload_metrics.py | 3 | CODE | |
| LOW | tools/loadtest/onyx_client/pacing.py | 3 | CODE | |
| LOW | tools/loadtest/onyx_client/chat_user.py | 19 | CODE | |
| LOW | tools/loadtest/tests/test_mock_llm.py | 10 | CODE | |
| LOW | tools/loadtest/tests/test_exporter.py | 8 | CODE | |
| LOW | tools/loadtest/tests/test_stream_parser.py | 3 | CODE | |
| LOW | tools/loadtest/tests/test_representative_workload.py | 3 | CODE | |
| LOW | tools/loadtest/tests/test_messages.py | 8 | CODE | |
| LOW | tools/loadtest/scenarios/long_conversation.py | 6 | CODE | |
| LOW | tools/loadtest/scenarios/chat_with_search.py | 8 | CODE | |
| LOW | tools/loadtest/scenarios/health_probe.py | 28 | CODE | |
| LOW | tools/loadtest/scenarios/compression.py | 19 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 1 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 2 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 3 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 4 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 5 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 6 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 7 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 8 | CODE | |
| LOW | tools/loadtest/scenarios/__init__.py | 9 | CODE | |
| LOW | tools/loadtest/scenarios/disconnect.py | 7 | CODE | |
| LOW | tools/loadtest/scenarios/multi_tool.py | 6 | CODE | |
| LOW | tools/loadtest/scenarios/deep_research.py | 13 | CODE | |
| LOW | tools/loadtest/scenarios/thread_hog.py | 15 | CODE | |
| LOW | tools/loadtest/scenarios/file_attachment.py | 18 | CODE | |
| LOW | tools/i18n/check_copy_changes.py | 3 | CODE | |
| LOW | .zed/alembic_step.py | 13 | CODE | |
| LOW | .zed/dotenv_launch.py | 20 | CODE | |
| LOW | desktop/tests/webdriver_smoke.py | 13 | CODE | |
| 495 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | …s/unit/ee/onyx/connectors/test_ee_capability_checks.py | 0 | minimal concrete named check; ``run`` never executes in these tests. | STRING |
| HIGH | …onnectors/capability_checks/test_registry_fallbacks.py | 0 | minimal concrete named check; ``run`` never executes in these tests. | STRING |
| HIGH | …ors/capability_checks/test_capability_check_ratchet.py | 0 | minimal concrete named check; ``run`` never executes in these tests. | STRING |
| HIGH | …it/onyx/connectors/jira/test_jira_capability_checks.py | 0 | the config the create form sends, with "" for empty tab fields. | STRING |
| HIGH | …ectors/confluence/test_confluence_capability_checks.py | 0 | the config the create form sends, with "" for empty tab fields. | STRING |
| HIGH | …ly/connectors/jira/test_jira_capability_checks_live.py | 0 | the config the create form sends, with "" for empty tab fields. | STRING |
| HIGH | …s/confluence/test_confluence_capability_checks_live.py | 0 | the config the create form sends, with "" for empty tab fields. | 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 | …tests/integration/tests/permissions_access/conftest.py | 0 | reuses the permissions package fixtures. these directories exist only so ci shards them as separate jobs — the suite is | STRING |
| HIGH | …s/integration/tests/permissions_membership/conftest.py | 0 | reuses the permissions package fixtures. these directories exist only so ci shards them as separate jobs — the suite is | STRING |
| HIGH | …ts/integration/tests/permissions_resources/conftest.py | 0 | reuses the permissions package fixtures. these directories exist only so ci shards them as separate jobs — the suite is | 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 | …ermissions_membership/test_group_manager_membership.py | 0 | flip is_manager on the (user, group) edge and recompute the cached flag. | STRING |
| HIGH | …/permissions_resources/test_group_manager_resources.py | 0 | flip is_manager on the (user, group) edge and recompute the cached flag. | STRING |
| HIGH | …gration/tests/permissions/test_group_manager_agents.py | 0 | flip is_manager on the (user, group) edge and recompute the cached flag. | STRING |
| HIGH | …nd/onyx/background/celery/versioned_apps/monitoring.py | 0 | factory stub for running celery worker / celery beat. | STRING |
| HIGH | …onyx/background/celery/versioned_apps/docprocessing.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 | …d/onyx/background/celery/versioned_apps/docfetching.py | 0 | factory stub for running celery worker / celery beat. | STRING |
| HIGH | backend/onyx/file_store/file_store.py | 0 | list all file ids that start with the given prefix. | STRING |
| HIGH | backend/onyx/file_store/gcs_file_store.py | 0 | list all file ids that start with the given prefix. | STRING |
| HIGH | backend/onyx/file_store/azure_blob_file_store.py | 0 | list all file ids that start with the given prefix. | STRING |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/loadtest/mock_llm/app.py | 36 | # its tool_calls entries), but finish_reason is always present (null). | COMMENT |
| HIGH⚡ | tools/loadtest/tests/test_representative_workload.py | 260 | path.write_text('{"question":null}\n') | CODE |
| HIGH⚡ | desktop/tests/webdriver_smoke.py | 38 | window.blankOpened = popup !== null; | CODE |
| HIGH⚡ | desktop/tests/webdriver_smoke.py | 42 | window.sameOriginOpened = window.open(window.location.origin + '/popup', '_blank') !== null; | CODE |
| HIGH⚡ | desktop/tests/webdriver_smoke.py | 49 | window.externalOpened = window.open('https://docs.onyx.app/smoke', '_blank') !== null; | CODE |
| HIGH⚡ | desktop/tests/webdriver_smoke.py | 53 | window.addEventListener("message", (event) => window.popupMessages.push(event.data)); | CODE |
| 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 | 255 | "The file metadata must be non-null, and must be of type `dict[str, str]`" | CODE |
| HIGH | backend/ee/onyx/db/community_downgrade.py | 6 | from sqlalchemy import ColumnElement, Select, and_, delete, null, or_, select, update | 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 | …y_unit/db/test_existing_document_rows_null_metadata.py | 2 | document metadata store it as null, and those rows must still read.""" | STRING |
| 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 | 76 | # 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.text = '{"days_back": null}' | CODE |
| HIGH⚡ | …sts/unit/onyx/server/features/craft/test_nextjs_dev.py | 88 | "${ONYX_WEBAPP_PORT:-$(cat ../../.nextjs-port 2>/dev/null || echo 3000)}" | CODE |
| HIGH⚡ | …sts/unit/onyx/server/features/craft/test_nextjs_dev.py | 119 | assert 'if ! grep -q "ONYX_WEBAPP_PORT" package.json 2>/dev/null; then' in script | CODE |
| HIGH | …sts/unit/onyx/server/features/craft/test_nextjs_dev.py | 263 | f'[ "$(readlink /proc/$NEXTJS_PID/cwd 2>/dev/null)" ' | CODE |
| HIGH⚡ | …eatures/craft/sandbox/test_session_workspace_script.py | 101 | f'"$(readlink /proc/$NEXTJS_PID/cwd 2>/dev/null)"' | CODE |
| HIGH | backend/tests/unit/onyx/utils/test_streaming_json.py | 29 | '{"s": "x", "n": -1.5, "t": true, "f": false, "z": null}' | CODE |
| HIGH⚡ | backend/tests/integration/tests/craft/webapp_preview.py | 62 | f'echo "--- $log ---"; tail -n {lines} "$log" 2>&1 || true; ' | CODE |
| HIGH⚡ | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 958 | f" kill $pid 2>/dev/null; " | CODE |
| HIGH⚡ | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 959 | f" for _ in $(seq 1 20); do kill -0 $pid 2>/dev/null || break; sleep 1; done; " | CODE |
| HIGH⚡ | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 960 | f" kill -9 $pid 2>/dev/null; " | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 226 | f"base64 {shlex.quote(self._abs_posix)} 2>/dev/null || echo __MISSING__" | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 241 | f"find {shlex.quote(self._abs_posix)} -mindepth 1 2>/dev/null || true" | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 487 | "-mindepth 1 -delete 2>/dev/null; true", | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 499 | "find /workspace/sessions -mindepth 1 -delete 2>/dev/null; true", | CODE |
| HIGH | …kend/tests/integration/tests/craft/k8s/k8s_fixtures.py | 787 | 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 | 163 | "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 | 107 | f"test -f {path} && echo YES || echo NO", | CODE |
| HIGH | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 246 | f"[ -d /workspace/sessions/{session_id} ] && echo PRESENT || echo MISSING", | CODE |
| HIGH⚡ | …gration/tests/craft/k8s/test_bun_node_modules_dedup.py | 328 | 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 | 328 | 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 | 336 | 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 | 336 | f"test -f {session_b_web}/node_modules/next/package.json && echo OK || echo BROKEN", | CODE |
| HIGH | …ion/tests/craft/k8s/test_cleanup_checkpoint_failure.py | 88 | f'test "$(stat -c %a {blocked_path})" = 0 && printf fault-installed' | CODE |
| HIGH | …/tests/craft/docker_e2e/test_workspace_setup_docker.py | 217 | "&& echo PRESENT || echo ABSENT", | CODE |
| HIGH | …/craft/docker_e2e/networking/test_docker_networking.py | 236 | 'curl --noproxy "*" --silent --max-time 3 "$1" >/dev/null; echo $?', | CODE |
| HIGH | …ckend/tests/integration/tests/cli/test_cli_commands.py | 14 | 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 | 382 | # Terminal events may carry "output": null, which upstream iterates. | COMMENT |
| HIGH⚡ | backend/onyx/server/manage/llm/models.py | 351 | # Provided distinguishes an omitted field from an explicit null, so an | COMMENT |
| HIGH | backend/onyx/server/query_and_chat/token_limit.py | 148 | # the token check. Guarding <= 0 means a 0 (new cost-only rows store null, | COMMENT |
| HIGH | backend/onyx/server/gateway/models.py | 67 | semantics (some keys must be present even when null, others absent — not | STRING |
| HIGH | backend/onyx/server/gateway/models.py | 687 | # stop_sequence is assigned explicitly (present-and-null) — exclude_unset | COMMENT |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 161 | alias: terraform-fmt | COMMENT |
| LOW | cr.yaml | 1 | # See https://github.com/helm/chart-releaser#configuration | COMMENT |
| LOW | tools/ods/cmd/deploy_cloud_test.go | 1 | package cmd | COMMENT |
| LOW | tools/ods/cmd/cherry-pick_test.go | 1 | package cmd | COMMENT |
| LOW | tools/ods/cmd/run-ci_test.go | 1 | package cmd | COMMENT |
| LOW | tools/ods/cmd/release_beta_test.go | 1 | package cmd | COMMENT |
| LOW | tools/ods/cmd/release_beta_test.go | 21 | // With --new-branch the cut targets a new release/v4.6 at main's tip PostCutSHA | COMMENT |
| LOW | tools/ods/cmd/deploy_cloud_watch.go | 21 | // The deployment.yml job that sends the new-cloud-image dispatch; its | COMMENT |
| LOW | tools/ods/internal/s3/fetch.go | 61 | // ErrObjectUnavailable marks a download that failed because the object cannot | COMMENT |
| LOW | tools/ods/internal/composegen/composegen.go | 1 | // Package composegen renders the standalone docker compose files | COMMENT |
| LOW | tools/ods/internal/devstack/lifecycle.go | 21 | type Provider interface { | COMMENT |
| LOW | tools/ods/internal/release/check_test.go | 1 | package release | COMMENT |
| LOW | tools/ods/internal/release/check_test.go | 21 | // T3 tag commit not on the release branch -> error TestCheckTag_offBranchStableErrors | COMMENT |
| LOW | tools/ods/internal/release/beta_test.go | 1 | package release | COMMENT |
| LOW | tools/ods/internal/release/beta_test.go | 21 | // B11 origin unreachable -> error, no stale-state fallback TestComputeBetaTag_fetchFailureErrors | COMMENT |
| LOW | tools/ods/internal/release/classify.go | 41 | classifyBetaRe = regexp.MustCompile(`^v\d+\.\d+\.\d+-beta(\.\d+)?$`) | COMMENT |
| LOW | tools/ods/internal/release/classify_test.go | 1 | package release | COMMENT |
| LOW | tools/ods/internal/release/cloud_test.go | 1 | package release | COMMENT |
| LOW | tools/ods/internal/release/cloud_test.go | 21 | // S9 --version override -> override base, counter fresh TestComputeCloudTag_versionOverride | COMMENT |
| LOW | tools/ods/internal/basedigest/basedigest.go | 1 | // Package basedigest refreshes the pinned base image digests across the Onyx | COMMENT |
| LOW | tools/ods/internal/audit/actions.go | 1 | package audit | COMMENT |
| LOW | tools/ods/internal/audit/alert.go | 121 | // `ods audit image --format=json`. Together they must cover every scan, or | COMMENT |
| LOW | tools/ods/internal/git/push_test.go | 1 | package git | COMMENT |
| LOW | tools/loadtest/onyx_client/chat_user.py | 41 | # Model name sent as llm_override (mock knobs ride in the name). None = | COMMENT |
| LOW | tools/loadtest/k8s/locust.yaml | 1 | # Locust master + workers for the Onyx chat load tests, using the harness | COMMENT |
| LOW | tools/loadtest/k8s/locust.yaml | 141 | cpu: "2" | COMMENT |
| LOW | tools/loadtest/k8s/locust.yaml | 161 | # matchNames: [<onyx-namespace>] | COMMENT |
| LOW | .zed/debug.json | 1 | // Zed port of .vscode/launch.json | COMMENT |
| LOW | …/tests/e2e/admin/index-settings/index_settings.spec.ts | 1161 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | web/tests/e2e/agents/create_and_edit_agent.spec.ts | 301 | // Submit the creation form | COMMENT |
| LOW | web/lib/opal/scripts/convert-svg.sh | 1 | #!/bin/bash | COMMENT |
| LOW | web/lib/opal/src/types.ts | 1 | import type { ReactNode, 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/lib/opal/src/components/buttons/row-interaction.ts | 1 | import type React from "react"; | COMMENT |
| LOW | …/src/components/inputs/dropdowns/single/components.tsx | 321 | className="opal-input-single-select" | COMMENT |
| LOW | web/src/proxy.ts | 1 | import { NextResponse } from "next/server"; | COMMENT |
| LOW | web/src/proxy.ts | 21 | // WEB_FRAME_PROTECTION_ENABLED=false drops it so any origin may frame Onyx. | COMMENT |
| LOW | web/src/app/craft/components/ModelPickerButton.tsx | 21 | // setting should pass `false` so the admin's own personal pick can't leak | COMMENT |
| LOW | web/src/app/craft/components/ChatPanel.tsx | 481 | const newSessionId = await consumePreProvisionedSession(); | COMMENT |
| LOW | web/src/app/nrf/NRFPage.tsx | 101 | const activeAgent = useActiveAgent(); | COMMENT |
| LOW | web/src/components/SSRAutoRefresh.tsx | 1 | "use client"; | COMMENT |
| LOW | web/src/layouts/chromes/AppChrome.tsx | 601 | // | COMMENT |
| LOW | web/src/lib/auth/components.tsx | 101 | </Modal.Content> | COMMENT |
| LOW | web/src/lib/auth/components.tsx | 121 | // IMPORTANT: This component is rendered as part of the /auth/login page, which | COMMENT |
| LOW | web/src/lib/banner/hooks.ts | 1 | "use client"; | COMMENT |
| LOW | web/src/views/AppPage.tsx | 141 | COMMENT | |
| LOW | .agents/skills/sync-vendored-skills.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | desktop/src-tauri/src/main.rs | 21 | #[cfg(target_os = "macos")] | 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 | from onyx.server.settings.models import Tier | COMMENT |
| LOW | backend/tests/unit/sandbox_proxy/test_gate.py | 441 | # ALWAYS -> straight through (forward) + inject; NO approval pipeline | COMMENT |
| LOW | …/unit/server/metrics/test_opensearch_search_metrics.py | 181 | # timekeeping bug on the OpenSearch side), the raw diff is negative. The | COMMENT |
| LOW | …nit/onyx/connectors/confluence/test_onyx_confluence.py | 1341 | # Includes the canonical Atlassian KB so the admin can act without us. | COMMENT |
| LOW | …t/onyx/connectors/salesforce/test_salesforce_sqlite.py | 1101 | # f"LastReferencedDate,UsageType,ActiveFromDate,ParentId,LastViewedDate,IsPrimary," | COMMENT |
| LOW | backend/tests/unit/onyx/llm/test_multi_llm.py | 2161 | COMMENT | |
| LOW | …t/onyx/server/features/craft/sandbox/test_event_bus.py | 481 | COMMENT | |
| LOW | backend/tests/integration/conftest.py | 301 | COMMENT | |
| 314 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …ependency_unit/search_settings/test_search_settings.py | 610 | # Create FUTURE settings with contextual RAG enabled | COMMENT |
| MEDIUM⚡ | …ependency_unit/search_settings/test_search_settings.py | 617 | # PRESENT still has contextual RAG disabled, so default should be None | COMMENT |
| MEDIUM⚡ | …ependency_unit/search_settings/test_search_settings.py | 627 | # Now PRESENT has contextual RAG enabled, default should match | COMMENT |
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 556 | # PRESENT still has contextual RAG disabled, so default should be None | COMMENT |
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 566 | # Now PRESENT has contextual RAG enabled, default should match | COMMENT |
| MEDIUM | …ependency_unit/search_settings/test_search_settings.py | 702 | # PRESENT has contextual RAG disabled, so default should be None | COMMENT |
| MEDIUM | …ests/external_dependency_unit/db/test_port_flow_e2e.py | 176 | # against the local embedding model server. Ext-dep shards run with it | COMMENT |
| MEDIUM | …_dependency_unit/celery/test_docprocessing_priority.py | 309 | # embedding model" lookup can pick it up and corrupt later real | COMMENT |
| MEDIUM⚡ | …external_dependency_unit/indexing/test_port_reembed.py | 161 | # RAG on in both, model changed -> AUGMENTATION (re-enrich under new LLM) | COMMENT |
| MEDIUM⚡ | …external_dependency_unit/indexing/test_port_reembed.py | 169 | # RAG on in both, same LLM, new embedder -> MODEL_ONLY | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 181 | # RAG OFF in both: a stale model-id difference is irrelevant (no enrichment in | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 240 | # Quantization plus a contextual-RAG change -> the text changes. | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 284 | # FUTURE keeps contextual RAG on -> nothing is stripped -> copy everything. | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 477 | # stored (BM25) content rebuilt without the contextual-RAG augmentation | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 542 | # Stub the contextual-RAG enrichment (the LLM call is the indexing pipeline's | COMMENT |
| MEDIUM | …external_dependency_unit/indexing/test_port_reembed.py | 564 | # PRESENT had RAG off: no doc_summary/chunk_context glued in. | COMMENT |
| MEDIUM | …/unit/onyx/document_index/opensearch/test_port_copy.py | 160 | # RAG-on AUGMENTATION re-embeds one doc per page (bounds the unheartbeated LLM | COMMENT |
| MEDIUM⚡ | …/unit/onyx/document_index/opensearch/test_port_copy.py | 208 | # 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 | 213 | [_chunk("doc_a")], # doc_a spans PIT pages; not reassembled when RAG is off | CODE |
| MEDIUM | …end/tests/unit/onyx/chat/test_stream_chat_telemetry.py | 250 | # Its orchestration is not a chat loop, so it reports no cycle count. | COMMENT |
| MEDIUM | …sts/unit/onyx/server/features/craft/test_nextjs_dev.py | 281 | # No eager scaffold/install at setup time: the old eager invocations (bare | COMMENT |
| MEDIUM⚡ | …eatures/craft/sandbox/test_session_workspace_script.py | 65 | # no scaffold/install/dev-server invocations at all. | COMMENT |
| 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 | 104 | # Mock the encode method of the embedding model | COMMENT |
| MEDIUM | backend/tests/unit/onyx/indexing/test_embedder.py | 152 | # Verify the embedding model was called exactly as follows | COMMENT |
| MEDIUM⚡ | backend/tests/unit/external_apps/test_token_refresh.py | 309 | # ensure_fresh_credentials orchestration (own short sessions, single-flight) | COMMENT |
| MEDIUM | backend/tests/manual/embedding_models/README.md | 1 | # Manual embedding model tests | 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 | 633 | # 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 | 326 | # NOTE: during an embedding model switch over, the following logic | COMMENT |
| MEDIUM | backend/onyx/document_index/opensearch/port_copy.py | 123 | # Contextual RAG-on AUGMENTATION: buffer to reassemble each doc (chunks span PIT pages), then | COMMENT |
| MEDIUM | backend/onyx/tools/tool_constructor.py | 75 | # project's/persona's user files didn't fit in the LLM context window and | COMMENT |
| MEDIUM⚡ | backend/onyx/llm/model_capabilities.py | 71 | # user to specify their desired max context window, and it's unlikely | COMMENT |
| MEDIUM | backend/onyx/llm/model_catalog.py | 541 | # An output limit at or above the context window is a pool-max | COMMENT |
| MEDIUM | backend/onyx/llm/utils.py | 222 | # for each chunk, we prompt the LLM with the contextual RAG prompt | COMMENT |
| MEDIUM | backend/onyx/context/search/models.py | 135 | # context window and must be searched via vector DB instead of being loaded | COMMENT |
| MEDIUM | backend/onyx/chat/files.py | 214 | # 60% of the LLM's max context window. The other benefit is that for projects with | COMMENT |
| MEDIUM | backend/onyx/chat/chat_utils.py | 189 | # Drop any single message that would dominate the context window. | COMMENT |
| MEDIUM | backend/onyx/agents/compaction.py | 103 | # max_input_tokens is already an input ceiling, not the total context window. | COMMENT |
| MEDIUM | backend/onyx/server/metrics/postgres_connection_pool.py | 39 | # --- Pool lifecycle counters (event-driven) --- | COMMENT |
| MEDIUM | backend/onyx/server/metrics/postgres_connection_pool.py | 75 | # --- Per-endpoint attribution (event-driven) --- | COMMENT |
| MEDIUM | backend/onyx/server/settings/models.py | 163 | # False when DISABLE_VECTOR_DB is set — connectors, RAG search, and | 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 | 157 | # Disallow contextual RAG for cloud deployments. | COMMENT |
| MEDIUM | backend/onyx/server/manage/search_settings.py | 490 | # A re-index with the PRESENT model (quantization, contextual RAG, switchover). | COMMENT |
| MEDIUM | backend/onyx/server/manage/search_settings.py | 1088 | # Disallow contextual RAG for cloud deployments | COMMENT |
| MEDIUM | backend/onyx/server/manage/voice/websocket_api.py | 47 | # Whisper-style models pad short inputs to a 30s window and hallucinate | COMMENT |
| MEDIUM | backend/onyx/utils/fleet_query_telemetry.py | 53 | # Runs its own orchestration, so the fleet keeps its latency apart from chat. | COMMENT |
| MEDIUM | …/onyx/natural_language_processing/search_nlp_models.py | 1508 | # 2. we are using an API-based embedding model (provider_type is not | COMMENT |
| MEDIUM | backend/onyx/configs/chat_configs.py | 40 | # Same backstop for contextual-RAG doc/chunk summaries. These are short, | COMMENT |
| MEDIUM | backend/onyx/configs/chat_configs.py | 109 | # Trigger compression when history exceeds this ratio of available context window | COMMENT |
| MEDIUM | backend/onyx/configs/app_configs.py | 78 | # Disables vector DB (OpenSearch) entirely. When True, connectors and RAG search | COMMENT |
| MEDIUM | backend/onyx/configs/app_configs.py | 104 | # (across users / agentic sub-queries) don't re-hit the embedding provider. | COMMENT |
| MEDIUM | backend/onyx/configs/app_configs.py | 581 | # self-hosted embedding model, which includes a download if it is not cached. | COMMENT |
| MEDIUM | backend/onyx/configs/app_configs.py | 1526 | # 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 | 1563 | # Enable multi-threaded embedding model calls for parallel processing | COMMENT |
| MEDIUM | backend/onyx/configs/model_configs.py | 49 | # API image), so token counts do not depend on the default embedding model. | COMMENT |
| MEDIUM⚡ | backend/onyx/db/models.py | 2468 | # Contextual RAG | COMMENT |
| MEDIUM⚡ | backend/onyx/db/models.py | 2471 | # Contextual RAG LLM — FK to model_configuration (replaces deprecated string columns) | COMMENT |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/ee/onyx/server/scim/patch.py | 126 | 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 | 342 | 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 | 66 | Extract license data from Authorization header. Self-hosted instances authenticate to these proxy endpoints by send | 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 | 190 | 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 | 677 | Get a channel by its ID. Args: slack_client: The Slack source-operations gateway channel_id: The ID | 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 | 138 | 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 | 470 | Puts cluster settings. Args: settings: The settings to put. Raises: Exception: | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 847 | 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 | 965 | 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 | 1271 | Deletes a document. Args: document_chunk_id: The OpenSearch ID of the document chunk to | STRING |
| HIGH | backend/onyx/document_index/opensearch/client.py | 1329 | 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 | 1709 | 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 | 1755 | 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 | 1854 | 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 | 1947 | 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 | 1995 | 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 | 2259 | 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 | 500 | 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 | 627 | 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 | 974 | 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 | 1050 | 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 | 1208 | 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 | 1245 | 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 | 1282 | 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 | 1397 | Returns a filter for documents explicitly attached to an assistant. Since this returns an isol | STRING |
| HIGH | backend/onyx/document_index/opensearch/search.py | 1431 | 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 | 436 | 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 | 62 | 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/chat_utils.py | 91 | 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 | 273 | Save a file from either a URL or base64 encoded string. Args: url: URL to download file from base64 | STRING |
| HIGH | backend/onyx/server/manage/validate_tokens.py | 50 | 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 | 67 | 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 | 164 | 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 | 498 | 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 | 79 | 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 | 162 | 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 | 203 | Create a streaming transcription session. Args: audio_format: Audio format being sent (e.g | STRING |
| HIGH | backend/onyx/voice/interface.py | 220 | Create a streaming TTS session for real-time audio synthesis. Args: voice: Voice identifie | STRING |
| HIGH | backend/onyx/voice/factory.py | 15 | Factory function to get the appropriate voice provider implementation. Args: provider: VoiceProvider m | 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 | 2212 | Update only tools and system_prompt for the default assistant. Args: db_session: Database session t | STRING |
| HIGH | backend/scripts/sources_selection_analysis.py | 129 | Try to identify differences between the two analysis based on the selected analysis key. Args: | STRING |
| HIGH | …end/scripts/tenant_cleanup/no_bastion_cleanup_utils.py | 287 | Get tenant status from control plane database via pod. Args: pod_name: The pod to execute the query fr | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | documentation/scripts/format_docs.py | 851 | # Check if value is a boolean (true/false) - don't quote these | COMMENT |
| LOW | documentation/scripts/format_docs.py | 1165 | # Check if line starts with <img | COMMENT |
| LOW | documentation/scripts/format_docs.py | 1173 | # Check if tag is already closed on this line (ends with /> or >) | COMMENT |
| 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 | 496 | # Check if the task has exceeded its timeout | COMMENT |
| LOW | …e/onyx/external_permissions/google_drive/group_sync.py | 107 | # Check if the folder has permission IDs but no permissions | COMMENT |
| LOW | backend/ee/onyx/server/scim/api.py | 897 | # 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 | 581 | # Check if grace period has expired | COMMENT |
| LOW | backend/ee/onyx/utils/license.py | 585 | # Check if license has expired | COMMENT |
| LOW | backend/ee/onyx/db/standard_answer.py | 312 | # Check if all of the keyword words are in the query words | 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 | …tion/multitenant_tests/tenants/test_tenant_creation.py | 128 | # Check if image gen config was created during tenant provisioning | COMMENT |
| LOW⚡ | …nant_tests/discord_bot/test_discord_bot_multitenant.py | 35 | # Check if guild is already registered | 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 | …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 | 94 | # Check if we've fetched hierarchy recently | COMMENT |
| LOW⚡ | …nyx/background/celery/tasks/hierarchyfetching/tasks.py | 100 | # Check if enough time has passed since last fetch | COMMENT |
| LOW | …nyx/background/celery/tasks/hierarchyfetching/tasks.py | 281 | # Check if the connector supports hierarchy fetching | COMMENT |
| LOW | …nyx/background/celery/tasks/hierarchyfetching/tasks.py | 300 | # Check if connector is public - all hierarchy nodes from public connectors | COMMENT |
| LOW | …yx/background/celery/tasks/connector_deletion/tasks.py | 478 | # Check if the taskset still exists in Redis without reading its size. | COMMENT |
| LOW | backend/onyx/background/celery/tasks/pruning/tasks.py | 956 | # Check if the taskset still exists in Redis without reading its size. | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 236 | # Check if this attempt has been updated with heartbeat tracking | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 248 | # Check if the heartbeat counter has advanced since last check | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 454 | # Check if the CC Pair should be moved to INITIAL_INDEXING | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 557 | # Check if indexing is complete and all batches are processed | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/tasks.py | 1878 | # Check if chunk indexing usage limit has been exceeded before processing. | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/utils.py | 68 | # Check if the associated indexing attempt has been cancelled | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/utils.py | 73 | # Check if the task has exceeded its timeout | COMMENT |
| LOW | …nd/onyx/background/celery/tasks/docprocessing/utils.py | 143 | # 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 | 848 | # 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 | 36 | # Check if EE is enabled | COMMENT |
| LOW | backend/onyx/connectors/github/utils.py | 117 | # Check if EE is enabled | COMMENT |
| LOW | backend/onyx/connectors/zendesk/connector.py | 124 | # Check if there are more pages | COMMENT |
| LOW | backend/onyx/connectors/confluence/utils.py | 295 | # Check if the response or headers are None to avoid potential AttributeError | COMMENT |
| LOW | backend/onyx/connectors/teams/listing.py | 286 | # Check if team name contains most of the meaningful words | COMMENT |
| LOW | backend/onyx/connectors/teams/connector.py | 247 | # Check if any requested teams have special characters that need client-side filtering | COMMENT |
| LOW | backend/onyx/connectors/dropbox/connector.py | 57 | # Check if a shared link already exists | COMMENT |
| LOW | backend/onyx/connectors/salesforce/doc_conversion.py | 147 | # Check if all fields are None | COMMENT |
| LOW | backend/onyx/connectors/salesforce/connector.py | 230 | # Check if fields is a list when present | COMMENT |
| LOW | backend/onyx/connectors/salesforce/connector.py | 238 | # Check if associations is a dict when present | COMMENT |
| LOW | backend/onyx/connectors/slack/connector.py | 1365 | # Set oldest to the checkpoint timestamp to resume from where we left off | COMMENT |
| LOW | backend/onyx/connectors/google_drive/doc_conversion.py | 147 | # Check if file is owned by the user (for distinguishing "My Drive" vs "Shared with me") | COMMENT |
| 113 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 21 | // Step 1: Login as admin to create test fixtures | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 25 | // 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 | 36 | // Step 3: Create a restricted LLM provider assigned to that group | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 46 | // Step 4: Logout and login as a random user (who won't be in the restricted group) | 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 | 416 | * // Step 1: Map keys → GroupedPacket (parse key, lookup packets) | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 424 | * // Step 2: Filter (hasContentPackets check) | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 432 | * // 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 | .agents/feature-map/VERIFYING.md | 15 | ## Step 1: Establish what changed | COMMENT |
| LOW | .agents/feature-map/VERIFYING.md | 28 | ## Step 2: Map the paths to components | COMMENT |
| LOW | .agents/feature-map/VERIFYING.md | 38 | ## Step 3: Read the components | COMMENT |
| LOW | .agents/feature-map/VERIFYING.md | 52 | ## Step 4: Check the contracts | COMMENT |
| LOW | .agents/feature-map/VERIFYING.md | 74 | ## Step 5: Check what else the change must touch | COMMENT |
| LOW | .agents/feature-map/VERIFYING.md | 86 | ## Step 6: Gather evidence | COMMENT |
| LOW | .agents/feature-map/VERIFYING.md | 110 | ## Step 7: Check the repo-wide rules | COMMENT |
| LOW | .agents/feature-map/VERIFYING.md | 121 | ## Step 8: Report | COMMENT |
| LOW⚡ | …ests/external_dependency_unit/llm/test_llm_provider.py | 512 | # Step 7: Change the default provider to provider 2 | COMMENT |
| LOW⚡ | …ests/external_dependency_unit/llm/test_llm_provider.py | 520 | # Step 8: Call run_test_default_provider - should use provider 2 | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 409 | # Step 1: Create provider 1 with models, it becomes default (first provider) | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 434 | # 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 | 445 | # Step 3: Create provider 2 (not default) | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 464 | # Step 4: Call run_test_default_provider - should still use provider 1 | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 475 | # Step 5: Update provider 1's default model | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 501 | # 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 | 171 | # Step 4: Set the provider as default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 179 | # Step 5: Fetch the default provider and verify | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 581 | # Step 3: Verify provider 1 is still the default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 589 | # Step 4: Change the default to provider 2 | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 601 | # Step 5: Verify provider 2 is now the default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 609 | # 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 | 151 | # Step 3: Verify all models from the GitHub config are present | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 316 | # Step 1: Upload provider WITHOUT auto mode, with initial models | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 343 | # Step 2: Update provider to enable auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 363 | # Step 3: Verify model visibility after auto mode transition | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 534 | # Step 1: Create provider 1 (OpenAI) with auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 566 | # Step 2: Create provider 2 (Anthropic) with auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 651 | # Step 1: Create provider with no model configs | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 666 | # Step 2: Run sync_auto_mode_models (simulating the periodic sync) | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 679 | # Step 3: Every ModelConfiguration must have at least one LLMModelFlow | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 701 | # Step 4: The provider must appear in fetch_existing_llm_providers | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 746 | # Step 1: Create manual-mode provider and set as default | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 778 | # Step 2: Transition to auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 798 | # Step 3: Default should be preserved on this provider | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 839 | # Step 1: Create in auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 868 | # Step 2: Switch to manual mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 891 | # Step 3: Models unchanged | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 939 | # Step 1: Create with config v1 | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 958 | # Step 2: Re-sync with config v2 | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 972 | # Step 3: Verify | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1123 | # Step 2: Set gpt-6-sol as global default | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1140 | # Step 3: Re-sync with config v2 (gpt-6-sol removed) | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1154 | # 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 |
| LOW⚡ | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 285 | # Step 2: extract from mock connector | COMMENT |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 21 | // Step 1: Login as admin to create test fixtures | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 25 | // 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 | 36 | // Step 3: Create a restricted LLM provider assigned to that group | COMMENT |
| LOW⚡ | web/tests/e2e/agents/llm_provider_rbac.spec.ts | 46 | // Step 4: Logout and login as a random user (who won't be in the restricted group) | 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 | 416 | * // Step 1: Map keys → GroupedPacket (parse key, lookup packets) | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 424 | * // Step 2: Filter (hasContentPackets check) | COMMENT |
| LOW⚡ | …ge/messageComponents/timeline/hooks/packetProcessor.ts | 432 | * // 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 | 527 | // For pages like NRF where existingChatSessionId is always null, we need to check if | COMMENT |
| LOW | backend/ee/onyx/db/document.py | 87 | # 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 | 512 | # Step 7: Change the default provider to provider 2 | COMMENT |
| LOW⚡ | …ests/external_dependency_unit/llm/test_llm_provider.py | 520 | # Step 8: Call run_test_default_provider - should use provider 2 | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 409 | # Step 1: Create provider 1 with models, it becomes default (first provider) | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 434 | # 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 | 445 | # Step 3: Create provider 2 (not default) | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 464 | # Step 4: Call run_test_default_provider - should still use provider 1 | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 475 | # Step 5: Update provider 1's default model | COMMENT |
| LOW | …ests/external_dependency_unit/llm/test_llm_provider.py | 501 | # 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 | 171 | # Step 4: Set the provider as default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 179 | # Step 5: Fetch the default provider and verify | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 581 | # Step 3: Verify provider 1 is still the default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 589 | # Step 4: Change the default to provider 2 | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 601 | # Step 5: Verify provider 2 is now the default | COMMENT |
| LOW⚡ | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 609 | # 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 | 151 | # Step 3: Verify all models from the GitHub config are present | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 316 | # Step 1: Upload provider WITHOUT auto mode, with initial models | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 343 | # Step 2: Update provider to enable auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 363 | # Step 3: Verify model visibility after auto mode transition | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 534 | # Step 1: Create provider 1 (OpenAI) with auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 566 | # Step 2: Create provider 2 (Anthropic) with auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 651 | # Step 1: Create provider with no model configs | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 666 | # Step 2: Run sync_auto_mode_models (simulating the periodic sync) | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 679 | # Step 3: Every ModelConfiguration must have at least one LLMModelFlow | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 701 | # Step 4: The provider must appear in fetch_existing_llm_providers | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 746 | # Step 1: Create manual-mode provider and set as default | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 778 | # Step 2: Transition to auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 798 | # Step 3: Default should be preserved on this provider | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 839 | # Step 1: Create in auto mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 868 | # Step 2: Switch to manual mode | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 891 | # Step 3: Models unchanged | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 939 | # Step 1: Create with config v1 | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 958 | # Step 2: Re-sync with config v2 | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 972 | # Step 3: Verify | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1123 | # Step 2: Set gpt-6-sol as global default | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1140 | # Step 3: Re-sync with config v2 (gpt-6-sol removed) | COMMENT |
| LOW | …nal_dependency_unit/llm/test_llm_provider_auto_mode.py | 1154 | # 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 |
| LOW⚡ | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 285 | # Step 2: extract from mock connector | COMMENT |
| LOW⚡ | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 290 | # Step 3: upsert hierarchy nodes (public connector = False) | COMMENT |
| LOW⚡ | …dependency_unit/celery/test_pruning_hierarchy_nodes.py | 300 | # Step 4: verify DB state | COMMENT |
| LOW⚡ | …ts/integration/tests/llm_provider/test_llm_provider.py | 1482 | # Step 2: Set provider 1 as the default provider | COMMENT |
| LOW⚡ | …ts/integration/tests/llm_provider/test_llm_provider.py | 1485 | # Step 3: Both admin and basic_user query and verify they see the same default | COMMENT |
| LOW⚡ | …ts/integration/tests/llm_provider/test_llm_provider.py | 1849 | # Step 3: Set provider 1 as the general default provider | COMMENT |
| LOW⚡ | …ts/integration/tests/llm_provider/test_llm_provider.py | 1852 | # Step 4: Set provider 2 with a specific vision model as the default vision provider | COMMENT |
| 82 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/loadtest/locustfile.py | 27 | __all__ = [ | CODE |
| LOW | tools/loadtest/scenarios/__init__.py | 11 | __all__ = [ | CODE |
| LOW | .agents/hooks/pre_commit_on_stop.py | 213 | def _set_recheck(repo: Path, session: str, recheck: bool) -> None: | CODE |
| LOW | backend/ee/onyx/server/scim/patch.py | 34 | logger = logging.getLogger(__name__) | 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 | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/ee/onyx/server/tenants/product_gating.py | 16 | def update_tenant_gating(tenant_id: str, status: ApplicationStatus) -> None: | CODE |
| LOW⚡ | backend/ee/onyx/db/scim.py | 120 | def update_token_last_used(self, token_id: int) -> None: | CODE |
| LOW | backend/tests/external_dependency_unit/mock_llm.py | 216 | def set_max_timeout(self, timeout: float = 5.0) -> None: | CODE |
| LOW | backend/tests/external_dependency_unit/mock_llm.py | 293 | def set_max_timeout(self, timeout: float = 5.0) -> None: | CODE |
| LOW | …ency_unit/document_index/test_cc_pair_access_filter.py | 105 | def _set_ee(monkeypatch: pytest.MonkeyPatch, is_ee: bool) -> None: | CODE |
| LOW | …ckend/tests/external_dependency_unit/craft/conftest.py | 140 | def _set_onyx_server_url(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | …ternal_dependency_unit/auth/test_session_revocation.py | 69 | def _set_password(db_session: Session, user: User, password: str) -> None: | CODE |
| LOW | …/external_dependency_unit/auth/test_jwt_passthrough.py | 93 | def set_key(self, key: _RSAKey) -> None: | CODE |
| LOW⚡ | …permission_sync/test_pause_cancels_permission_syncs.py | 223 | def set_fence_then_record_a_failure(stop: RedisConnectorStop, value: bool) -> None: | CODE |
| LOW | …permission_sync/test_pause_cancels_permission_syncs.py | 262 | def set_fence_then_dispatch(stop: RedisConnectorStop, value: bool) -> None: | CODE |
| LOW | …ency_unit/slack_bot/test_slack_bot_federated_search.py | 329 | def _setup_embedding_mock(self, mock_get_query_embeddings: Mock) -> None: | CODE |
| LOW | …ency_unit/slack_bot/test_slack_bot_federated_search.py | 431 | def _setup_llm_provider(self, db_session: Session) -> None: | CODE |
| LOW | …ests/external_dependency_unit/db/test_shard_routing.py | 71 | def _set_tenant_shard(tenant_id: str, shard_name: str) -> None: | CODE |
| LOW | …ndency_unit/db/test_default_assistant_disabled_tool.py | 435 | def update_tool() -> None: | CODE |
| LOW | backend/tests/unit/fakes.py | 84 | def set_add(self, key: str, member: str | bytes) -> None: | CODE |
| LOW | backend/tests/unit/fakes.py | 88 | def set_remove(self, key: str, member: str | bytes) -> None: | CODE |
| LOW | backend/tests/unit/sandbox_proxy/test_approval_cache.py | 68 | def set_add(self, key: str, member: str | bytes) -> None: | CODE |
| LOW | backend/tests/unit/sandbox_proxy/test_approval_cache.py | 72 | def set_remove(self, key: str, member: str | bytes) -> 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 | …ground/celery/test_celery_task_logger_file_handlers.py | 78 | def _setup_celery_logging() -> None: | CODE |
| LOW | …nd/tests/unit/onyx/connectors/test_retry_after_caps.py | 55 | def _set_cloud(monkeypatch: pytest.MonkeyPatch, cloud: bool) -> None: | CODE |
| LOW | …ectors/salesforce/test_salesforce_oauth_credentials.py | 77 | def set_credentials(self, credential_json: dict[str, Any]) -> None: | CODE |
| LOW | backend/tests/unit/onyx/chat/test_cancellation.py | 89 | def set_add(self, key: str, member: str | bytes) -> None: | CODE |
| LOW | backend/tests/unit/onyx/chat/test_cancellation.py | 93 | def set_remove(self, key: str, member: str | bytes) -> None: | CODE |
| LOW | …d/tests/unit/onyx/server/features/mcp/test_mcp_ssrf.py | 48 | def _set_level(monkeypatch: pytest.MonkeyPatch, level: SSRFProtectionLevel) -> None: | CODE |
| LOW | …it/onyx/server/features/mcp/test_mcp_oauth_provider.py | 48 | async def set_tokens(self, tokens: OAuthToken) -> None: | CODE |
| LOW | …it/onyx/server/features/mcp/test_mcp_oauth_provider.py | 54 | async def set_client_info(self, client_info: OAuthClientInformationFull) -> None: | CODE |
| LOW | …it/onyx/server/features/mcp/test_mcp_oauth_provider.py | 72 | async def set_tokens(self, tokens: OAuthToken) -> 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 | …sts/unit/onyx/federated_connectors/test_oauth_utils.py | 73 | def set_add(self, key: str, member: str | bytes) -> None: | CODE |
| LOW | …sts/unit/onyx/federated_connectors/test_oauth_utils.py | 77 | def set_remove(self, key: str, member: str | bytes) -> None: | CODE |
| LOW | backend/tests/integration/common_utils/http_client.py | 85 | def set_test_client(c: httpx.Client | None) -> None: | CODE |
| LOW | …nd/tests/integration/common_utils/managers/mock_llm.py | 185 | def _set_default(default: DefaultModel, user_performing_action: DATestUser) -> None: | CODE |
| LOW | …s/integration/connector_job_tests/onedrive/conftest.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | …gration/connector_job_tests/azure_datalake/conftest.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/integration/tests/craft/test_scheduled_tasks_api.py | 394 | def _set_run_status(run_id: UUID, status: ScheduledTaskRunStatus) -> 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 | 123 | def _set_slack_org_credentials(value: dict[str, str]) -> None: | CODE |
| LOW | …roup/test_group_membership_updates_user_permissions.py | 23 | def _set_membership_is_manager(user_id: str, group_id: int, value: bool) -> None: | CODE |
| LOW | …ermissions_membership/test_group_manager_membership.py | 206 | def _set_cc_pair_creator(cc_pair_id: int, user_id: str) -> None: | CODE |
| LOW | …ests/permissions_resources/test_cc_pair_data_access.py | 247 | def _set_group_restrictions(enabled: bool | None, admin: DATestUser) -> 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 | …ration/tests/indexing/test_connector_edit_perm_sync.py | 45 | def _set_next_run(mock_server_client: httpx.Client, text: str) -> 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 | 364 | 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/monitoring.py | 98 | def _setup_shard_capacity_collector() -> None: | CODE |
| LOW | backend/onyx/background/celery/apps/app_base.py | 620 | def set_task_finished_log_level(logLevel: int) -> None: | CODE |
| LOW | backend/onyx/background/celery/apps/app_base.py | 701 | def update_liveness_file(self, worker: Any) -> None: # noqa: ARG002 | CODE |
| LOW | backend/onyx/connectors/interfaces.py | 97 | def set_allow_images(self, value: bool) -> None: | CODE |
| LOW | backend/onyx/connectors/interfaces.py | 101 | def set_raw_file_callback(self, callback: RawFileCallback) -> None: | CODE |
| 87 more matches not shown… | ||||
| 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⚡ | …x/background/celery/tasks/test_license_reclaim_task.py | 312 | mock_redis.return_value.pipeline.return_value.incr.assert_not_called() | CODE |
| CRITICAL⚡ | …x/background/celery/tasks/test_license_reclaim_task.py | 328 | mock_redis.return_value.pipeline.return_value.incr.assert_called_once() | CODE |
| CRITICAL | …ckground/celery/tasks/test_incognito_teardown_retry.py | 47 | redis_client.return_value.lock.return_value.release.assert_called_once_with() | CODE |
| CRITICAL⚡ | …x/connectors/hubspot/test_hubspot_source_operations.py | 285 | client.crm.associations.v4.batch_api.get_page.assert_not_called() | CODE |
| CRITICAL⚡ | …x/connectors/hubspot/test_hubspot_source_operations.py | 364 | client.crm.deals.batch_api.read.assert_not_called() | CODE |
| CRITICAL⚡ | …yx/connectors/google_drive/test_drive_access_probes.py | 79 | service.files.return_value.list.return_value.execute.assert_not_called() | CODE |
| CRITICAL | backend/onyx/background/celery/celery_utils.py | 278 | queue_names = list(worker.app.amqp.queues.consume_from.keys()) | CODE |
| CRITICAL | backend/onyx/file_store/azure_blob_file_store.py | 156 | from azure.core.exceptions import HttpResponseError, ResourceExistsError | CODE |
| CRITICAL | backend/onyx/file_store/azure_blob_file_store.py | 333 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | backend/onyx/file_store/azure_blob_file_store.py | 382 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/loadtest/k8s/locust.yaml | 1 | # Locust master + workers for the Onyx chat load tests, using the harness | COMMENT |
| MEDIUM | …src/app/app/message/messageComponents/AgentMessage.tsx | 72 | // TODO: Consider more robust comparisons: | COMMENT |
| MEDIUM | …src/app/app/message/messageComponents/AgentMessage.tsx | 74 | // reference equality. Shallow array/object comparison would be more robust if | 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 | 90 | # that exist in confluence and then just add that group to the space permissions | COMMENT |
| LOW | …onyx/external_permissions/salesforce/postprocessing.py | 187 | # so we should just return an empty list because no chunks will be | COMMENT |
| MEDIUM | …ternal_dependency_unit/craft/test_session_lifecycle.py | 1265 | # is robust if the stub is consulted on any code path. | 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 | 46 | # window keeps the structural assertion robust against scheduler jitter. | COMMENT |
| MEDIUM⚡ | …/onyx/connectors/slack/test_slack_source_operations.py | 92 | # harness counts. | 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 | …s/integration/tests/gateway_clients/run_with_server.sh | 3 | # need a real TCP api_server, which the in-process TestClient harness cannot | 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 |
| MEDIUM | backend/onyx/background/celery/apps/app_base.py | 165 | """We handle this signal in order to remove completed tasks | STRING |
| MEDIUM | backend/onyx/connectors/source_operations.py | 39 | """What an operation needs in order to run. | STRING |
| MEDIUM | backend/onyx/connectors/source_operations.py | 307 | # attribution the coverage harness counts, so coverage claims stay | COMMENT |
| LOW | backend/onyx/connectors/confluence/source_operations.py | 666 | # If it's not a method, just return it after ensuring token validity | COMMENT |
| MEDIUM | backend/onyx/connectors/slack/utils.py | 212 | """Simply replaces all tags with `@<USER_ID>` in order to prevent us from | STRING |
| MEDIUM | …document_index/opensearch/opensearch_document_index.py | 846 | # TODO(andrei): Fix the aforementioned race condition. | COMMENT |
| MEDIUM | …/onyx/tools/tool_implementations/python/python_tool.py | 221 | # 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 | 122 | # TODO: remove these lists once we have a comprehensive model configuration page | 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 | 373 | # Unknown PDF parsing failure — elevate just the message, not a | COMMENT |
| LOW | backend/onyx/file_processing/extract_file_text.py | 1053 | # 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 | 29 | # should always be callable, will just return 401 if not authenticated | COMMENT |
| LOW | backend/onyx/server/manage/llm/api.py | 675 | # Therefore, instead of performing additional, more complex logic, we just use a dummy value | COMMENT |
| LOW | backend/onyx/secondary_llm_flows/document_filter.py | 68 | # If center chunk not found in chunks list, just return center chunk | COMMENT |
| LOW | backend/onyx/onyxbot/slack/utils.py | 618 | # For other bots, just use the text as we have no way of knowing that the | COMMENT |
| LOW⚡ | backend/onyx/db/models.py | 2461 | # If not specified, will just use the model_dim without any reduction. | COMMENT |
| MEDIUM | backend/onyx/db/models.py | 4062 | # For "Custom LLM Providers", we don't provide a comprehensive list of models | COMMENT |
| LOW | backend/onyx/db/chat_search.py | 31 | # 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 |
| MEDIUM | backend/scripts/env_inventory.py | 433 | # locals (e.g. `connector = ...` reused in a connector __main__ 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⚡ | 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 |
| MEDIUM | .github/workflows/pr-terraform-provider-tests.yml | 15 | # Two auth legs run in parallel. `bootstrap` lets the harness register an admin | COMMENT |
| MEDIUM | .github/workflows/pr-terraform-provider-tests.yml | 358 | # deployment. Here they match the harness's own defaults, against a | COMMENT |
| MEDIUM | .github/workflows/pr-terraform-provider-tests.yml | 372 | # An empty key would send the harness down its own bootstrap path, | COMMENT |
| MEDIUM | .github/workflows/reusable-agent-task-pr.yml | 3 | ### A caller supplies a Python task or a trusted prompt for a coding harness, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/tests/external_dependency_unit/mock_llm.py | 305 | CODE | |
| LOW | backend/tests/external_dependency_unit/mock_llm.py | 319 | CODE | |
| LOW | …tests/external_dependency_unit/mock_search_pipeline.py | 138 | CODE | |
| LOW | …l_dependency_unit/opensearch/test_opensearch_client.py | 117 | CODE | |
| LOW | …al_dependency_unit/indexing/test_cc_pair_runs_route.py | 164 | CODE | |
| LOW | …external_dependency_unit/indexing/test_port_reembed.py | 70 | CODE | |
| LOW | backend/tests/unit/sandbox_proxy/conftest.py | 109 | CODE | |
| LOW | backend/tests/unit/ee/onyx/hooks/test_executor.py | 27 | CODE | |
| LOW | …kend/tests/unit/onyx/connectors/box/fake_box_client.py | 230 | CODE | |
| LOW | …x/connectors/microsoft_utils/fake_sharepoint_reader.py | 35 | CODE | |
| LOW | backend/tests/unit/onyx/connectors/jira/conftest.py | 57 | CODE | |
| LOW | backend/tests/unit/onyx/connectors/github/conftest.py | 93 | CODE | |
| LOW | …/onyx/connectors/zendesk/test_zendesk_checkpointing.py | 78 | CODE | |
| LOW | backend/tests/unit/onyx/tools/test_coding_agent_loop.py | 130 | CODE | |
| LOW | backend/tests/unit/onyx/chat/test_citation_utils.py | 25 | 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 | …nit/onyx/server/manage/llm/test_model_configuration.py | 681 | CODE | |
| LOW | …/integration/common_utils/managers/image_generation.py | 28 | CODE | |
| LOW | …end/tests/integration/common_utils/managers/persona.py | 18 | CODE | |
| LOW | …end/tests/integration/common_utils/managers/persona.py | 85 | CODE | |
| LOW | …end/tests/integration/common_utils/managers/cc_pair.py | 66 | CODE | |
| LOW | …ests/integration/common_utils/managers/llm_provider.py | 19 | CODE | |
| LOW | …ests/integration/common_utils/managers/reindex_port.py | 68 | CODE | |
| LOW | …ion/mock_services/mcp_test_server/run_mock_oidc_idp.py | 334 | CODE | |
| LOW | backend/tests/common/craft/stubs.py | 589 | CODE | |
| LOW | backend/onyx/connectors/capability_checks/runner.py | 1059 | CODE | |
| LOW | backend/onyx/connectors/capability_checks/models.py | 561 | CODE | |
| LOW | backend/onyx/connectors/onedrive/capability_checks.py | 328 | CODE | |
| LOW | backend/onyx/connectors/github/capability_checks.py | 277 | CODE | |
| LOW | backend/onyx/connectors/confluence/connector.py | 265 | CODE | |
| LOW | backend/onyx/connectors/confluence/capability_checks.py | 377 | CODE | |
| LOW | backend/onyx/connectors/sharepoint/connector.py | 735 | CODE | |
| LOW | backend/onyx/connectors/teams/connector.py | 144 | CODE | |
| LOW | backend/onyx/connectors/zoom/connector.py | 178 | CODE | |
| LOW | backend/onyx/connectors/slack/connector.py | 803 | CODE | |
| LOW | backend/onyx/connectors/slack/connector.py | 1026 | CODE | |
| LOW | backend/onyx/connectors/slack/capability_checks.py | 464 | CODE | |
| LOW | backend/onyx/connectors/google_drive/connector.py | 325 | CODE | |
| LOW | …kend/onyx/connectors/google_drive/capability_checks.py | 525 | CODE | |
| LOW | backend/onyx/connectors/outlook/connector.py | 696 | CODE | |
| LOW | backend/onyx/connectors/outlook/capability_checks.py | 454 | CODE | |
| LOW | backend/onyx/tracing/framework/create.py | 193 | CODE | |
| LOW | backend/onyx/tracing/framework/span_data.py | 111 | CODE | |
| LOW | backend/onyx/document_index/opensearch/client.py | 335 | CODE | |
| LOW | backend/onyx/document_index/opensearch/client.py | 690 | CODE | |
| LOW | …ools/tool_implementations/open_url/onyx_web_crawler.py | 229 | CODE | |
| LOW | backend/onyx/llm/multi_llm.py | 654 | CODE | |
| LOW | backend/onyx/llm/multi_llm.py | 853 | CODE | |
| LOW | backend/onyx/llm/multi_llm.py | 1489 | CODE | |
| LOW | backend/onyx/llm/multi_llm.py | 1627 | CODE | |
| LOW | backend/onyx/llm/factory.py | 489 | CODE | |
| LOW | backend/onyx/context/search/federated/slack_search.py | 998 | CODE | |
| LOW | backend/onyx/chat/process_message.py | 574 | CODE | |
| LOW | backend/onyx/chat/agent.py | 66 | CODE | |
| LOW | backend/onyx/redis/tenant_redis_client.py | 170 | CODE | |
| LOW | backend/onyx/redis/tenant_redis_client.py | 1234 | CODE | |
| LOW | backend/onyx/redis/redis_pool.py | 203 | CODE | |
| LOW | backend/onyx/auth/users.py | 3080 | CODE | |
| LOW | backend/onyx/auth/users.py | 1038 | CODE | |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …onnectors/google_drive/test_google_drive_group_sync.py | 425 | CODE | |
| MEDIUM | …mission_sync/test_perm_sync_no_pg_conn_during_crawl.py | 199 | CODE | |
| MEDIUM | …mission_sync/test_perm_sync_no_pg_conn_during_crawl.py | 225 | CODE | |
| MEDIUM | …kend/tests/unit/background/celery/test_celery_utils.py | 53 | CODE | |
| MEDIUM | …ackground/celery/tasks/test_hierarchyfetching_queue.py | 33 | CODE | |
| MEDIUM | …nit/onyx/connectors/jira/test_jira_date_error_retry.py | 34 | CODE | |
| MEDIUM | …it/onyx/connectors/github/test_github_checkpointing.py | 492 | CODE | |
| MEDIUM | …nnectors/sharepoint/test_load_checkpoint_resilience.py | 373 | CODE | |
| MEDIUM | …rs/google_drive/test_google_drive_source_operations.py | 189 | CODE | |
| MEDIUM | …r/features/craft/test_webapp_proxy_header_stripping.py | 33 | CODE | |
| MEDIUM | …nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py | 615 | CODE | |
| MEDIUM | backend/onyx/voice/providers/zoom.py | 481 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/onyx/connectors/imap/connector.py | 52 | # Usage: | COMMENT |
| LOW | backend/onyx/redis/redis_pool.py | 345 | # # 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 | 12 | # Usage: | COMMENT |
| LOW⚡ | deployment/docker_compose/docker-compose.onyx-lite.yml | 10 | # Usage: | COMMENT |
| LOW | deployment/docker_compose/docker-compose.dev.yml | 12 | # 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 |
| LOW | …aform-provider-onyx/examples/bootstrap/mint_api_key.sh | 17 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | widget/index.html | 267 | api-key="your-api-key-here" | CODE |
| HIGH | widget/README.md | 346 | Authorization: Bearer YOUR_API_KEY | CODE |
| HIGH | widget/README.md | 363 | Authorization: Bearer YOUR_API_KEY | CODE |
| HIGH | widget/README.md | 388 | VITE_WIDGET_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/pytest.ini | 18 | # you can use it to test credentials locally. | COMMENT |
| LOW | …d/ee/onyx/external_permissions/post_query_censoring.py | 99 | # IMPORTANT: make sure to retain the same ordering as the original `chunks` passed in | COMMENT |
| LOW | …end/onyx/connectors/google_drive/section_extraction.py | 167 | # 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 |
| 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 | 1286 | # NOTE: if more sensitive data is added here for display, make sure to add user/group permission | COMMENT |
| LOW | backend/onyx/db/models.py | 1980 | # 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 |
|---|---|---|---|---|
| LOW | web/src/app/api/[...path]/route.ts | 66 | async function handleRequest(request: NextRequest, path: string[]) { | CODE |
| LOW | …nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py | 675 | def handle_request(request: httpx.Request) -> httpx.Response: | CODE |
| LOW | …nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py | 742 | def handle_request(request: httpx.Request) -> httpx.Response: | CODE |
| LOW | …nit/onyx/server/features/mcp/test_mcp_oauth_refresh.py | 795 | def handle_request(request: httpx.Request) -> httpx.Response: | CODE |
| LOW | …s/unit/onyx/server/features/mcp/test_mcp_oauth_flow.py | 217 | def handle_request(request: httpx.Request) -> httpx.Response: | CODE |
| LOW | …it/onyx/server/features/mcp/test_mcp_oauth_provider.py | 369 | def handle_request(request: httpx.Request) -> httpx.Response: | CODE |
| LOW | backend/tests/integration/common_utils/http_client.py | 49 | def handle_request(self, request: httpx.Request) -> httpx.Response: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | widget/src/widget.ts | 735 | Responses are generated by AI and may be inaccurate | CODE |