One function

_get_last_node_version in ekalinin/nodeenv

The author described this change as fix(nodeenv): replace leftover debug print with logger.debug (#391). It counts as a record because the check below fails on the code as it stood at eb26d7f99 and passes on 41c184100, with nothing else changed between the two runs.

Fix saved2026-08-13
Sharing licenceBSD-2-Clause · LICENSE
Change size+3 1

What the code was meant to do, written into the code itself as a docstring

Return last node.js version matching the filter

The change

22 """
33 Return last node.js version matching the filter
44 """
5- print({"x86": is_x86_64_musl(), "risc": is_riscv64(), "lts": lts})
5+ logger.debug(
6+ ' * Host platform: x86_64-musl=%s, riscv64=%s, lts=%s',
7+ is_x86_64_musl(), is_riscv64(), lts)
68
79 def version_filter(v):
810 if lts and not v['lts']:

The check that tells the two apart

failpass·tests/nodeenv_test.py::test_get_last_node_version_writes_nothing_to_stdout

Check file tests/nodeenv_test.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.

Origin and history

The code before iteb26d7f99f792d4aeab719afc76c9d888797bb82
Broken version dated2026-08-13
Modulenodeenv
Units changed_get_last_node_version
Fingerprintac391a528fb6830a
Checked2026-08-18 by goldset/0.1

Every field above is generated by our program. None of it is written by hand.

Other bugs found in ekalinin/nodeenv