Skip to content

fix(macros): visit qualified fragment calls (foo::frag())#81

Merged
mostlymaxi merged 1 commit into
mainfrom
fix/qualified-fragment-callees
Jun 9, 2026
Merged

fix(macros): visit qualified fragment calls (foo::frag())#81
mostlymaxi merged 1 commit into
mainfrom
fix/qualified-fragment-callees

Conversation

@mostlymaxi

@mostlymaxi mostlymaxi commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Patch release shipping the qualified-fragment-call fix.

Fix (fix(macros)): BodyScan::visit_expr_call only recorded single-segment call paths, so a #[container]/#[fragment] calling a #[fragment] via a qualified path (foo::open_db()) silently dropped the fragment's host! / secret! / artifact propagation. Now records the last path segment of any call (matching how FragmentReg is keyed). Unit test + a doc comment on the inherent name-matching limits.

Release (release: v0.6.1): bump the workspace version + the 4 inter-crate pins, regenerate Cargo.lock and the cargo.athena/toolchain label in goldens / getting-started/emit.yaml, and bump the athena-publish action pin in ci.md.

On merge, tagging v0.6.1 publishes to crates.io + the docs site. All gates green (39 goldens unchanged apart from the toolchain label, new macros unit test, clippy, fmt, mdbook).

BodyScan only recorded single-segment call paths, so a #[container]
calling a #[fragment] via a qualified path (`foo::open_db()`) silently
dropped the fragment's host! / secret! / artifact propagation. Record
the last path segment of any call instead, matching how FragmentReg is
keyed (by the fragment's bare ident). Unit test + a doc comment on the
inherent name-matching limits (collision over-propagates, alias misses).
@mostlymaxi mostlymaxi merged commit ce0dfb3 into main Jun 9, 2026
6 checks passed
@mostlymaxi mostlymaxi deleted the fix/qualified-fragment-callees branch June 9, 2026 23:41
@mostlymaxi mostlymaxi changed the title fix(macros): visit qualified fragment calls (foo::frag()) release: v0.6.1 (fix qualified fragment-call propagation) Jun 9, 2026
@mostlymaxi mostlymaxi changed the title release: v0.6.1 (fix qualified fragment-call propagation) fix(macros): visit qualified fragment calls (foo::frag()) Jun 9, 2026
@mostlymaxi mostlymaxi mentioned this pull request Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant