Commit Graph
28 Commits
Author SHA1 Message Date
Claude 33311ac3a4 Publish job waits up to 100 min for the tests
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 17:56:34 +00:00
Claude 319edb9f67 CI: room for the main suite on a busy runner (70 min)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 17:56:23 +00:00
Claude b1635fe6ec CI: browser tests in their own job beside the main suite
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 17:07:39 +00:00
Claude 6a83d5d80c Make the test suite and web host work on Windows
The Windows pytest job found real Windows bugs: the web host crashed on its
first password (no os.fchmod) and refused its own credential file later
(POSIX mode check), the Remote Crew listener let a second program bind its
port (SO_REUSEADDR), and a fresh Windows settings file paired graphics
"full" with the line switch off. The soak tool now runs without the
resource module and prints POSIX paths. Tests run against the uConsole
graphics default on every platform; the uConsole-only hotspot and updater
helpers are skipped off Linux.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 15:54:20 +00:00
Claude f7f5462265 Release only after green tests, CI on Windows and Python 3.13, required update checksum (1.3.215)
The publish job now waits for the Tests workflow of its commit and gives up
on a failure, so a red main never reaches the updaters. A failed Windows
build no longer holds back the uConsole/macOS release; older releases are
kept while the new one lacks the Windows program. Windows/macOS updates are
offered only with GitHub's SHA-256 digest. Tests: pytest on Windows and
Python 3.13, browser tests selected by the browser marker, pytest-timeout
with a 15 min default, calibration split per section.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3tXxmJcADkJ8r7XDY1dq8
2026-10-05 14:46:20 +00:00
Claude 281b955a5c Drop the Intel macOS build (Apple silicon only)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-04 18:37:45 +00:00
Claude 25f32f7753 Close the remaining audit points C4, C14, C21a, C21b
- LFM: equal energy to CW, so no gain against noise; its pulse-compressed
  range cell cuts reverberation by 20 dB instead.
- Passive: the reference absorption credit of the torpedo-hearing figure
  of merit sits outside the 0 dB path-excess bound and is no longer lost.
- Free patrol: a neutral submarine costs the frigate only when its own
  torpedoes, depth charges or rockets sink it; a boat brought back as a
  new encounter takes a new identity and the frigate drops what it held
  on the old one.
- Release workflow: jobs time out after 30 min so a hung self-test no
  longer blocks the release queue for hours.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-04 10:34:51 +00:00
Claude ff7f193580 Merge main (1.3.172 microphone); macOS update fix becomes 1.3.173
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTvq68YWzbEc9Yj9uKXSsM
2026-10-03 06:47:51 +00:00
Claude 940201e076 macOS app: verify HTTPS with bundled root certificates, show failed update checks (1.3.172)
The app's built-in Python looked for root certificates in the build
machine's Python folder, so every update check failed verification and no
notice appeared. Windows and macOS programs now bundle certifi and add it
(and macOS /etc/ssl/cert.pem) to the default store for the update check,
the language model and live traffic. A failed check now shows its reason
on the start screen and main menu; U checks again. CI runs --tls-self-test
on both programs, on macOS with OpenSSL's default paths pointed nowhere.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTvq68YWzbEc9Yj9uKXSsM
2026-10-03 06:43:52 +00:00
Claude 40a85e9fb7 Merge branch 'worktree-agent-a78cbc6ef751485a3' into claude/project-thread-xd4r0v 2026-10-02 23:58:22 +00:00
Claude 124fd51a8f Add a macOS app built and released like the Windows program
The release workflow (windows.yml) now also builds U-Jagd.app with
PyInstaller (packaging/macos) natively for arm64 (macos-latest) and
x86_64 (macos-15-intel), since pygame and NumPy publish no universal2
wheels, self-tests it (mission + Remote Crew, the bundle swap, and the
zip as the in-game updater unpacks it) and zips it with ditto as
U-Jagd-macOS-<arch>.zip. A single final publish job creates the release
and uploads the Windows exe and both zips, then prunes older releases,
so the builds never race.

The frozen macOS app updates itself: it downloads the zip for its
processor (size and SHA-256 checked), unpacks it safely beside the
bundle (confined paths and links, bounded size, modes 755/644) into
<app>.update, and a detached sh script swaps the bundle after the game
quits (old bundle renamed aside, restored on failure, deleted only once
the new one is in place) and reopens it. Translocated or unwritable
bundles open the release page. ~/.u-jagd is never touched.

Remote Crew on macOS: SIOCGIFADDR is Linux-only, so the LAN address now
comes from the routing table there (and whenever no private interface
address was found).

README (EN/DE) gains a macOS app section with the first-start step;
the quickstart manual chapter mentions the macOS update.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 23:45:13 +00:00
Claude bde6304657 Soak: diagnose and keep saves that do not load; soak every scenario
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 21:13:11 +00:00
Claude ced280cda0 Nightly soak test; fix loading a boat save with a selected contact (1.3.128)
tools/soak_game.py plays every scenario on both sides with a seeded random
operator, checks save/load continuation and memory; .github/workflows/soak.yml
runs it nightly and files an issue on failure. Its first run found that the
crewed boat's selected sonar contact was looked up by the wrong key on load.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
2026-10-01 05:49:47 +00:00
Claude afcd2f0aea Merge origin/main (in-game update notice) into item3
The Tk starter stays deleted: the frozen game installs updates itself
("windows" mode); src/launcher/entry.py takes over the starter's
UPDATE_EXIT_CODE hand-over (fetch <exe>.new if missing, launch_install).
main.py keeps --multiplayer and passes mode None to start_update_check;
launcher.* catalog keys stay removed next to the new update.* keys.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
2026-09-30 11:33:05 +00:00
Claude 04e8c4f7f5 Run the Chromium tests in a CI step of their own on two workers
Under the full parallel suite the runner starved the real-time and
virtual-time browser probes (a different one timed out each run). The
real PTT voice probe also gets more virtual time to pair and connect.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 13:47:56 +00:00
Claude c6699baad9 Let the real-role browser test move on only after the browser checked a role
The host switched roles after a fixed number of presence polls; a slow
runner was still checking the helicopter plots when its view was hidden.
The page now reports the roles it has fully checked. CI runs the real-time
browser session file on two workers of its own.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 12:52:18 +00:00
Claude 5fba6e000c Merge main (1.3.75 tag cleanup); release as 1.3.76
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 12:36:50 +00:00
Claude 9545789f80 Remove older version tags with their releases (1.3.75)
After deleting the older releases, the Windows workflow now also deletes
every git tag vX.Y.Z older than the current version, so only the newest
release and its tag stay on GitHub. The uConsole updater fetches only the
tag of releases/latest. Tags of another form (backup tags) are kept.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-29 11:25:15 +00:00
Claude df527fb9e0 Autopilot path search, test CI, flaky browser fixes, hardware report (1.3.74)
The autopilot falls back to a bounded A* chart search when a stand-off
detour does not clear a leg (channels, bays, long coasts). GitHub runs
the suite with Chromium plus the generated-file checks, calibration and
smoke test on every change. The phone lookout keeps its eyepiece when the
boot /session 401 arrives after pairing; the status bar check loads the
bundled fonts and measures on a timer. Manual: the AI hunters, not the
frigate, lack ASROC. tools/hw_report.py summarises a uConsole debug run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 11:07:06 +00:00
Claude 68f8171621 Fix the Windows self-update swap (1.3.73)
The install script paused with `timeout`, which exits at once when stdin
is redirected, so its retries ran out while the old exe was still
running: the download stayed as U-Jagd-Windows.exe.new and the old
version restarted. The script now waits with ping and retries the move
for about two minutes until both PyInstaller processes are gone, the
starter deletes a leftover .new file, and the Windows workflow tests the
swap with --update-self-test.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-29 08:54:43 +00:00
Claude 46b5d237b3 Release clean-up: strip Windows line endings from tags (1.3.43)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 18:09:27 +00:00
Claude f2cfcb713e Keep only the newest GitHub release (1.3.42)
After publishing v<APP_VERSION> the Windows workflow deletes every older
release (git tags stay). tools/prune_releases.py picks only vX.Y.Z tags older
than the current version, never a newer one. Both updaters read only
releases/latest.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 18:04:24 +00:00
Claude d95e9bf8b8 Merge main (boat campaign 1.3.16); Windows update fix becomes 1.3.17
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:51:02 +00:00
Claude 1168b9170a Merge main (convoy attack 1.3.15); Windows update fix becomes 1.3.16
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:48:05 +00:00
Claude 78864ba005 Merge main (boat missions 1.3.14); Windows update fix becomes 1.3.15
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:30:24 +00:00
Claude 2e8afa7279 Windows self-update restarts cleanly; starter links Buy me a coffee (1.3.14)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:21:38 +00:00
Claude e3aba27cc9 README: current screenshots, latest release only; history in CHANGELOG (1.3.12)
Regenerate the uConsole (1280x720, now including the seven submarine
stations) and Remote Crew browser screenshots, embed both in the EN/DE
READMEs (the German one now uses the German images), and move the release
history into CHANGELOG.md / CHANGELOG.de.md. tools/changelog_notes.py prints
a release's entry for the GitHub release text and checks the rule;
capture_commander's lobby check counts the nine visible frigate cards.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HWJsfpgUP5DoVqBjzNbQoj
2026-09-28 09:55:36 +00:00
Claude 1643720df9 Windows program: starter, Remote Crew autostart and self-update (1.3.9)
U-Jagd-Windows.exe (PyInstaller) opens a starter window that launches the
game with Remote Crew already listening on the PC's private LAN address
(crew or solo mode, optionally as the submarine), shows URL, join code and
QR code, and offers newer GitHub releases (size and SHA-256 checked,
self-replacing). The game gains --remote-crew and --status-file, and finds
its LAN address without Linux ioctls through the routing table. A workflow
builds and self-tests the program on windows-latest for every push and PR
and publishes release v<APP_VERSION> on main.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 09:28:30 +00:00