Skip to content

Clear datastore picker scope when clearing its project filter - #68

Open
puncsky wants to merge 1 commit into
render-oss:mainfrom
puncsky:fix/clear-datastore-project-scope-20261029
Open

puncsky wants to merge 1 commit into
render-oss:mainfrom
puncsky:fix/clear-datastore-project-scope-20261029

Conversation

@puncsky

@puncsky puncsky commented Oct 30, 2026

Copy link
Copy Markdown

Summary

Clear both the selected project and environment IDs in the psql, pgcli and Key Value project-filter callbacks.

Motivation

After selecting a project, clearing its filter leaves the in-memory scope active and can keep showing No Results even though the workspace has an available datastore.

How to verify

go test ./cmd/... ./pkg/... ./internal/...
  • All 57 development packages pass on the candidate.
  • Real picker tests exercise select -> No Results -> clear across all three commands, alongside a fresh unfiltered process control.
  • New-code lint is clean against c31e586e; full lint on unmodified main reports 92 pre-existing findings with the pinned golangci-lint v2.14.0.

Release notes

Clearing a datastore picker's project filter restores the workspace scope.

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.

1 participant