pi-web icon indicating copy to clipboard operation
pi-web copied to clipboard

Add regression coverage for model configuration and session lifecycle

Open Atopos-jy opened this issue 4 months ago • 1 comments

Problem

Pi Web has important stateful behavior around model configuration, authentication, cached agent sessions, and session loading, but these flows currently have little automated regression coverage.

Suggested coverage

  • Saving models.json invalidates the model-list cache.
  • Updating or removing a provider API key updates authentication status.
  • An existing session can still be opened after model configuration changes.
  • Model configuration writes do not leave a partially written models.json.
  • Failed prompt requests expose a recoverable UI state.

Goal

Add a small, focused test setup and start with coverage for these high-risk model/session flows. The exact test framework can follow the maintainers' preferred approach.

Atopos-jy avatar Jul 29 '26 08:07 Atopos-jy

fixed in 5158faf81e35270e3c008f43e99f4bd2ff544850

agegr avatar Aug 07 '26 15:08 agegr