Skip to content

fix(vscode): critical playground fixes#2427

Merged
sxlijin merged 11 commits intocanaryfrom
sam/jetbrains
Sep 9, 2025
Merged

fix(vscode): critical playground fixes#2427
sxlijin merged 11 commits intocanaryfrom
sam/jetbrains

Conversation

@sxlijin
Copy link
Copy Markdown
Contributor

@sxlijin sxlijin commented Sep 8, 2025

  • when a fn is selected, only list test cases for that fn
  • allow choosing fn's w/o tests from the dropdown
  • make jetbrains codelenses work
  • make cors bypass proxy kinda work in jetbrains
  • assorted fixes to make jetbrains dev process smoother
  • delete test-panel.1, unused

Important

Enhance BAML playground functionality with improved function/test selection, JetBrains integration, and hot-reload support, while removing unused components.

  • Behavior:
    • Only list test cases for selected function in EventListener.tsx.
    • Allow choosing functions without tests in function-test-name.tsx.
    • Implement JetBrains codelenses and CORS bypass proxy in BamlLanguageServer.kt and cors_bypass_proxy.rs.
  • Infrastructure:
    • Remove test-panel.1 directory and its components.
    • Add VITE_HOT_RELOAD_HTML to BamlToolWindowFactory.kt for JetBrains.
    • Update build.gradle.kts to auto-open integ-tests directory and configure trusted paths.
  • Misc:
    • Fix logging and error handling in execute_command.rs and playground_barebones.rs.
    • Update Cargo.toml and language-server-hot-reload.rs for hot-reload functionality.
    • Minor changes to plugin.xml and Run Plugin in IDE.run.xml.

This description was created by Ellipsis for 739139e. You can customize this summary. It will automatically update as commits are pushed.

@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 8, 2025 17:11 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 8, 2025 17:11 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 8, 2025 17:11 — with GitHub Actions Inactive
@vercel
Copy link
Copy Markdown

vercel bot commented Sep 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
promptfiddle Skipped Skipped Sep 9, 2025 4:07pm

@sxlijin sxlijin enabled auto-merge September 8, 2025 17:11
@entelligence-ai-pr-reviews
Copy link
Copy Markdown

🔒 Entelligence AI Vulnerability Scanner

No security vulnerabilities found!

Your code passed our comprehensive security analysis.


Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed everything up to 83b4992 in 1 minute and 39 seconds. Click for details.
  • Reviewed 211 lines of code in 7 files
  • Skipped 1 files when reviewing.
  • Skipped posting 7 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. engine/language_server/src/server/api/requests/execute_command.rs:78
  • Draft comment:
    Good improvement: logging command execution and replacing unwrap() with error checks for forwarding messages avoids panics. Consider clarifying or addressing the TODO comment about 'select_function' (which appears on line 68) to provide clearer intent.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
2. engine/tools/Cargo.toml:13
  • Draft comment:
    Using an explicit 'tokio' dependency with features set to ["full"] improves clarity and ensures the full runtime is available. This change looks good.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
3. engine/tools/src/bin/language-server-hot-reload.rs:43
  • Draft comment:
    Replacing the hardcoded binary path with a dynamic relative path using env!(CARGO_MANIFEST_DIR) enhances portability and avoids environment‐specific paths.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
4. jetbrains/build.gradle.kts:148
  • Draft comment:
    The runIde task is now configured to auto-open the integ-tests directory and the prepareSandbox task has been updated to trust necessary paths. These changes improve the developer experience; just verify that the XML formatting for trusted paths meets security expectations.
  • Reason this comment was not posted:
    Confidence changes required: 10% <= threshold 50% None
5. jetbrains/src/main/kotlin/com/boundaryml/jetbrains_ext/BamlLanguageServer.kt:11
  • Draft comment:
    The addition of the findBamlWorkspaceRoot function dynamically locates the workspace root by searching for 'engine/Cargo.toml'. This avoids hardcoded paths and improves portability.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
6. jetbrains/src/main/kotlin/com/boundaryml/jetbrains_ext/BamlPlaygroundAction.kt:14
  • Draft comment:
    Updating the tool window ID to 'BAML Playground (beta)' ensures consistency with the plugin configuration. Moving the command execution outside the show callback may also help UI responsiveness.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
7. jetbrains/src/main/resources/META-INF/plugin.xml:32
  • Draft comment:
    The plugin.xml update changes the toolWindow ID to 'BAML Playground (beta)' and includes a comment to synchronize changes with BamlPlaygroundAction. This is helpful for maintenance and consistency.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_Pc6HfKJtlB5vKvM4

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 8, 2025

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 8, 2025

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Review Summary

🏷️ Draft Comments (1)

Skipped posting 1 draft comments that were valid but scored below your review threshold (>=10/15). Feel free to update them here.

engine/tools/src/bin/language-server-hot-reload.rs (1)

36-36: stdin_buffer is protected by a standard Mutex, which can cause significant contention and blocking in async contexts, especially under high-frequency stdin writes and replays.

📊 Impact Scores:

  • Production Impact: 3/5
  • Fix Specificity: 2/5
  • Urgency Impact: 2/5
  • Total Score: 7/15

🤖 AI Agent Prompt (Copy & Paste Ready):

In engine/tools/src/bin/language-server-hot-reload.rs, line 36, replace the use of std::sync::Mutex with tokio::sync::Mutex for the `stdin_buffer` field in HotReloader. This avoids blocking the async runtime and reduces contention under high-frequency access. Update all lock() calls to .await the async mutex.

🔍 Comments beyond diff scope (1)
engine/language_server/src/server/api/requests/execute_command.rs (1)

66-73: session.playground_tx.send(...).unwrap(); in the openPlayground branch will panic and crash the server if the channel is closed or send fails, causing runtime instability.
Category: correctness


Comment on lines +11 to +20
private fun findBamlWorkspaceRoot(startPath: Path): Path? {
var current = startPath
while (current.parent != null) {
if (Files.exists(current.resolve("engine/Cargo.toml"))) {
return current
}
current = current.parent
}
return null
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

correctness: findBamlWorkspaceRoot will not check the root directory itself for engine/Cargo.toml, potentially missing valid workspaces at the filesystem root.

🤖 AI Agent Prompt for Cursor/Windsurf

📋 Copy this prompt to your AI coding assistant (Cursor, Windsurf, etc.) to get help fixing this issue

In jetbrains/src/main/kotlin/com/boundaryml/jetbrains_ext/BamlLanguageServer.kt, lines 11-20, the function `findBamlWorkspaceRoot` does not check the root directory itself for `engine/Cargo.toml`, so it may miss valid workspaces at the filesystem root. Update the loop to check the current directory even when `current.parent == null` by using a `while (true)` loop and breaking when the parent is null after the check.
📝 Committable Code Suggestion

‼️ Ensure you review the code suggestion before committing it to the branch. Make sure it replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
private fun findBamlWorkspaceRoot(startPath: Path): Path? {
var current = startPath
while (current.parent != null) {
if (Files.exists(current.resolve("engine/Cargo.toml"))) {
return current
}
current = current.parent
}
return null
}
private fun findBamlWorkspaceRoot(startPath: Path): Path? {
var current = startPath
while (true) {
if (Files.exists(current.resolve("engine/Cargo.toml"))) {
return current
}
if (current.parent == null) {
break
}
current = current.parent
}
return null
}

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 8, 2025

Codecov Report

❌ Patch coverage is 61.90476% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
..._server/src/server/api/requests/execute_command.rs 0.00% 11 Missing ⚠️
engine/language_server/src/cors_bypass_proxy.rs 83.87% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Caution

Changes requested ❌

Reviewed b67454f in 1 minute and 49 seconds. Click for details.
  • Reviewed 4235 lines of code in 44 files
  • Skipped 0 files when reviewing.
  • Skipped posting 7 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. engine/playground-server/src/bin/playground_barebones.rs:13
  • Draft comment:
    The project directory is hard-coded. Ensure that this value is appropriate for integration tests and not left for local development.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.
2. jetbrains/src/main/kotlin/com/boundaryml/jetbrains_ext/BamlToolWindowFactory.kt:56
  • Draft comment:
    The Vite hot reload HTML contains hard-coded URLs (http://localhost:3030). Verify that this is intended only for development and consider guarding it appropriately for production usage.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.
3. typescript/packages/playground-common/src/baml_wasm_web/EventListener.tsx:347
  • Draft comment:
    Good update: the dependency array for the effect now includes setSelectedFunction along with setSelectedTestcase. This reduces the risk of using stale callbacks.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% This comment is purely informative, as it simply acknowledges a change made in the code without providing any actionable feedback or suggestions. It does not align with the rules for useful comments in a pull request review.
4. typescript/packages/playground-common/src/shared/baml-project-panel/playground-panel/prompt-preview/prompt-render-wrapper.tsx:98
  • Draft comment:
    Consider adding error handling for the clipboard write in the handleCopy function to catch potential failures from navigator.clipboard.writeText.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
5. typescript/packages/playground-common/src/shared/baml-project-panel/playground-panel/prompt-preview/prompt-render-wrapper.tsx:117
  • Draft comment:
    For improved accessibility, consider adding appropriate aria-labels to the Tabs triggers.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
6. typescript/packages/playground-common/src/baml_wasm_web/EventListener.tsx:346
  • Draft comment:
    Typographical error: In the comment, "If we dont add the jotai atom callbacks..." should use the contraction "don't" instead of "dont".
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% This comment is purely informative and focuses on a typographical error in a comment, which does not affect the functionality of the code. It does not provide a code suggestion or address a potential issue in the code itself.
7. typescript/packages/playground-common/src/shared/baml-project-panel/playground-panel/prompt-preview/index.tsx:82
  • Draft comment:
    There's a potential typo in the text 'ipsum2 placeholder content'. Did you mean 'ipsum placeholder content' or 'lorem ipsum placeholder content'? Please verify.
  • Reason this comment was not posted:
    Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 0% vs. threshold = 50% This is clearly temporary placeholder text. Whether it says "ipsum2" or "lorem ipsum" makes no functional difference. This kind of comment about UI text is exactly the kind we should avoid per the rules - it's not about logic and assumes the author didn't intend the exact text they wrote. Maybe this placeholder text is actually part of some important test case that relies on this exact wording? Even if it was part of a test, that would be caught by the test suite itself. We should trust the author to handle placeholder content appropriately. This comment should be deleted as it's about UI text content and doesn't impact functionality.

Workflow ID: wflow_7QmUon5jm5Lnj6ee

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

"build": "pnpm run release",
"release": "pnpm run pack --release",
"pack": "wasm-pack build ../ --target bundler --out-dir ./web/dist"
"release": "pnpm run pack --dev",
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.

The release script is still using '--dev', but the PR description says 'revert wasm-pack to --release'. Please update the release script accordingly.

Suggested change
"release": "pnpm run pack --dev",
"release": "pnpm run pack --release",

@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:06 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:06 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:06 — with GitHub Actions Inactive
@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:18 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:18 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:22 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:22 — with GitHub Actions Inactive
Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed dd2dd92 in 1 minute and 8 seconds. Click for details.
  • Reviewed 15 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. engine/baml-schema-wasm/web/package.json:10
  • Draft comment:
    Switching the flag from '--dev' to '--release' ensures an optimized build. Confirm this is the intended behavior for your releases.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
2. engine/baml-schema-wasm/web/package.json:11
  • Draft comment:
    Removed extra spacing in the 'pack' command for cleaner syntax.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
3. engine/baml-schema-wasm/web/package.json:8
  • Draft comment:
    Typo: It appears that the inline comment refers to using 'wasm pack --dev', but the command used elsewhere is 'wasm-pack'. Consider updating the comment for consistency.
  • Reason this comment was not posted:
    Comment was on unchanged code.

Workflow ID: wflow_ohN4ZLoebY31B3en

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:24 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:24 — with GitHub Actions Inactive
Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed 2359ed7 in 36 seconds. Click for details.
  • Reviewed 14 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. jetbrains/src/main/kotlin/com/boundaryml/jetbrains_ext/BamlLanguageServer.kt:31
  • Draft comment:
    Good improvement—explicitly checking for the JETBRAINS_PROJECT_DIR env var before using it.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_mFPBYYgdDfwetDD0

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:34 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:34 — with GitHub Actions Inactive
@sxlijin sxlijin temporarily deployed to boundary-tools-dev September 9, 2025 01:34 — with GitHub Actions Inactive
Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed 6e87647 in 54 seconds. Click for details.
  • Reviewed 20 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. typescript/packages/playground-common/src/baml_wasm_web/EventListener.tsx:331
  • Draft comment:
    Consider extracting the hardcoded 1000ms delay into a named constant and handling timeout cancellation on unmount to avoid potential leaks. This workaround for the JetBrains recursive object issue should be clearer and more resilient.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None

Workflow ID: wflow_mTjWWXEpjMixvxTG

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed 739139e in 3 minutes and 48 seconds. Click for details.
  • Reviewed 132 lines of code in 6 files
  • Skipped 0 files when reviewing.
  • Skipped posting 20 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. integ-tests/go/baml_client/baml_source_map.go:105
  • Draft comment:
    Replaced placeholder with explicit test argument in TestStructureDocument1559. Verify that using 'document_txt "hello"' is appropriate for the JSON schema.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the author to verify if using a specific test argument is appropriate for the JSON schema. This falls under asking the author to confirm their intention, which is not allowed. The comment does not provide a specific suggestion or point out a clear issue with the code.
2. integ-tests/python-v1/baml_client/inlinedbaml.py:100
  • Draft comment:
    TestStructureDocument1559 now provides an explicit argument ('document_txt "hello"') instead of a placeholder comment. Confirm that 'hello' is a valid test input.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the PR author to confirm if 'hello' is a valid test input. This falls under the category of asking the author to confirm their intention, which is against the rules. The comment does not provide a specific code suggestion or ask for a specific test to be written, so it should be removed.
3. integ-tests/python/baml_client/inlinedbaml.py:127
  • Draft comment:
    Updated TestStructureDocument1559 by replacing the placeholder comment with a concrete argument ('document_txt "hello"'). Ensure that this hard-coded value meets the test’s requirements.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the author to ensure that the hard-coded value meets the test's requirements. This falls under the rule of not asking the author to ensure the behavior is intended or to double-check things. Therefore, this comment should be removed.
4. integ-tests/python/baml_client/inlinedbaml.py:195
  • Draft comment:
    A new function 'ReturnCategory' was added. Verify that this simple identity function is intentional and consider adding tests for it.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
5. integ-tests/react/baml_client/inlinedbaml.ts:110
  • Draft comment:
    TestStructureDocument1559 now uses 'document_txt "hello"' instead of a placeholder. Confirm that this value satisfies the expected schema.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the PR author to confirm that a specific value satisfies the expected schema. This falls under the rule of not asking the author to confirm their intention or to ensure that the behavior is intended. Therefore, this comment should be removed.
6. integ-tests/react/baml_client/inlinedbaml.ts:155
  • Draft comment:
    New function 'ReturnCategory' was inserted in the expression functions. Ensure its intended identity behavior and add tests as needed.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
7. integ-tests/typescript-esm/baml_client/inlinedbaml.ts:110
  • Draft comment:
    The TestStructureDocument1559 test now explicitly passes 'document_txt "hello"'. Please confirm this meets expected input requirements.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment asks the PR author to confirm if the test meets expected input requirements, which violates the rule against asking for confirmation of intention or correctness. It doesn't provide a specific suggestion or point out a clear issue.
8. integ-tests/typescript-esm/baml_client/inlinedbaml.ts:155
  • Draft comment:
    Added the 'ReturnCategory' function. Verify its purpose as an identity function and consider adding tests to validate its behavior.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
9. integ-tests/typescript/baml_client/inlinedbaml.ts:110
  • Draft comment:
    TestStructureDocument1559 now includes a 'document_txt "hello"' argument instead of a placeholder. Confirm that this value is valid.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the PR author to confirm the validity of a specific change, which is not allowed according to the rules. It does not provide a specific suggestion or point out a clear issue with the code.
10. integ-tests/typescript/baml_client/inlinedbaml.ts:155
  • Draft comment:
    New function 'ReturnCategory' is added. Ensure this change is intentional and that adequate tests cover its behavior.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
11. integ-tests/go/baml_client/baml_source_map.go:128
  • Draft comment:
    There appear to be typographical issues in the test assertion strings. In the first @@Assert call, the text "hi, thereerwc[]{}[]" seems to contain a typo ("thereerwc"). Additionally, in the second @@Assert call, the string "let me know if ,er" includes an unexpected comma. Please check if these are intentional or need correction.
  • Reason this comment was not posted:
    Comment was on unchanged code.
12. integ-tests/python-v1/baml_client/inlinedbaml.py:125
  • Draft comment:
    Typo alert: In the assert string, "hi, thereerwc[]{}[]" seems to have an unexpected sequence "thereerwc". Please verify if this is intentional or a typo.
  • Reason this comment was not posted:
    Comment was on unchanged code.
13. integ-tests/python-v1/baml_client/inlinedbaml.py:125
  • Draft comment:
    Typo alert: The assertion @@Assert({{"let me know if ,er"}}) contains ",er" which appears to be a typographical error. Please check if this should be corrected.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
14. integ-tests/python/baml_client/inlinedbaml.py:125
  • Draft comment:
    In the assert string for test "asserts.baml", the text "thereerwc[]{}[]" looks like it might be a typo. Please verify if it should be "there" or something similar.
  • Reason this comment was not posted:
    Comment was on unchanged code.
15. integ-tests/python/baml_client/inlinedbaml.py:125
  • Draft comment:
    Also in the same block, the string "let me know if ,er" appears to have a misplaced comma. It might be a typo for "let me know if error" or similar. Please confirm the intended text.
  • Reason this comment was not posted:
    Comment was on unchanged code.
16. integ-tests/react/baml_client/inlinedbaml.ts:133
  • Draft comment:
    Typographical issues: - In the assert string, "hi, thereerwc[]{}[]" appears to contain a typo. Perhaps 'thereerwc' should be something else? - In the subsequent assertion, the string "let me know if ,er" seems to have a typo (',er' likely should be 'error' or similar). - Also, the datetime string "Wed, 06 nov (PST)" uses a lowercase 'nov'; consider using 'Nov' for consistency.
  • Reason this comment was not posted:
    Comment was on unchanged code.
17. integ-tests/react/baml_client/inlinedbaml.ts:135
  • Draft comment:
    Minor stylistic/typographical note: In the AddRole template, the text "You are a {{ foo }}. be nice" might be intended to read "You are a {{ foo }}. Be nice" with a capitalized 'B' for consistency.
  • Reason this comment was not posted:
    Comment was on unchanged code.
18. integ-tests/typescript-esm/baml_client/inlinedbaml.ts:133
  • Draft comment:
    In the string literal for @@Assert, the substring "thereerwc" appears to be a typographical error. Please verify if this should be corrected (e.g. to 'there' or a proper term).
  • Reason this comment was not posted:
    Comment was on unchanged code.
19. integ-tests/typescript-esm/baml_client/inlinedbaml.ts:133
  • Draft comment:
    The assertion @@Assert({{"let me know if ,er"}}) seems to contain a typo ('if ,er'). Consider revising it to the intended wording.
  • Reason this comment was not posted:
    Comment was on unchanged code.
20. integ-tests/typescript/baml_client/inlinedbaml.ts:133
  • Draft comment:
    There's a potential typographical error in the assertion messages within the string literal for 'test-files/test-asserts-checks/asserts.baml'. Specifically, the substring "thereerwc[]{}[]" seems off, and the assertion message "let me know if ,er" contains an unexpected comma. Please confirm these are intended or correct them if they are typos.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.

Workflow ID: wflow_JMPU3NWUGtNnxPKC

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@sxlijin sxlijin added this pull request to the merge queue Sep 9, 2025
Merged via the queue into canary with commit e4d3529 Sep 9, 2025
26 checks passed
@sxlijin sxlijin deleted the sam/jetbrains branch September 9, 2025 16:28
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.

1 participant