Skip to content

fix(internal/injector): fix processImports for non-imported dst.SelectorExpr#678

Merged
RomainMuller merged 5 commits into
mainfrom
rarguellof/AIDM-706/fix-import-conflict-symbol
Aug 13, 2025
Merged

fix(internal/injector): fix processImports for non-imported dst.SelectorExpr#678
RomainMuller merged 5 commits into
mainfrom
rarguellof/AIDM-706/fix-import-conflict-symbol

Conversation

@rarguelloF

@rarguelloF rarguelloF commented Aug 12, 2025

Copy link
Copy Markdown
Contributor

Fixes #674, fixes #670

Process imports before replacing placeholders in template text, so that imports processing is strictly unable to replace symbols from the original AST (as these are hidden behind the placeholders).

@rarguelloF rarguelloF changed the title WIP: fix(internal/injector): fix processImports for non-imported dst.… WIP: fix(internal/injector): fix processImports for non-imported dst.SelectorExpr Aug 12, 2025
@RomainMuller RomainMuller changed the title WIP: fix(internal/injector): fix processImports for non-imported dst.SelectorExpr fix(internal/injector): fix processImports for non-imported dst.SelectorExpr Aug 13, 2025
@RomainMuller RomainMuller changed the title fix(internal/injector): fix processImports for non-imported dst.SelectorExpr fix(internal/injector): fix processImports for non-imported dst.SelectorExpr Aug 13, 2025
@RomainMuller
RomainMuller marked this pull request as ready for review August 13, 2025 09:31
@RomainMuller
RomainMuller requested a review from a team as a code owner August 13, 2025 09:31
@RomainMuller
RomainMuller enabled auto-merge August 13, 2025 13:55
@RomainMuller
RomainMuller added this pull request to the merge queue Aug 13, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 13, 2025
@RomainMuller
RomainMuller added this pull request to the merge queue Aug 13, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 13, 2025
@RomainMuller
RomainMuller added this pull request to the merge queue Aug 13, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 13, 2025
@RomainMuller
RomainMuller added this pull request to the merge queue Aug 13, 2025
Merged via the queue into main with commit 849f77e Aug 13, 2025
174 of 179 checks passed
@RomainMuller
RomainMuller deleted the rarguellof/AIDM-706/fix-import-conflict-symbol branch August 13, 2025 17:18
@codecov

codecov Bot commented Aug 13, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.56%. Comparing base (e061d12) to head (1e107e2).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #678      +/-   ##
==========================================
+ Coverage   65.72%   68.56%   +2.84%     
==========================================
  Files         113      113              
  Lines        7926     7925       -1     
==========================================
+ Hits         5209     5434     +225     
+ Misses       2192     1949     -243     
- Partials      525      542      +17     
Components Coverage Δ
Generators 80.24% <ø> (ø)
Instruments ∅ <ø> (∅)
Go Driver 76.51% <ø> (+0.69%) ⬆️
Toolexec Driver 70.85% <100.00%> (+3.32%) ⬆️
Aspects 74.30% <100.00%> (+2.39%) ⬆️
Injector 74.85% <100.00%> (+2.06%) ⬆️
Job Server 68.96% <ø> (+3.04%) ⬆️
Other 68.56% <100.00%> (+2.84%) ⬆️
Files with missing lines Coverage Δ
internal/injector/aspect/advice/code/template.go 79.36% <100.00%> (-0.33%) ⬇️

... and 30 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Symbol name conflict when applying certain aspects [BUG] Build problem with Ginkgo

2 participants