-
Notifications
You must be signed in to change notification settings - Fork 0
Add bolt.md innovations, resolve RT/platform violations, fix UI tests #127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
currentsuspect
wants to merge
2
commits into
develop
from
bolt-innovations-and-fixes-17220722026406886221
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| AestraAudio/include/Plugin/EffectChain.h:63: Memory deallocation (delete) found in critical section candidate: 'EffectChain(const EffectChain&) = delete;' | ||
| AestraAudio/include/Plugin/EffectChain.h:64: Memory deallocation (delete) found in critical section candidate: 'EffectChain& operator=(const EffectChain&) = delete;' | ||
| AestraAudio/include/DSP/SampleRateConverter.h:206: Memory deallocation (delete) found in critical section candidate: 'SampleRateConverter(const SampleRateConverter&) = delete;' | ||
| AestraAudio/include/DSP/SampleRateConverter.h:207: Memory deallocation (delete) found in critical section candidate: 'SampleRateConverter& operator=(const SampleRateConverter&) = delete;' | ||
| AestraAudio/include/Plugin/EffectChain.h:63: Memory deallocation (delete) found in critical section candidate: 'EffectChain(const EffectChain&) = delete; // ALLOW_REALTIME_DELETE' | ||
| AestraAudio/include/Plugin/EffectChain.h:64: Memory deallocation (delete) found in critical section candidate: 'EffectChain& operator=(const EffectChain&) = delete; // ALLOW_REALTIME_DELETE' | ||
| AestraAudio/include/DSP/SampleRateConverter.h:206: Memory deallocation (delete) found in critical section candidate: 'SampleRateConverter(const SampleRateConverter&) = delete; // ALLOW_REALTIME_DELETE' | ||
| AestraAudio/include/DSP/SampleRateConverter.h:207: Memory deallocation (delete) found in critical section candidate: 'SampleRateConverter& operator=(const SampleRateConverter&) = delete; // ALLOW_REALTIME_DELETE' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,6 +65,10 @@ def analyze_file(filepath): | |
| if stripped.startswith("//") or stripped.startswith("*"): | ||
| continue | ||
|
|
||
| # Ignore deleted functions and explicitly allowed lines | ||
| if stripped.endswith("= delete;") or "ALLOW_REALTIME_DELETE" in stripped: | ||
| continue | ||
|
Comment on lines
+68
to
+70
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. Audit allowlist too broad audit_codebase.py now skips reporting for any forbidden keyword on any line containing ALLOW_REALTIME_DELETE, which can hide real RT-safety violations if the marker is misapplied. The heuristic is also still prone to entering “critical sections” based on incidental text (e.g., header comments mentioning process()), so this broad skip increases the chance of masking true positives while trying to reduce false positives. Agent Prompt
|
||
|
|
||
| issues.append(f"{filepath}:{line_num}: {desc} found in critical section candidate: '{stripped}'") | ||
|
|
||
| if brace_count <= 0 and '}' in stripped: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
audit_results.txtfile appears to be stale and inconsistent with the script changes. The updatedaudit_codebase.py(line 69) now skips lines containingALLOW_REALTIME_DELETEor ending with= delete;. Since the headers were also updated to include// ALLOW_REALTIME_DELETEmarkers, re-running the script should produce zero violations — meaningaudit_results.txtshould either be empty/deleted, or the script'smain()should be updated to clear/remove the file when no issues are found. The PR description itself claims "zero violations," yet this file still shows 4 entries.Either re-run the audit script so this file reflects the actual output (likely it should be removed or emptied), or update
main()inaudit_codebase.pyto truncate/removeaudit_results.txtwhen there are no issues.