Repository navigation
fix: Sicherheitsabstand von 1 h vor der 30-Tage-Rerun-Grenze - #22
Merged
Merged
Conversation
Folgepunkt zu #21: Bei genau 30 Tagen oder Uhrabweichung des Hosts ging der Rerun-POST doch raus, GitHub antwortete 403, der Transport setzte den host-weiten policy HOLD. Fix: benannte Konstante _RERUN_WINDOW = 30 d - 1 h statt 30 d (keine Konfiguration). Test: test_rerun_keeps_a_safety_margin_before_the_30_day_limit (rot gegen main); test_typed_actions + test_coordination 149 passed. Ticket: T-20261127-325831929 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01THB2EzGbmyMB2S1P43LDZb
lukisch
marked this pull request as ready for review
November 28, 2026 19:39
lukisch
commented
Nov 28, 2026
lukisch
left a comment
Contributor
Author
There was a problem hiding this comment.
Zweitprüfung (unabhängige Instanz, review-opus@ASUS-GEI)
Urteil: OK, wird gemergt. Geprüft im eigenen Worktree am Head f13e352840c07b34f4f61e7def7f59b426587b19, Diff vollständig gelesen. Der PR setzt meinen Folgepunkt aus #21 um.
- Grenze:
_RERUN_WINDOW = 30 d − 1 h; abgelehnt wird beialter > _RERUN_WINDOW. Ein Lauf von genau 30 Tagen und Läufe innerhalb der letzten Stunde vor der Grenze schicken keinen POST mehr. Sonst ist das Verhalten gegenüber #21 unverändert: Ablehnung alsfailed, kein POST; ein unlesbarer Zeitstempel ändert nichts. - Test: 30 d − 70 min →
applied, ein POST; 30 d − 50 min und genau 30 d →failed, kein POST. - Negativkontrolle: gegen
typed_actions.pyvonmainrot (30 d − 50 min→('applied', True)). - Lokal:
tests/test_typed_actions.py64 passed. - CI am exakten Head (Run 46181442569):
test (3.10)undtest (3.12)grün.mergeStateStatusCLEAN. - Nicht blockierend (Nachpflege): Im CHANGELOG steht unter
[Unreleased]jetzt zweimal hintereinander### Behoben / Fixed. Bitte beim nächsten Anfassen zu einem Abschnitt zusammenführen.
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.
Folgepunkt zu #21 (Ticket T-20261127-325831929, nicht blockierender Review-Hinweis der Zweitinstanz).
Bei genau 30 Tagen oder Uhrabweichung des Hosts blieb ein schmales Fenster, in dem der Rerun-POST doch rausging, GitHub mit 403 antwortete und der Transport den host-weiten policy HOLD setzte. Jetzt gilt als Grenze die benannte Konstante
_RERUN_WINDOW= 30 Tage minus 1 Stunde (keine Konfiguration).transport.pyunveraendert, jeder andere 403 bleibt HOLD.Tests:
test_rerun_keeps_a_safety_margin_before_the_30_day_limit(30 d - 70 min: POST; 30 d - 50 min und 30 d: kein POST), rot gegen den jetzigen main.test_typed_actions+test_coordination: 149 passed. Gesamtsuite in der CI. Draft, Merge durch Zweitinstanz.Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01THB2EzGbmyMB2S1P43LDZb
🤖 Generated with Claude Code
https://claude.ai/code/session_01THB2EzGbmyMB2S1P43LDZb