chore: clear the request-era leftovers
release / integration (push) Canceled after 0s
release / web (push) Canceled after 0s
release / android (push) Canceled after 0s
release / govulncheck (push) Canceled after 0s
release / Build signed APK (push) Canceled after 0s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / go (push) Canceled after 8s
release / integration (push) Canceled after 0s
release / web (push) Canceled after 0s
release / android (push) Canceled after 0s
release / govulncheck (push) Canceled after 0s
release / Build signed APK (push) Canceled after 0s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / go (push) Canceled after 8s
A playback error can no longer be resolved as "requested": the server refuses it, migration 106 takes it out of the CHECK (no row used it), and the Reports history and types drop its label. The web and Android error tables lose the copy for errors only the wanted list, follows, release-type profiles, downloads and indexers sent, and comments stop naming Discover, following and the requests page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,14 +23,13 @@ var validPlaybackErrorKinds = map[string]struct{}{
|
||||
"stalled": {},
|
||||
}
|
||||
|
||||
// Valid `resolution` values. Hidden / deleted / requested are stamped
|
||||
// automatically when the admin clicks the matching action from the
|
||||
// inbox; fixed / ignored are operator-driven (no action taken on the
|
||||
// track itself). Mirrors the CHECK constraint in migration 0032.
|
||||
// Valid `resolution` values. Hidden / deleted are stamped automatically
|
||||
// when the admin clicks the matching action from the inbox; fixed /
|
||||
// ignored are operator-driven (no action taken on the track itself).
|
||||
// Mirrors the playback_errors_resolution_check constraint.
|
||||
var validPlaybackErrorResolutions = map[string]struct{}{
|
||||
"hidden": {},
|
||||
"deleted": {},
|
||||
"requested": {},
|
||||
"fixed": {},
|
||||
"ignored": {},
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE playback_errors
|
||||
DROP CONSTRAINT playback_errors_resolution_check,
|
||||
ADD CONSTRAINT playback_errors_resolution_check
|
||||
CHECK (resolution IS NULL OR resolution IN ('hidden', 'deleted', 'requested', 'fixed', 'ignored'));
|
||||
@@ -0,0 +1,7 @@
|
||||
-- A playback error is resolved by hiding or deleting the track, or by marking
|
||||
-- it fixed or ignored. Nothing re-requests a track any more, so 'requested'
|
||||
-- is no longer a resolution.
|
||||
ALTER TABLE playback_errors
|
||||
DROP CONSTRAINT playback_errors_resolution_check,
|
||||
ADD CONSTRAINT playback_errors_resolution_check
|
||||
CHECK (resolution IS NULL OR resolution IN ('hidden', 'deleted', 'fixed', 'ignored'));
|
||||
Reference in New Issue
Block a user