Skip to content

UX & Ingestion Optimizations#23

Merged
gabemontero merged 6 commits intoredhat-ai-dev:mainfrom
thepetk:optimize-ux
Jan 30, 2026
Merged

UX & Ingestion Optimizations#23
gabemontero merged 6 commits intoredhat-ai-dev:mainfrom
thepetk:optimize-ux

Conversation

@thepetk
Copy link
Contributor

@thepetk thepetk commented Jan 29, 2026

What does this PR do?:

  • Enhanced logic of the fragment's polling. We now skip rerun() if there are no state updates in streamlit
  • Manual Refresh button has been added to assist the user.
  • Ingestion Lock has been added to avoid potential overlapping between streamlit sessions (threads).
  • Conversation selection/creation fragment is now event-driven only -> polling has been removed.

Which issue(s) this PR fixes:

N/A

PR acceptance criteria:

Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened and linked to this PR, if they are not in the PR scope due to various constraints.

  • Tested and Verified

  • Documentation (READMEs, Product Docs, Blogs, Education Modules, etc.)

How to test changes / Special notes to the reviewer:

Changes has been already tested on a test cluster of mine

@thepetk thepetk changed the title UX & Ingestion Optimizations UX, Ingestion and GitOps Optimizations Jan 29, 2026
Copy link
Contributor

@maysunfaisal maysunfaisal left a comment

Choose a reason for hiding this comment

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

much better experience, msgd on Slack

@thepetk thepetk requested a review from maysunfaisal January 30, 2026 09:31
@thepetk thepetk changed the title UX, Ingestion and GitOps Optimizations UX & Ingestion Optimizations Jan 30, 2026
Copy link
Contributor

@gabemontero gabemontero left a comment

Choose a reason for hiding this comment

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

cool stuff @thepetk !!!

aside from the user experience, I like the code simplification from switching to events

I've got some questions around the multi threaded protections around ingesting RAG .... I suspect some more detailed comments are the only possible change needed, but let me know what you think

@thepetk thepetk requested a review from gabemontero January 30, 2026 16:47
@gabemontero gabemontero merged commit e51003d into redhat-ai-dev:main Jan 30, 2026
1 check passed
gabemontero added a commit that referenced this pull request Jan 30, 2026
* Update RAG metadata regeneration logic (#13)

* Update logic for RAG Metadata caching

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Remove .git suffix from URL

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Add tests for RAG metadata regen

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Fix ruff linting err

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Address PR review and ty linter

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Update Llama Stack run config for openai to ollama

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Update Ollama Deployment to pull embedding model

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

---------

Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Create pull request template based on ai-lab-template (#16)

* Add CI/CD for App, Llama Stack (#17)

* Add CI/CD for App, Llama Stack

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Update .github/workflows/image.yaml

Co-authored-by: Theofanis Petkos <thepetk@gmail.com>

* Update .github/workflows/image.yaml

Co-authored-by: Theofanis Petkos <thepetk@gmail.com>

* Update .github/workflows/image.yaml

Co-authored-by: Theofanis Petkos <thepetk@gmail.com>

---------

Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Co-authored-by: Theofanis Petkos <thepetk@gmail.com>

* Fix workflow for space and image inspect (#19)

Assisted-by: Claude Opus 4.5

Generated-by: Cursor

Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* adjust github mcp tools calls for payload size, timeout (#20)

discovered during testing of the performance agent that the github add comment tool call
was failing for the k8s top outpu.

investigation confirmed that the output exceeded the max length for a github comment, so
adding some truncating logic to adhere to the size limit

also broke out failure processing for creating and issue from failure processing for adding comments;
we should at least note the github issue creation, with an indicator if any of the comment failed

finally, added a timeout to the comment tool calls, as failure/retry at the openai/LLS level lead to
huge delays from the UI perspective (one instance or 1200 seconds).

* Consolidate GITHUB TOKENS - 1 (#18)

Assisted-by: Claude Opus 4.5

Generated-by: Cursor

Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Introduce gitops sync waves (#22)

* Enforce Secrets Creation Acknowledgment (#24)

* Fix Secret ACK checkbox

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* Default Checkbox to False, and enforce using enum

Assisted-by: Claude Opus 4.5

Generated-by: Cursor
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

---------

Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>

* UX & Ingestion Optimizations (#23)

* Remove polling

* Avoid concurrent ingestion

* Update streamlit app

* Add manual refresh

* Add more comments

* Update comment

* Prepare for RHDH 1.9

---------

Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Co-authored-by: Maysun Faisal <31771087+maysunfaisal@users.noreply.github.com>
Co-authored-by: Gabe Montero <gmontero@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants