Arystan

Results comments of Arystan

Hi @mnriem — round-2 Copilot feedback addressed in b75e55f: - **Test brittleness** (`tests/test_update_check.py:271`): `test_ci_suppresses_even_when_opted_in` now pins `sys.stdout.isatty()=True`, so it actually verifies the CI guard instead of short-circuiting on the TTY...

Resolved merge conflict with main in d8c16f7. Only `CHANGELOG.md` had a real conflict — kept the existing `## [Unreleased]` entry (the update-check feature) above the new `## [0.8.1]` section that...

@mnriem — also rebased onto current `main` and integrated with #2550 (`_version.py` extraction). The update-check helpers now live in `_version.py` next to `_get_installed_version` / `_fetch_latest_release_tag` / `_is_newer`, which we reuse...

Addressed the latest Copilot feedback in c3e063d: - Moved startup update-check imports to the top of `_version.py` to satisfy Ruff E402. - Wrapped malformed/unexpected `_fetch_latest_release_tag()` failures so they write a...

Addressed the latest Copilot feedback and updated the branch with current `upstream/main`: - Reworded the startup update-check comments/docstring from “one-line” to “upgrade guidance” to match the current three-line output. -...

Addressed in 8be289d: - Hardened `_write_update_check_cache()` against symlink-based file overwrites — destination and parent are checked with `is_symlink()`, and the write itself uses `os.open(..., O_NOFOLLOW, 0o600)` so the kernel refuses...

@mnriem Addressed the latest Copilot feedback in `0facef1` and synced the branch with current `main` in `d134ea1`: - Symlink-hardening tests now skip via `pytest.skip` when the platform or user cannot...