Skip to content

chore: Segment improvements#1971

Merged
mfortman11 merged 6 commits into
mainfrom
segment-improvements-and-coverage
Jun 26, 2026
Merged

chore: Segment improvements#1971
mfortman11 merged 6 commits into
mainfrom
segment-improvements-and-coverage

Conversation

@mfortman11

@mfortman11 mfortman11 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor
  • Update static properties

  • and knowledge/setting actions

  • avoid duplicate events

Cherry pick of #1963

Summary by CodeRabbit

  • New Features
    • Added analytics tracking across Knowledge and Settings actions, including: copying chunk text, “Fetch latest docs,” search submissions, viewing/syncing/deleting knowledge items, creating/updating/deleting filters (including bulk delete), connector connect/disconnect and access save, provider save/remove, API key create/copy/revoke, ingest save/edit/restore, and connector selection from the knowledge dropdown.
  • Improvements
    • Updated onboarding page view analytics to trigger only once per session (and only in the intended layout).

* Update static properties

* and knowledge/setting actions

* avoid duplicate events
@github-actions github-actions Bot added community frontend 🟨 Issues related to the UI/UX ignore-for-release and removed community labels Jun 25, 2026
@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7a75b005-6384-4b15-970d-547e00ad70ae

📥 Commits

Reviewing files that changed from the base of the PR and between 8a84228 and 2f27201.

📒 Files selected for processing (2)
  • frontend/components/chat-renderer.tsx
  • frontend/components/knowledge-search-input.tsx
🚧 Files skipped from review as they are similar to previous changes (2)
  • frontend/components/knowledge-search-input.tsx
  • frontend/components/chat-renderer.tsx

Walkthrough

Analytics tracking was added to knowledge and settings UI actions, onboarding page-view tracking now fires once per component lifecycle, and the analytics static property set was expanded with additional required fields.

Changes

Analytics instrumentation

Layer / File(s) Summary
Required analytics properties
frontend/lib/analytics.ts
RequiredSegmentStaticProperties now requires productPlanName, category, and accountPlan, and getRequiredStaticProperties returns the expanded static property set.
Model provider tracking and wiring
frontend/app/settings/_components/model-provider-dialog-footer.tsx, frontend/app/settings/_components/model-provider-card.tsx, frontend/app/settings/_components/*-settings-dialog.tsx
Model provider dialogs pass provider keys into the footer, and the footer and provider cards track save, remove, and configure clicks with provider-specific analytics payloads.
Agent and API key actions
frontend/app/settings/_components/agent-settings-section.tsx, frontend/app/settings/_components/api-keys-section.tsx
Agent settings and API key actions track save, edit, restore, create, copy, and revoke clicks before the existing mutations or navigation.
Connector and ingest actions
frontend/app/settings/_components/connector-access-section.tsx, frontend/app/settings/_components/ingest-settings-section.tsx, frontend/app/settings/_components/connector-card.tsx
Connector access save, ingest save/edit/restore, and connector connect or disconnect actions emit trackButton events before their existing mutations or handlers.
Knowledge document actions
frontend/app/knowledge/page.tsx, frontend/app/knowledge/chunks/page.tsx, frontend/components/knowledge-actions-dropdown.tsx, frontend/components/knowledge-batch-actions-bar.tsx, frontend/components/knowledge-dropdown.tsx
Knowledge refresh, chunk copy, document menu actions, bulk delete, and cloud connector selection emit trackButton events before navigation, dialogs, or delete actions.
Knowledge search and filters
frontend/components/knowledge-search-input.tsx, frontend/components/knowledge-filter-panel.tsx
Search submission and filter create, update, and delete actions emit trackButton events before updating query state or running mutations.
Onboarding page view tracking
frontend/components/chat-renderer.tsx
The onboarding page viewed event is guarded with a component-scoped ref so it fires once per component lifecycle.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • langflow-ai/openrag#1623: Both PRs touch frontend/app/settings/_components/ingest-settings-section.tsx and the same ingest handlers, with this PR adding trackButton calls in those paths.
  • langflow-ai/openrag#1873: Both PRs modify frontend/lib/analytics.ts and the getRequiredStaticProperties export/static property shape.

Suggested labels

enhancement

Suggested reviewers

  • mpawlow
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is relevant and accurately points to the Segment analytics-focused changes in this PR.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch segment-improvements-and-coverage

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Caution

Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted.

Error details
{}

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (3)
frontend/app/settings/_components/model-provider-dialog-footer.tsx (1)

27-28: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

Make providerKey required in the footer props.

Both new tracking paths unconditionally emit payload: { provider: providerKey }, so keeping this prop optional lets future callers compile while silently sending malformed provider analytics. All call sites in this PR already pass a concrete key, so tightening the prop contract is the safer shape here.

♻️ Proposed fix
-  providerKey?: string;
+  providerKey: string;
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@frontend/app/settings/_components/model-provider-dialog-footer.tsx` around
lines 27 - 28, `providerKey` in `ModelProviderDialogFooter` is currently
optional, but the footer always uses it to emit provider analytics. Update the
footer props type to require `providerKey` and make sure
`ModelProviderDialogFooter` callers continue passing a concrete key so the
`payload: { provider: providerKey }` paths cannot compile with missing data.
frontend/app/settings/_components/model-provider-card.tsx (1)

91-110: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Derive the button label once and reuse it for analytics and UI.

The click handler and rendered content duplicate the same isUnhealthy / isConfigured branching. Keeping one shared label avoids the UI text and tracked CTA drifting apart on the next edit.

♻️ Proposed fix
 export default function ModelProviderCard({
   provider,
   isConfigured,
   isUnhealthy,
   onConfigure,
 }: ModelProviderCardProps) {
   const isCloudBrand = useIsCloudBrand();
   const { providerKey, name, logo: Logo, logoColor, logoBgColor } = provider;
   const isEditSetup = isConfigured && !isUnhealthy;
+  const buttonLabel = isUnhealthy
+    ? "Fix Setup"
+    : isConfigured
+      ? "Edit Setup"
+      : "Configure";
 
   return (
@@
           }
           onClick={() => {
-            const cta = isUnhealthy
-              ? "Fix Setup"
-              : isConfigured
-                ? "Edit Setup"
-                : "Configure";
             trackButton({
-              CTA: `${cta} - ${name}`,
+              CTA: `${buttonLabel} - ${name}`,
               elementId: "provider-card-button",
               namespace: "settings",
               payload: { provider: providerKey },
             });
             onConfigure(providerKey);
           }}
         >
-          {isUnhealthy
-            ? "Fix Setup"
-            : isConfigured
-              ? "Edit Setup"
-              : "Configure"}
+          {buttonLabel}
         </Button>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@frontend/app/settings/_components/model-provider-card.tsx` around lines 91 -
110, The button label logic in ModelProviderCard is duplicated in the onClick
handler and the rendered CTA text, which can cause analytics and UI copy to
drift. Derive the label once in model-provider-card.tsx using the existing
isUnhealthy and isConfigured conditions, then reuse that shared value both in
trackButton and in the button content so the label stays consistent.
frontend/app/settings/_components/ingest-settings-section.tsx (1)

229-241: 🚀 Performance & Scalability | 🔵 Trivial | 💤 Low value

Tracking fires before validation, so aborted saves are still recorded as successful "Save Ingest Settings" events.

trackButton runs ahead of the chunkSize/chunkOverlap checks at Lines 242–253. When validation fails the mutation never runs, yet the event (with the full settings payload) is still emitted. If you want the event to reflect actual save attempts, move the call after the validation guards.

♻️ Optional: emit after validation
   const handleKnowledgeIngestSave = () => {
-    trackButton({
-      CTA: "Save Ingest Settings",
-      elementId: "save-ingest-settings-button",
-      namespace: "settings",
-      payload: {
-        chunk_size: chunkSize,
-        chunk_overlap: chunkOverlap,
-        table_structure: tableStructure,
-        ocr,
-        picture_descriptions: pictureDescriptions,
-        disable_ingest_with_langflow: disableIngestWithLangflow,
-      },
-    });
     if (chunkSize < 1) {
       const msg = "Chunk size must be at least 1";
       setChunkValidationError(msg);
       toast.error("Could not save ingest settings", { description: msg });
       return;
     }
     if (chunkOverlap >= chunkSize) {
       const msg = "Chunk overlap must be less than chunk size";
       setChunkValidationError(msg);
       toast.error("Could not save ingest settings", { description: msg });
       return;
     }
+    trackButton({
+      CTA: "Save Ingest Settings",
+      elementId: "save-ingest-settings-button",
+      namespace: "settings",
+      payload: {
+        chunk_size: chunkSize,
+        chunk_overlap: chunkOverlap,
+        table_structure: tableStructure,
+        ocr,
+        picture_descriptions: pictureDescriptions,
+        disable_ingest_with_langflow: disableIngestWithLangflow,
+      },
+    });
     updateSettingsMutation.mutate(
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@frontend/app/settings/_components/ingest-settings-section.tsx` around lines
229 - 241, The “Save Ingest Settings” tracking in ingest-settings-section.tsx is
firing before the validation guards, so failed saves are still recorded as
successful attempts. Move the trackButton call in the settings save flow to
after the chunkSize/chunkOverlap validation checks in the relevant save handler
so only validated save attempts emit the event, and keep the existing payload
fields tied to the actual mutation path.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@frontend/components/chat-renderer.tsx`:
- Around line 33-34: The onboarding page-view guard is currently module-global,
so once ChatRenderer tracks the event it blocks all future onboarding views in
the same runtime. Move the “already tracked” state into the onboarding
session/instance handled by ChatRenderer, or explicitly reset it when onboarding
ends so OpenRAG - Onboarding Page Viewed can fire again for later legitimate
entries.

In `@frontend/components/knowledge-actions-dropdown.tsx`:
- Around line 142-147: The analytics payload in knowledge-actions-dropdown’s
trackButton calls is sending the user-controlled filename, which can expose
sensitive document metadata. Update the click tracking in the View Chunks flow
and the similar tracking block referenced in the component to remove raw
filenames from payloads, and instead use coarse metadata or a non-reversible
surrogate if document-level correlation is needed. Keep the fix localized to the
trackButton invocations in knowledge-actions-dropdown so the Segment event still
records the CTA and elementId without leaking filename.

In `@frontend/components/knowledge-search-input.tsx`:
- Around line 29-34: The analytics payload in the search button tracking
currently includes raw user input from searchQueryInput.trim(), which should not
be sent to Segment. Update the trackButton call in knowledge-search-input.tsx to
remove the free-form query text and instead send only non-sensitive metadata
such as query length, whether the query is empty, or related filter state, using
the existing search handling around trackButton and searchQueryInput as the
place to change.

---

Nitpick comments:
In `@frontend/app/settings/_components/ingest-settings-section.tsx`:
- Around line 229-241: The “Save Ingest Settings” tracking in
ingest-settings-section.tsx is firing before the validation guards, so failed
saves are still recorded as successful attempts. Move the trackButton call in
the settings save flow to after the chunkSize/chunkOverlap validation checks in
the relevant save handler so only validated save attempts emit the event, and
keep the existing payload fields tied to the actual mutation path.

In `@frontend/app/settings/_components/model-provider-card.tsx`:
- Around line 91-110: The button label logic in ModelProviderCard is duplicated
in the onClick handler and the rendered CTA text, which can cause analytics and
UI copy to drift. Derive the label once in model-provider-card.tsx using the
existing isUnhealthy and isConfigured conditions, then reuse that shared value
both in trackButton and in the button content so the label stays consistent.

In `@frontend/app/settings/_components/model-provider-dialog-footer.tsx`:
- Around line 27-28: `providerKey` in `ModelProviderDialogFooter` is currently
optional, but the footer always uses it to emit provider analytics. Update the
footer props type to require `providerKey` and make sure
`ModelProviderDialogFooter` callers continue passing a concrete key so the
`payload: { provider: providerKey }` paths cannot compile with missing data.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 66a2aab4-b17e-4ba4-8002-e722a8ad17a7

📥 Commits

Reviewing files that changed from the base of the PR and between e13379b and 44a2d96.

📒 Files selected for processing (20)
  • frontend/app/knowledge/chunks/page.tsx
  • frontend/app/knowledge/page.tsx
  • frontend/app/settings/_components/agent-settings-section.tsx
  • frontend/app/settings/_components/anthropic-settings-dialog.tsx
  • frontend/app/settings/_components/api-keys-section.tsx
  • frontend/app/settings/_components/connector-access-section.tsx
  • frontend/app/settings/_components/connector-card.tsx
  • frontend/app/settings/_components/ingest-settings-section.tsx
  • frontend/app/settings/_components/model-provider-card.tsx
  • frontend/app/settings/_components/model-provider-dialog-footer.tsx
  • frontend/app/settings/_components/ollama-settings-dialog.tsx
  • frontend/app/settings/_components/openai-settings-dialog.tsx
  • frontend/app/settings/_components/watsonx-settings-dialog.tsx
  • frontend/components/chat-renderer.tsx
  • frontend/components/knowledge-actions-dropdown.tsx
  • frontend/components/knowledge-batch-actions-bar.tsx
  • frontend/components/knowledge-dropdown.tsx
  • frontend/components/knowledge-filter-panel.tsx
  • frontend/components/knowledge-search-input.tsx
  • frontend/lib/analytics.ts

Comment thread frontend/components/chat-renderer.tsx Outdated
Comment thread frontend/components/knowledge-actions-dropdown.tsx
Comment thread frontend/components/knowledge-search-input.tsx
@github-actions github-actions Bot added the lgtm label Jun 26, 2026
@mfortman11 mfortman11 merged commit 2d7f0ba into main Jun 26, 2026
15 of 17 checks passed
@github-actions github-actions Bot deleted the segment-improvements-and-coverage branch June 26, 2026 19:34
ricofurtado pushed a commit that referenced this pull request Jun 26, 2026
* chore: Segment improvements (#1963)

* Update static properties

* and knowledge/setting actions

* avoid duplicate events

* coderabbit comments
ricofurtado added a commit that referenced this pull request Jul 1, 2026
* feat:  add connectors permissions for Saas (#1782)

* feat: add SaaS workspace connector permissions with RBAC gates
Introduce admin Connectors Permission settings (cloud-only) backed by
workspace_config, enforce availability on connector APIs and OAuth init,
and sync the new connectors:manage:access permission at startup without
an Alembic migration. OSS/dev OSS brand bypasses policy; add dev role
toggle and brand-aware proxy headers for local RBAC testing.

* style: ruff autofix (auto)

* address CodeRabbit comments and fix backend lint unused imports

* fix backend lint

* feat: workspace connector permissions with aligned SaaS policy guards
Add admin Connectors Permission (workspace_config-backed) with RBAC
connectors:manage:access, enforce policy on connector APIs and OAuth init,
and keep the permission list independent of the live connectors tab.
Consolidate frontend connector-access hooks into useGetConnectorsQuery and
settings tab helpers into brand.ts. Fix Connectors Permission tab redirects
(RSC dev-brand default, wait for permissionsResolved). Let explicitly
enabled connectors override deployment visibility filters; add
OPENRAG_DEV_CONNECTOR_POLICY for local OSS dev backend enforcement Snapshot and restore all cached connector query keys in connect/disconnect
mutations so optimistic updates stay correct when policy context changes
mid-mutation (brand toggle, permissions resolving).

* style: ruff autofix (auto)

* addressed coderabbit comments

* remove mentions of dev only envs in the env.example

---------

Co-authored-by: Olfa Maslah <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <[email protected]>

* fix: google to support WEBHOOK_BASE_URL (#1849)

* Update connector.py

* update env in settings

* fix webhook url of sharepoint

* fix: make connector webhooks work end-to-end (Drive routing, Graph subscriptions, change discovery) (#1867)

* fix: alias legacy /connectors/google/webhook to google_drive and reload connections store on webhook channel lookup miss

* Fix Sharepoint and Google Drive

* fix: propagate deleted items from SharePoint/OneDrive webhook delta query

Main's delete-event coverage (#1852) expects handle_webhook to return
deleted file ids so sync_specific_files can run its deleted-at-source
cleanup (get_file_content -> 404 -> delete indexed chunks). The delta
implementation skipped deleted items; now deleted files propagate and
deleted folders stay excluded.

* use logging _config

* Update test_webhook_type_alias.py

* fix: forward end-user JWT to MCP/API callers via gateway-placed X-OpenRAG-API-JWT header (#1874)

* use fallback header

* Notes on new header

* raises http exception for missing jwt

* feat: Add shared flag for COS ingestion to allow documents to be indexed without an owner

* style: ruff autofix (auto)

* Update src/api/connectors.py

Improving error return

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat: Implement shared flag for document replacement in OpenSearch queries

* style: ruff autofix (auto)

* refactor: Remove shared flag from document ingestion options in SDK

* feat: Update resolve_shared_owner_fields to return anonymous user details for shared documents

* style: ruff autofix (auto)

* feat: Add anonymous delete permission for shared documents and update related functionality

* feat: Update delete permission to include anonymous access for shared documents

* style: ruff autofix (auto)

* style: apply ruff autofix

* feat: Restrict shared flag usage to ibm_cos connector in sync_connector_files method

* fix: clarify behavior of documents with owner=null in DLS tests

* fix button types (#1875)

* refactor: no derived state (#1886)

* no derivied state

* coderabbit comments

* OPENSEARCH_NODE_COUNT_CHECK_ENABLED as deafult flag (#1975)

What changed:

  - Renamed the env var read by the backend to OPENSEARCH_NODE_COUNT_CHECK_ENABLED in src/config/settings.py.
  - Updated Docker Compose to pass OPENSEARCH_NODE_COUNT_CHECK_ENABLED in docker-compose.yml.
  - Added the canonical flag to the example env file in .env.example.
  - Documented the flag in the OpenSearch config table in docs/docs/reference/configuration.mdx.
  - Updated the existing readiness test wording in tests/unit/test_opensearch_wait_node_count.py.
  - Added a regression test that loads config.settings with OPENSEARCH_NODE_COUNT_CHECK_ENABLED=false and verifies the canonical flag is what the code reads in tests/unit/config/
    test_opensearch_node_count_check_enabled.py.

* chore: Segment improvements (#1971)

* chore: Segment improvements (#1963)

* Update static properties

* and knowledge/setting actions

* avoid duplicate events

* coderabbit comments

* fix: onboarding timeout cleanup issue (#1977)

* fix the cleanup timeout issue for the embedding step

* final step fix

* feat: add shared parameter to connector_sync function

* feat: add shared parameter to TaskProcessor and update connector_sync for permission checks

* fix: improve response handling in delete_document_endpoint for better status reporting

* fix: clear completeTimeoutRef after completion to prevent memory leaks

* fix: update OPENSEARCH_NODE_COUNT_CHECK_ENABLED to use fallback from OPENSEARCH_NODE_COUNT_CHECK

* fix: onboarding timeout cleanup issue (#1977)

* fix the cleanup timeout issue for the embedding step

* final step fix

* fix: support big csv files on langflow-less ingestion (#1968)

* fix max tokens when splitting for langflow-less ingestion

* fix coderabbit picks

* style: ruff autofix (auto)

* added non lf ingestion test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* fix: upgrade OpenSearch to 3.6.0 (#1972)

* upgrade OpenSearch to 3.6.0

* fixed PR review comments

* fix nitpicks

* Added ibm watsonx ai and langchain ibm to Langflow image (#1989)

* OPENSEARCH_NODE_COUNT_CHECK_ENABLED as deafult flag (#1975)

What changed:

  - Renamed the env var read by the backend to OPENSEARCH_NODE_COUNT_CHECK_ENABLED in src/config/settings.py.
  - Updated Docker Compose to pass OPENSEARCH_NODE_COUNT_CHECK_ENABLED in docker-compose.yml.
  - Added the canonical flag to the example env file in .env.example.
  - Documented the flag in the OpenSearch config table in docs/docs/reference/configuration.mdx.
  - Updated the existing readiness test wording in tests/unit/test_opensearch_wait_node_count.py.
  - Added a regression test that loads config.settings with OPENSEARCH_NODE_COUNT_CHECK_ENABLED=false and verifies the canonical flag is what the code reads in tests/unit/config/
    test_opensearch_node_count_check_enabled.py.

* fix: onboarding timeout cleanup issue (#1977)

* fix the cleanup timeout issue for the embedding step

* final step fix

* fix: universal file names (#1982)

* ascii support for ingest files

* update the flow json

* style: ruff autofix (auto)

* Update langflow_headers.py

* Update test_langflow_ingest_callback.py

* Update test-ci.yml

* Update test_onboarding_sample_docs.py

* style: ruff autofix (auto)

* Update test_ascii_safe_header_value.py

* Update langflow_file_service.py

* re trigger commit

* fix: purge config_manager singleton in non-langflow ingestion test

The _purge_modules() list was missing "config.config_manager", so the
ConfigManager singleton retained its cached _config from a previous test.
Subsequent calls to get_openrag_config() returned the old config where
disable_ingest_with_langflow=False, causing the router to use the Langflow
path even though DISABLE_INGEST_WITH_LANGFLOW=true was set in the environment.
Adding config.config_manager to the purge list forces a fresh load on the
next import, picking up the correct env-var values.

* fix: use hash_id to derive expected document_id in CSV ingestion test

DocumentFileProcessor ignores Docling's binary_hash field and computes
document_id = hash_id(file_path) from the actual file content. The test
was asserting against the literal mock value "sha-csv-integration-123"
which never appears in the indexed documents, giving 0 hits and a false
failure. Now the test derives expected_document_id via hash_id(csv_path)
to match what the production code actually indexes.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: Wallgau <[email protected]>
Co-authored-by: Olfa Maslah <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <[email protected]>
Co-authored-by: Edwin Jose <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Mike Fortman <[email protected]>
Co-authored-by: Sebastián Estévez <[email protected]>
Co-authored-by: Lucas Oliveira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend 🟨 Issues related to the UI/UX ignore-for-release lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants