Skip to content

Validate effect path - #11676

Merged
kryksyh merged 1 commit into
audacity:masterfrom
kryksyh:fix_crash_on_start
Aug 13, 2026
Merged

kryksyh merged 1 commit into
audacity:masterfrom
kryksyh:fix_crash_on_start

Conversation

@kryksyh

@kryksyh kryksyh commented Aug 13, 2026

Copy link
Copy Markdown
Member

Resolves: #11673

Restored path validation removed in #11647

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Testflow test cases have been run

@kryksyh
kryksyh requested a review from saintmatthieu August 13, 2026 13:03
@kryksyh kryksyh changed the title Validate path on start Validate effect path Aug 13, 2026
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: 96dcd541-b3b9-4814-9d59-45f7d5a253d3

📥 Commits

Reviewing files that changed from the base of the PR and between 1f099ec and 76ca83135201f85392554f98b5ed6c1ac93c2e97.

📒 Files selected for processing (1)
  • src/effects/effects_base/internal/au3effectloader.cpp

📝 Walkthrough

Walkthrough

ensurePluginIsLoaded now checks whether plugin discovery returns a path. If no path exists, it ends the load guard, logs an error, and returns false before attempting to load the plugin.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Mergeability Score: ⚪ Minimal · up to 76ca8

This is a localized path-validation change with no actionable merge-blocking risk remaining; it is merge-ready after normal checks and review.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: validating the effect path before loading the plugin.
Description check ✅ Passed The description includes the linked issue, change summary, motivation, required checklist, and QA section.
Linked Issues check ✅ Passed The change restores missing path validation and prevents plugin loading without a discovered path, addressing issue #11673.
Out of Scope Changes check ✅ Passed The changes are limited to effect plugin path validation and error handling, with no unrelated code changes.

Warning

Review ran into problems

🔥 Problems

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

fixes regression from #1f099ec1
@kryksyh
kryksyh force-pushed the fix_crash_on_start branch from 76ca831 to d3ed823 Compare August 13, 2026 16:05
@kryksyh
kryksyh merged commit 33cbb56 into audacity:master Aug 13, 2026
3 of 10 checks passed
@kryksyh
kryksyh deleted the fix_crash_on_start branch August 13, 2026 16:06
kryksyh added a commit that referenced this pull request Aug 27, 2026
Validate effect path
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.

wxWidgets debug alert on launch

2 participants