Repository navigation
Conversation
…tion pin tests The CI matrix includes Python 3.10, where tomllib does not exist; metadata tests failed at collection. Fall back to tomli (installed only for <3.11) and accept any major version of actions/checkout and actions/setup-python so Dependabot bumps no longer break test_ci_workflow contracts. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013KseHE2souc6cbzfxQ41mz
|
Welcome to DokuZen! Thank you for submitting a pull request. We will review your contribution shortly. |
Generated-with: gpt-6.1-sol (Codex)
|
CI-Diagnose: Die roten Ich habe den Test-Fix aus #3 (Commit 63996a4, nur Generated by Claude Code |
lukisch
left a comment
There was a problem hiding this comment.
Zweitmodell-Review: freigabefähig.
- Diff vollständig gelesen.
tomllibwird jetzt mittomli-Fallback für Python 3.10 importiert, undtomliwird im Smoke-Workflow nur fürpython_version < '3.11'installiert. Das ist korrekt und minimal. - Die Workflow-Integritätstests prüfen
actions/checkout@v\d+undactions/setup-python@v\d+statt fester Versionen. So brechen sie nicht mehr bei Dependabot-Bumps (#4, #6). - Die Qt-Fixtures (
collection_appundcollection_dialog_factory) räumen Dialoge zentral auf, undQApplicationwird einmalig pro Session angelegt. Das ist sauberer als die vorherigen Inline-Instanzen. - CI: alle 9 Smoke-Jobs (3 OS × Python 3.10/3.11/3.12) grün.
- Kleiner Hinweis, nicht blockierend:
tomlisteht nur im CI-Subset. Falls Tests lokal unter 3.10 laufen sollen, gehört es in die Dev-Extras. Nicht gemergt.
Generated by Claude Code
|
Zweitprüfung (Cloud-Bot), Head e913b6f: freigabefähig, kein Blocker. Gelesen: der komplette Diff (4 Dateien). CI auf diesem Head: alle 9
Formale Approval ist mit diesem Konto nicht möglich (Autor = Account). Merge bleibt Maintainer-Entscheidung. Generated by Claude Code |
|
Zweitmodell-Review (Cloud-Bot): Diff geprüft: tomllib→tomli-Fallback nur für Python <3.11, versionsagnostische Action-Pin-Tests, Qt-Dialog-Lifetime-Fixture. Alle 9 CI-Jobs (3 OS × 3.10/3.11/3.12) grün, mergeable_state clean. Freigabe aus Reviewsicht; formales Approve nicht möglich (eigener PR-Autor-Account), Merge bleibt beim Owner. Generated by Claude Code |
lukisch
left a comment
There was a problem hiding this comment.
Zweitmodell-Review: freigabefähig. Der tomllib/tomli-Fallback für Python 3.10 ist sauber und mit Marker python_version < '3.11' abgesichert. Die versionsagnostischen Action-Pin-Tests sind die Voraussetzung, um die Dependabot-PRs #4–#7 gefahrlos zu mergen. Alle 9 Smoke-Jobs sind grün. (Formale Approval nicht möglich, da dasselbe Konto Autor ist.)
Generated by Claude Code
lukisch
left a comment
There was a problem hiding this comment.
Zweitmodell-Review: Diff geprüft (tomli-Fallback für Py3.10, versionsagnostische Action-Pin-Tests, Qt-Fixture mit sauberem Teardown). Alle 9 Smoke-Jobs (3 OS × 3 Python) grün. Keine Einwände – aus Reviewersicht freigabefähig.
Generated by Claude Code
lukisch
left a comment
There was a problem hiding this comment.
Zweitmodell-Review (Freigabe empfohlen): Änderung ist korrekt und minimal. tomli-Fallback für Python 3.10 ist in CI-Installation und beiden Testdateien konsistent; die versionsagnostischen Action-Pin-Asserts (@v\d+) entkoppeln die Tests von den Dependabot-Bumps (#4–#7). Der Qt-Lifecycle-Fixture räumt Dialoge sauber über DeferredDelete ab. CI: alle 9 Smoke-Jobs (3 OS × 3.10–3.12) grün. Formale Approval nicht möglich (eigener PR).
Generated by Claude Code
|
Zweitmodell-Review: Freigabe empfohlen. Diff (4 Dateien, +46/−17) geprüft:
Alle 9 Smoke-Jobs (3 OS × Python 3.10/3.11/3.12) sind grün, der Merge-Status ist clean. Eine formale Approval ist nicht möglich, weil der Bot-Account der PR-Autor ist; das Mergen bleibt Maintainer-Entscheidung. Generated by Claude Code |
|
Zweitprüfung (Bot): ✅ freigabereif. Diff gelesen: Generated by Claude Code |
lukisch
left a comment
There was a problem hiding this comment.
Zweitmodell-Review (Freigabe empfohlen; formale Approval nicht möglich, da gleicher Account): Änderung klein und korrekt. tomllib→tomli-Fallback für Python 3.10 ist sauber und wird in der CI-Installation mitgezogen. Regex-Pins für checkout/setup-python sind versionsagnostisch, sodass die offenen Dependabot-PRs (#4–#7) die Pin-Tests nicht brechen. Qt-Fixtures räumen Dialoge geordnet auf. CI grün (9/9). Keine Einwände.
Generated by Claude Code
lukisch
left a comment
There was a problem hiding this comment.
Zweitprüfung (Cloud-Bot): Freigabe-Empfehlung. Der tomllib→tomli-Fallback für Python 3.10 ist korrekt und wird in der CI nur für python_version < '3.11' installiert. Die versionsagnostischen Action-Pin-Asserts passen zu den Dependabot-Bumps, die Qt-Fixture räumt sauber auf. Alle 9 Smoke-Jobs sind grün. Optional: tomli für 3.10 auch in die dev-Extras aufnehmen, damit lokale Testläufe dort funktionieren.
Generated by Claude Code
lukisch
left a comment
There was a problem hiding this comment.
Zweitmodell-Review (Freigabe empfohlen): tomllib→tomli-Fallback (Py 3.10) samt Marker im CI-Install korrekt; versionsagnostische Action-Pin-Tests passen zu den Dependabot-Bumps; Qt-Lifetime-Fixtures sauber. Smoke-Matrix (3 OS × 3.10–3.12) grün. Hinweis: letzter Check-Lauf vom 19.10. – falls danach Commits kamen, CI-Stand prüfen.
Generated by Claude Code
Zusammenfassung
tomllibnicht.tests/test_metadata.pyundtests/test_security_license_contract.pyscheitern bereits bei der Collection (ModuleNotFoundError: tomllib, siehe Review-Befund auf chore(deps): bump actions/checkout from 4.2.2 to 7.0.1 #4). Jetzt: Fallback auftomli, das nur für Python < 3.11 im Smoke-Workflow installiert wird.test_ci_workflow-Vertrag erwartet nicht mehr hartkodiertcheckout@v4/setup-python@v5, sondern@v\d+. Damit blockieren die Dependabot-Bumps (chore(deps): bump actions/checkout from 4.2.2 to 7.0.1 #4, chore(deps): bump actions/setup-python from 5.4.0 to 7.0.0 #6) den Test nicht mehr (gleiche Lösung wie in filecommander-mcp, build-your-users-mind).Nicht enthalten
# actions/checkout@v4) in den Workflows gehören in den jeweiligen Dependabot-PR chore(deps): bump actions/checkout from 4.2.2 to 7.0.1 #4 (P2-Befund des Reviewers).Validierung
pytest tests/test_metadata.py tests/test_security_license_contract.py: 34 passed (Python 3.11, lokal)ruff check tests: cleanGenerated by Claude Code