Skip to content

FIX: Fix indentation when loading EMIT revision - #6454

Merged
bryankaylor merged 5 commits into
mainfrom
fix-emit-revision-loading
Jul 24, 2025
Merged

bryankaylor merged 5 commits into
mainfrom
fix-emit-revision-loading

Conversation

@bryankaylor

Copy link
Copy Markdown
Contributor

Description

Fix indentation typo in revision class constructor causing revisions to not be loaded after path is set

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate tests (unit, integration, system).
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved by the PR if any.
  • I have agreed with the Contributor License Agreement (CLA).

@bryankaylor
bryankaylor requested a review from a team as a code owner July 23, 2025 04:01
@ansys-reviewer-bot

Copy link
Copy Markdown
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@bryankaylor bryankaylor changed the title Fix indentation when loading revision after setting path FIX: Fix indentation when loading EMIT revision Jul 23, 2025
@github-actions github-actions Bot added the bug Something isn't working label Jul 23, 2025

@Samuelopez-ansys Samuelopez-ansys left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

And how did it pass the 2025R2tests?

@codecov

codecov Bot commented Jul 23, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.43%. Comparing base (43e0311) to head (f76e848).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6454      +/-   ##
==========================================
- Coverage   82.44%   82.43%   -0.01%     
==========================================
  Files         230      230              
  Lines       73678    73678              
==========================================
- Hits        60745    60738       -7     
- Misses      12933    12940       +7     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bryankaylor

Copy link
Copy Markdown
Contributor Author

And how did it pass the 2025R2tests?

It looks like those two lines were indented in this "Fix pre-commit" commit: bbf9314

That commit was a couple days before we merged the branch, so the 2025R2 tests hadn't been rerun between that commit and merging the PR. 2025R1 tests were fine, since it intended those lines into the 2025R1-only else block, but this caused a bug in 2025R2 that causes at least 2 tests to fail. I mistakenly assumed that property wasn't needed in 2025R2.

@bryankaylor
bryankaylor enabled auto-merge (squash) July 23, 2025 05:57
@bryankaylor
bryankaylor merged commit 68276cf into main Jul 24, 2025
@bryankaylor
bryankaylor deleted the fix-emit-revision-loading branch July 24, 2025 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants