Skip to content

Conversation

@azaleacolburn
Copy link
Contributor

@azaleacolburn azaleacolburn commented Aug 21, 2025

Task

AARD-1939

Symptom

Previously, the MirabufParser tests only counted rigid nodes rather than testing the full parser, the additional validation they performed was on the assembly, rather than the returned parser.

Solution

The new tests check the parser's globalTransforms, partTreeValues, partToNodeMap, and rigid nodes. In the case of larger assemblies (eg. fields) where checking every value in the transform would be unwieldy, the sum of the transforms is checked instead.

Verification

The rewritten tests pass


Before merging, ensure the following criteria are met:

  • All acceptance criteria outlined in the ticket are met.
  • Necessary test cases have been added and updated.
  • A feature toggle or safe disable path has been added (if applicable).
  • User-facing polish:
    • Ask: "Is this ready-looking?"
  • Cross-linking between Jira and GitHub:
    • PR links to the relevant Jira issue.
    • Jira ticket has a comment referencing this PR.

@azaleacolburn azaleacolburn self-assigned this Aug 21, 2025
@azaleacolburn azaleacolburn force-pushed the colbura/1939/mirabuf-parser-testing branch from 607c308 to 5aa41f7 Compare August 21, 2025 16:41
@azaleacolburn azaleacolburn marked this pull request as ready for review August 21, 2025 17:03
@azaleacolburn azaleacolburn requested review from a team as code owners August 21, 2025 17:03
Copy link
Member

@ryanzhangofficial ryanzhangofficial left a comment

Choose a reason for hiding this comment

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

Overall, really clean tests! I just noticed a few stray comment markers that I think you didn't mean to keep.

@azaleacolburn azaleacolburn changed the title Mirabuf Parser Testing Mirabuf Parser Testing [AARD-1939] Aug 21, 2025
@azaleacolburn azaleacolburn requested a review from a team as a code owner August 21, 2025 18:21
@azaleacolburn azaleacolburn force-pushed the colbura/1939/mirabuf-parser-testing branch 6 times, most recently from a93e6a9 to 62ca1b6 Compare August 21, 2025 18:37
@azaleacolburn azaleacolburn force-pushed the colbura/1939/mirabuf-parser-testing branch from b3ef583 to f4d865d Compare August 21, 2025 18:39
@azaleacolburn azaleacolburn requested a review from rutmanz August 21, 2025 18:40
Copy link
Member

@AlexD717 AlexD717 left a comment

Choose a reason for hiding this comment

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

lgtm

* 'dev' of github.com:Autodesk/synthesis: (161 commits)
  fix: final readme fixes
  fix: remove commited config file
  fix: migrate biome config
  fix: remove prints
  fix: formatter and new SoundPlayer singleton
  fix: typing
  fix: focus and configuration fixes
  fix: format and lint
  fix: renamed field asset in test
  fix: tests pass now
  fix: ui appearance changes - updated main hud with new buttons, made button group - made modal colors consistent with panel - switched to using tabs instead of toggle button groups - fixed aps reload button disappearing on import panel reopen
  Scrollable Command Palette
  fix: make ci work
  No radius in text field top edges
  Disable Autocomplete
  Update README.md
  docs: move contributing section in README.md to CONTRIBUTING.md
  fix: make robots reset to spawn positions in multiplayer
  Removed Useless Command & Black Border
  Register Commands Formatting
  ...
@BrandonPacewic BrandonPacewic mentioned this pull request Aug 28, 2025
@BrandonPacewic BrandonPacewic merged commit 56853aa into dev Aug 28, 2025
17 checks passed
@BrandonPacewic BrandonPacewic deleted the colbura/1939/mirabuf-parser-testing branch August 28, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants