-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature/in memory sarif writing #363
Feature/in memory sarif writing #363
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
You got my attention when checking some email, nice PR, sir! Is the intention with adding this feature because writing SARIF only to disk slowing down performance of the module's use in oscal-server to a significant extent or it just makes processing more complicated?
yes i'm hunting for ways to optimize the server performance, and this one seemed easy enough the main goal here is reduce disk writing by allowing sarif to be serialized directly to string |
@aj-stein-gsa test seems to be hanging at EDR diagram? is this related to my PR or a pre-existing issue? |
It is funny you mention that. It turns out I had an unrelated fork branch where I was testing automated builds. It turns out one of the failed nightly builds was hanging after six hours. I have no idea what's the deal here. All I did was touch up GHA and any in-tree Java code off of https://github.com/aj-stein-gsa/metaschema-java/actions/runs/13383109932 /cc @david-waltermire for awareness. |
cb8372b
to
bf41d40
Compare
I have been working to setup threaded JUnit test execution to speed up the builds. I think the hang was caused by some early work there, where some tests were causing a deadlock. This should be working now. |
1eb440a
into
metaschema-framework:develop
Committer Notes
expose a function in the base class to allow for writing sarif directly to string in memory
All Submissions:
By submitting a pull request, you are agreeing to provide this contribution under the CC0 1.0 Universal public domain dedication.
Changes to Core Features: