Skip to content

[K9CODESEC-7237] Update to deno_core 0.356.0 - #980

Open
jasonforal wants to merge 3 commits into
jf/K9CODESEC-7237-3from
jf/K9CODESEC-7237-4
Open

jasonforal wants to merge 3 commits into
jf/K9CODESEC-7237-3from
jf/K9CODESEC-7237-4

Conversation

@jasonforal

@jasonforal jasonforal commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

What this PR does

Updates deno_core to 0.356.0

The JsError received is now boxed, so we need to extract the inner.

Note

As a small aside, 0689761 is needed because the test was always relying on v8 being lax about two runtimes on the same thread. Something must've changed in v137 that tightened this up, so we need to fix the test here. No test behavior changed.

@jasonforal
jasonforal requested review from a team as code owners October 2, 2026 17:08
@jasonforal
jasonforal added this pull request to stack #985 October 2, 2026 17:09
@datadog-official

datadog-official Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 85.71% (+0.01%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6928f4e | Docs | Give us feedback!

Copilot AI balanced review requested due to automatic review settings October 2, 2026 20:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The dependency upgrade and required API adaptations are internally consistent, with no unresolved correctness issues found.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the static-analysis kernel to deno_core 0.356.0 and adapts error handling and runtime-cache testing to the updated APIs.

Changes:

  • Upgrades deno_core and transitive dependencies.
  • Unboxes JsError before conversion.
  • Runs cache-test V8 runtimes on separate synchronized threads.
File Description
crates/​static-analysis-kernel/​Cargo.toml Updates deno_core.
Cargo.lock Locks updated transitive dependencies.
crates/​static-analysis-kernel/​src/​analysis/​ddsa_lib/​runtime.rs Adapts boxed runtime errors.
crates/​static-analysis-kernel/​src/​analysis/​ddsa_lib/​test_utils.rs Adapts boxed test errors.
crates/​bins/​src/​bin/​datadog_static_analyzer_server/​rule_cache.rs Updates the multi-runtime cache test.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

…h two runtimes on the same thread. (v8 is now enforcing this, whereas it was more tolerate before)
@jasonforal
jasonforal force-pushed the jf/K9CODESEC-7237-4 branch from 0689761 to 6928f4e Compare October 2, 2026 20:25
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.

3 participants