Six pre-existing phantom-bind shapes found by the v0.32.1 final review (not regressions) #300
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index#300
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The independent final review of v0.32.1 (release-v0.32.1 @
f208704) found six wrong-bind shapes. Each one was already present in v0.32.0 (4e3034a), in 0.31.2 (dc841af), or in both, so none is a regression from the v0.32.1 work. They are filed here instead of being folded into that release. Fixtures and logs are under/tmp/final-review/(fx/, q3/) on the build machine, and in reviewer B's/tmp/review-b/(py1, js1, rs1).from other import imp_targetinside a function is overridden by a same-file definition ofimp_targetthrough tier 2 (rule 20). Fixture: py1scope.py:88.function destr({ other }) { other() },otherbinds to the module-levelother. Destructured parameter patterns are not recorded as locals.const f = (other) => other()at module level,otherbinds to the module function. I073 already records this as known.let f = |m| …; f(m)binds another file'sfthrough T1B_SAME_DIRECTORY, because closure-boundletlocals are not local facts.import enginebinds a conftest fixture. The import binds a same-directoryconftest.pyfixture namedenginethrough T1B_SAME_DIRECTORY.c.fetchbindsother.pythrough T1B_CONTAINER_IMPORT even thoughClientis imported frommodels.Also open, with the same provenance:
local_scope4,381 → 374 ms). The interleaved django wall-clock runs are still noisier than the effect (load 4–9). A quiet-machine run comparingdc841af,4e3034aand v0.32.1 is still needed before any wall-clock claim is published.For each shape: add a precision-gate decoy that fails on the current tree, then fix it structurally, then measure the corpus bind by bind.
🤖 Generated with Claude Code
7. A pre-existing defect lost its detector in v0.32.1.
corpus_mutation's singleKNOWN_REBINDSrow (flaskregister_blueprint, pre-existing since v0.20.3, needs receiver-type inference plus a class hierarchy) stopped firing. The defect is still there. What changed is the test's victim picker: it now deletestests/conftest.pyinstead of the file it used to delete. The suite failed on the stale row, so the row was removed. Its measured reason is kept verbatim in record I076 (_prdoc/records/).Needed: a deletion or rename case that deliberately targets the
register_blueprintdefinition file, so the defect is exercised again and pinned as aKNOWN_REBINDSrow until it is fixed.🤖 Generated with Claude Code