Skip to content

fix(ui): Run Test page error surfacing and streamlit upgrade#766

Merged
XuanYang-cn merged 1 commit intozilliztech:mainfrom
XuanYang-cn:fix-streamlit
Apr 24, 2026
Merged

fix(ui): Run Test page error surfacing and streamlit upgrade#766
XuanYang-cn merged 1 commit intozilliztech:mainfrom
XuanYang-cn:fix-streamlit

Conversation

@XuanYang-cn
Copy link
Copy Markdown
Collaborator

  • Migrate DB config validators to pydantic v2; list all empty fields
    instead of raising on first; consolidate via _extra_empty_skip.
  • Surface missing client modules at config render time as
    {DB} needs {module} but it is not installed.
  • Replace streamlit-autorefresh with native @st.fragment(run_every)
    so live progress does not block UI.
  • Bump streamlit to 1.47+ (picks up streamlit#11890 fragment fix);
    switch to native st.switch_page, drop streamlit_extras.
  • Migrate deprecated use_container_width=True to width="stretch".
  • Patch tornado write_message to consume expected WebSocketClosedError
    on tab-close races (streamlit#9787).
  • Add contract test: each DB enum resolves config_cls/init_cls or
    raises ModuleNotFoundError.

See also: #446

- Migrate DB config validators to pydantic v2; list all empty fields
  instead of raising on first; consolidate via `_extra_empty_skip`.
- Surface missing client modules at config render time as
  `{DB} needs `{module}` but it is not installed.`
- Replace streamlit-autorefresh with native `@st.fragment(run_every)`
  so live progress does not block UI.
- Bump streamlit to 1.47+ (picks up streamlit#11890 fragment fix);
  switch to native `st.switch_page`, drop `streamlit_extras`.
- Migrate deprecated `use_container_width=True` to `width="stretch"`.
- Patch tornado `write_message` to consume expected `WebSocketClosedError`
  on tab-close races (streamlit#9787).
- Add contract test: each DB enum resolves config_cls/init_cls or
  raises ModuleNotFoundError.

See also: zilliztech#446

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
@sre-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: XuanYang-cn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@XuanYang-cn XuanYang-cn merged commit 4082eff into zilliztech:main Apr 24, 2026
4 checks passed
@XuanYang-cn XuanYang-cn deleted the fix-streamlit branch April 24, 2026 09:21
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.

2 participants