Skip to content

fix: preserve unresolvable includes in applyDeep - #463

Merged
sini merged 1 commit into
mainfrom
fix/issue-460
Apr 17, 2026
Merged

sini merged 1 commit into
mainfrom
fix/issue-460

Conversation

@sini

@sini sini commented Apr 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • applyDeep eagerly replaced sub-aspect includes it couldn't resolve with the current context ({host,user}) with {}, destroying parametric includes like den._.unfree that need {class, aspect-chain}
  • Preserve the original include when applyDeep returns {} so the statics path can resolve it with the correct context

Test plan

  • deadbugs-issue-460 tests: parametric wrapper around unfree calls on both fx and legacy pipelines
  • Full CI suite passes (491/491)

Fixes #460

@sini sini self-assigned this Apr 17, 2026
@sini sini added super-autocompleted "Artificial Intelligence" terms nothing real, "Super Intelligence" is even more of a lie. allow-ci allow all CI integration tests labels Apr 17, 2026
}
);

# Same regression on legacy pipeline.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, having both tests for now is good(tm)

@vic vic added the merge-approved Approved, merge yourself when ready label Apr 17, 2026
applyDeep eagerly replaced sub-aspect includes it couldn't resolve with
the current context ({host,user}) with {}, destroying parametric includes
like den._.unfree that need {class, aspect-chain}. The statics path would
later try to resolve them but found empty includes.

Preserve the original include when applyDeep returns {} so the statics
path can resolve it with the correct context.

Fixes #460
@sini
sini merged commit 68f9acc into main Apr 17, 2026
2 checks passed
@sini
sini deleted the fix/issue-460 branch April 17, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

allow-ci allow all CI integration tests merge-approved Approved, merge yourself when ready super-autocompleted "Artificial Intelligence" terms nothing real, "Super Intelligence" is even more of a lie.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parametized Aspects incorrectly de-duplicated when parameter isn't a context entity

2 participants