Skip to content

experiments: hide disabled connections; bump engine to 0.3.0 - #7

Merged
SushantGautam merged 2 commits into
mainfrom
agents/disabled-connection-experiments-issue
Oct 2, 2026
Merged

SushantGautam merged 2 commits into
mainfrom
agents/disabled-connection-experiments-issue

Conversation

@SushantGautam

Copy link
Copy Markdown
Collaborator

Summary

Two changes:

  1. Fix: disabled connections still appeared in the New Experiment Models list.
    The picker was built from visible_connections_for(), which filters only by sharing rules (owner / public / admin / explicit) and ignored the ModelConnection.enabled flag. A connection disabled on /connections/ still showed up — and its models could be picked — contradicting the "disabled" badge (tooltip: Its models can't be picked for new runs) on that page. Disabled connections are now filtered out of the picker so their models can't be selected. The /connections/ page is unchanged (still lists them, badged).

  2. Chore: bump the simpleaudit engine pin 0.2.3 → 0.3.0.
    The local editable ../SimpleAudit checkout is at 0.3.0 (the latest release), but Studio pinned ==0.2.3, a version mismatch. Bumped the pin and re-locked.

Testing

  • Added 3 tests to PickerSharingTests (disabled owner connection hidden, enabled connection still shown, disabled shared connection hidden from consumer).
  • Full infra/tests/ suite: 546 passed, 2 skipped (both skips environment-specific, unrelated).

The New Experiment Models list was built from visible_connections_for(), which filters only by sharing rules and ignored the ModelConnection.enabled flag. A connection disabled on /connections/ still appeared (and its models could be picked), contradicting the 'disabled' badge there. Filter disabled connections out of the picker so their models can't be selected for new runs.
The local editable ../SimpleAudit checkout is at 0.3.0 (matching the latest release), but Studio pinned ==0.2.3, causing a version mismatch. Bump the pin and re-lock.
Copilot AI balanced review requested due to automatic review settings October 2, 2026 05:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SushantGautam
SushantGautam merged commit 5f73fe4 into main Oct 2, 2026
3 of 4 checks passed
@SushantGautam
SushantGautam deleted the agents/disabled-connection-experiments-issue branch October 2, 2026 05:44
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