Skip to content

feat: Azure Blog Connector - "Ingested" status badge is missing#2099

Merged
mpawlow merged 1 commit into
mainfrom
mp/fix/gh-2084-azure-blob-connector-ingested-badge-missing
Jul 14, 2026
Merged

feat: Azure Blog Connector - "Ingested" status badge is missing#2099
mpawlow merged 1 commit into
mainfrom
mp/fix/gh-2084-azure-blob-connector-ingested-badge-missing

Conversation

@mpawlow

@mpawlow mpawlow commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

ℹ️ Issue

ℹ️ Summary

  • Fixed a startup self-heal gap that let connector_file_id drift to a text mapping on existing OpenSearch indices, breaking the terms aggregation used to compute per-connector "ingested" status and hiding the badge in the Browse Files dialog (reproduced on Azure Blob).

✅ OpenSearch Index Mapping

  • Added connector_file_id to the keyword self-heal field list in both _ensure_opensearch_index() and init_index() (src/utils/opensearch_init.py), so existing indices missing this field get it created as keyword on startup instead of falling back to OpenSearch's dynamic text mapping on first write.

Issue

- #2084

Summary

- Fixed a startup self-heal gap that let `connector_file_id` drift to a
  `text` mapping on existing OpenSearch indices, breaking the terms
  aggregation used to compute per-connector "ingested" status and
  hiding the badge in the Browse Files dialog (reproduced on Azure Blob).

OpenSearch Index Mapping

- Added `connector_file_id` to the keyword self-heal field list in both
  `_ensure_opensearch_index()` and `init_index()`
  (`src/utils/opensearch_init.py`), so existing indices missing this
  field get it created as `keyword` on startup instead of falling back
  to OpenSearch's dynamic `text` mapping on first write.
@mpawlow mpawlow self-assigned this Jul 14, 2026
@github-actions github-actions Bot added backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) enhancement 🔵 New feature or request labels Jul 14, 2026
@mpawlow
mpawlow requested a review from lucaseduoli July 14, 2026 21:25

@lucaseduoli lucaseduoli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mp/fix/gh-2084-azure-blob-connector-ingested-badge-missing

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.

@mpawlow
mpawlow merged commit 2d94da4 into main Jul 14, 2026
30 checks passed
@github-actions
github-actions Bot deleted the mp/fix/gh-2084-azure-blob-connector-ingested-badge-missing branch July 14, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) enhancement 🔵 New feature or request lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Azure Blog Storage Connector: "Ingested" status badge no longer shown in "Browse Files" dialog for documents already ingested

2 participants