Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kmcgrady
Copy link
Collaborator

@kmcgrady kmcgrady commented May 2, 2025

Describe your changes

Changes in the MPA v1 handling inadvertently caused issues in clearing widget state. This is a result of the script lifecycle ending prematurely. This change forces all pages to run completely and exec in the case of MPAv0/2

GitHub Issue Link (if applicable)

closes #11202

Testing Plan

  • E2E Tests adds this test case

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@kmcgrady kmcgrady added security-assessment-completed Security assessment has been completed for PR change:bugfix PR contains bug fix implementation impact:users PR changes affect end users labels May 2, 2025
@snyk-io
Copy link
Contributor

snyk-io bot commented May 2, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@github-actions
Copy link
Contributor

github-actions bot commented May 2, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-11258/streamlit-1.45.0-py3-none-any.whl
🕹️ Preview app pr-11258.streamlit.app (☁️ Deploy here if not accessible)

Copy link
Collaborator

@lukasmasuch lukasmasuch left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kmcgrady kmcgrady merged commit 171d208 into develop May 5, 2025
40 checks passed
@kmcgrady kmcgrady deleted the fix/session-state-reset branch May 5, 2025 17:20
sfc-gh-mbarnes pushed a commit that referenced this pull request May 12, 2025
Changes in the MPA v1 handling inadvertently caused issues in clearing
widget state. This is a result of the script lifecycle ending
prematurely. This change forces all pages to run completely and exec in
the case of MPAv0/2

closes #11202

- E2E Tests adds this test case

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:bugfix PR contains bug fix implementation impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Session_state of a widget is inconsistent with its display

3 participants