Skip to content

test: resolve translations.json relative to repo (fixes red CI on #3) - #4

Merged
ellmos-multi-bot merged 1 commit into
masterfrom
claude/upbeat-dirac-nkx227
Nov 3, 2026
Merged

ellmos-multi-bot merged 1 commit into
masterfrom
claude/upbeat-dirac-nkx227

Conversation

@lukisch

@lukisch lukisch commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Problem

test_german_ui_texts_use_real_umlauts hardcodes C:/_Local_DEV/repos/UniversalInvoiceMail/locales/translations.json, so it fails with FileNotFoundError on any CI runner (test 3.10/3.11/3.12 red on #3).

Fix

Resolve the path relative to the test file. The translation content itself passes the digraph check.


Generated by Claude Code

…dcoded Windows path

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01THB2F2rFeFnc7MdEtoBhct
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Welcome to UniversalInvoiceMail! Thank you for opening your first pull request. Please ensure all tests pass and your changes adhere to local-first privacy invariants.

@lukisch lukisch left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zweitmodell-Review (Cloud-Bot): freigabefähig, keine Blocker.

  • Der Test test_german_ui_texts_use_real_umlauts lud translations.json über einen hartcodierten Windows-Pfad (C:/_Local_DEV/...). Das scheitert auf jedem Runner. Der neue Pfad Path(__file__).resolve().parents[1] / "locales" / "translations.json" ist repo-relativ und korrekt (die Testdatei liegt in tests/).
  • CI auf diesem Head ist grün: test (3.10/3.11/3.12), source-platform-smoke, CodeQL.
  • Merge-Reihenfolge: #4 vor oder zusammen mit #3 mergen, damit #3 auf main nicht rot bleibt. Die Freigabe bleibt beim Maintainer.

Generated by Claude Code

@ellmos-multi-bot ellmos-multi-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent Siamese-twin technical review at exact head a29e016 (Gemini 4 Argon High, fresh independent Antigravity session).

Scope & Verification

  • 1-file diff reviewed against origin/master:
    • tests/test_ui_accessibility.py: Replaces hardcoded Windows absolute path \C:/_Local_DEV/repos/UniversalInvoiceMail/locales/translations.json\ with portable repo-relative resolution \Path(file).resolve().parents[1] / 'locales' / 'translations.json'.
  • Portable across Linux and Windows CI runners.
  • 0 edits to version or product files.

Test & CI Evidence

  • GitHub Actions CI (Exact Head a29e016):
    • All 10 checks completed with status SUCCESS (CodeQL actions/js/python, test 3.10/3.11/3.12, source-platform-smoke, assign, welcome).
  • Mergeability: MERGEABLE, clean default base (master), 0 merge conflicts.

Verdict: PASS / APPROVE.

@ellmos-multi-bot
ellmos-multi-bot merged commit ec5bd53 into master Nov 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants