You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build cache loses the compiler fingerprint after its first lookup #1125
The Phase 0 complexity action still launched an older native build runner
after the literal ownership repair. Its key contained an empty compiler
component (<sources>::<config>:0:0), so changing compilers did not invalidate
that runner.
build_cache_current_compiler_fingerprint initialized a global owned string
and returned it by value. Returning that owner reset the global, while leaving build_cache_compiler_fingerprint_ready set. Every subsequent lookup returned
the empty value.
LLDB stopped at build_cache_current_compiler_fingerprint+200
(0x1002e4164 in the retained c91abf7c release compiler):
The caller was build_cache_graph_key through load_build_graph_from_build_w. This is normal ownership transfer applied
to a cache that needed to retain its value, not a reason to weaken moves.
The helper now retains its cached string and explicitly clones the value it
returns. The unresolved-executable sentinel is cached too, so both resolution
outcomes have stable keys. The regression checks repeated keys against the
actual executable's fingerprint and checks that a different target keeps that
identity while changing the full key.
The minimal repeated-key program fails before the repair and passes after it.
The permanent regression is test/behavior/behav_build_cache_compiler_identity.w. Local LLDB evidence is out/fnabi-validation/compiler-fingerprint-reset-proof.txt.
Activity
C algorithms phase1 (#1142)
Complete callable FnAbi descriptors and stdlib Phase 0 (withlang-dev#…