Repository navigation
wxyc flowsheet start --specialty accepts a specialty-show slug - #12
Merged
jakebromberg merged 1 commit intoOct 21, 2026
Conversation
--specialty now takes a program slug, resolved through GET /specialty-shows to the id sent as specialty_id on the join. A numeric value is still used as the id. An unknown or retired slug fails before the join with a one-line error listing the valid slugs.
jakebromberg
deleted the
orchestrator/l6-wxyc-flowsheet-start-specialty-accepts-a-specia
branch
October 21, 2026 09:49
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.
Closes #9
wxyc flowsheet start --specialtynow takes a string. A numeric value is used as the specialty id (existing scripts keep working); anything else is resolved as a slug throughGET /specialty-shows. An unknown or retired slug fails before the join with a one-line error listing the valid slugs. Any explicit--specialtyvalue is honored (the old> 0check is replaced byFlags().Changed). Help text now says the flag takes a slug. No new dependencies.Tests: httptest-based tests cover slug, numeric, unknown-slug and retired-slug paths (
cmd/flowsheet_test.go) and the newSpecialtyShowsread (internal/api/reads_test.go).Note:
go build,go vetandgo test -racewere not run locally because the Go module proxy was unreachable from the sandbox; they run in CI.