Repository navigation
feat(console): workload switch re-previews the expected route - #14
Merged
Merged
Conversation
Switching the workload in the Playground kept the prompt but left the Expected route as "Stale / Unknown until previewed" until Preview route was pressed, so the switch appeared to do nothing. The switch now runs the Host dry run for the new workload at once when the form has a sender and a prompt. The same request then shows its new outcome in the route scheme (for example Internal: served locally; Public: rejected at Classify). Nothing is sent to a model and nothing runs until Run. A newer dry run now wins over an older one that completes late, so two quick switches cannot leave the previous workload's route on screen. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In the Playground, switching the workload (for example Internal → Public) kept the prompt but left the Expected route as "Stale · Not evaluated yet · Unknown until previewed" until Preview route was pressed. On screen the switch appeared to do nothing, which hides the point of the sensitive-data comparison: the same request, a different workload, a different outcome.
Change
Local · ollama/…under Internal andRejected — nothing would be sentunder a Public workload that rejects detected sensitive data.POST /admin/policies/simulateas before.Not in this PR
Verification
dotnet build Covenant.sln -c Release: 0 warnings, 0 errors.dotnet test Covenant.sln -c Release: 1,280 passed (6 new cases inPreviewFreshnessTests).🤖 Generated with Claude Code