A post says so when the AI check cannot run, instead of waiting forever - #2205
Merged
Conversation
Bei nicht erreichbarem Scanner wartete ein Beitrag mit Bild oder Datei unbegrenzt und behauptete bei zehn Minuten wie bei dreißig Tagen "Unsere KI prüft gerade 1 Bild". Die Warteschlange bleibt absichtlich unverändert, denn ohne Urteil wird nichts freigegeben; neu ist, dass `image_scans` sich merkt, seit wann der Dienst ausfällt, und dass Karte, Warteseite und Leiste nach einer halben Stunde ununterbrochener Ausfälle beim Namen nennen, was los ist. Abgelehnt oder verworfen wird dabei nichts, also kostet auch ein zweiminütiger Aussetzer keinen Beitrag: sobald der Scanner antwortet, erscheint er von selbst. Diesen Text hat ein KI-Agent in meinem Namen geschrieben. Ich weiß, dass das problematisch ist. Claude-Session: https://claude.ai/code/session_013VnEsuePUe2CB2QvDcshcp
Beim Nachziehen der neuen Wartetexte bekam die Statusmarke der Moderationsfälle (`pending_owner` in `/admin/moderation`) auf Deutsch und Italienisch den Text der neuen Dateizeile verpasst und hätte "wartet auf die Prüfung" gesagt, also auf etwas anderes gewartet als auf den Rechteinhaber. Die neue msgid "waiting for the check" behält ihren eigenen Text, die alte bekommt ihren zurück; beide Kataloge bleiben bei null fuzzy. Diesen Text hat ein KI-Agent in meinem Namen geschrieben. Ich weiß, dass das problematisch ist. Claude-Session: https://claude.ai/code/session_013VnEsuePUe2CB2QvDcshcp
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.
Symptom. With the AI image scanner unreachable, a post waiting on a picture or a file waits forever, and
/system/uploadssays "Our AI is checking 1 picture" at ten minutes, at a day and at thirty days.What changed.
image_scansnow records since when the scanner has been unreachable (service_failing_since, stamped on the first service error, cleared the moment Ollama answers at all). PastAI_CHECK_STALL_SECONDS(default 1800) the waiting card and/system/uploadssay the check cannot be reached, the app-bar chip stops counting the row as work in flight, and the file row stops saying "being prepared". The queue itself is untouched: nothing is refused, nothing released early, and the post publishes itself the moment a verdict lands, so a two-minute outage cannot cost anybody a post.To decide. At the ceiling the author's only way out is Cancel, which drops the text along with the file. Whether it should also offer "post the text without it" is a moderation decision, not a timeout one, so I left it out.
Closes #2149
https://claude.ai/code/session_013VnEsuePUe2CB2QvDcshcp