Skip to content
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

Add info to exception message for debugging #13655

Closed
wants to merge 1 commit into from
Closed

Conversation

anthony-c-martin
Copy link
Member

@anthony-c-martin anthony-c-martin commented Mar 18, 2024

Created to help with debugging of #13618.

Microsoft Reviewers: Open in CodeFlow

Copy link
Contributor

github-actions bot commented Mar 18, 2024

Test this change out locally with the following install scripts (Action run 8329672150)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 8329672150
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 8329672150"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 8329672150
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 8329672150"

Copy link
Contributor

github-actions bot commented Mar 18, 2024

Test Results

    66 files   -     33      66 suites   - 33   22m 16s ⏱️ - 20m 17s
10 684 tests  -     20  10 682 ✅  -     20  2 💤 ±0  0 ❌ ±0 
25 258 runs   - 12 625  25 254 ✅  - 12 623  4 💤  - 2  0 ❌ ±0 

Results for commit 738b39e. ± Comparison against base commit efcca4a.

♻️ This comment has been updated with latest results.

this.parentMap = parentMap;
}

public static ISyntaxHierarchy Build(SyntaxBase root)
public static ISyntaxHierarchy Build(SyntaxBase root, BicepSourceFile? sourceFile = null)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Order of parameter sourceFile is inconsistent with constructor.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, should have clarified - this PR is just to kick off a build, I'm not planning on merging it. Doesn't look like I'm able to reject my own PR, which would have helped.

@anthony-c-martin
Copy link
Member Author

Closing as we were able to identify the problem.

@anthony-c-martin anthony-c-martin deleted the ant/debug branch March 19, 2024 14:09
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.

2 participants