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

Dmc updates #58

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Dmc updates #58

wants to merge 5 commits into from

Conversation

joshj76
Copy link

@joshj76 joshj76 commented Jul 20, 2022

What does this Pull Request accomplish?

High-level Checklist (if any apply):

  • New feature
  • Fixed bugs
  • Tech debt (typo, added comments, small logic change, improved code performance, etc.)

Added features to allow skipping the creation of bldcache and to include more update events for the UI. Also fixed a bug where not all changes were maintained in memory due to the potential for some project components to not be in memory when the builder ran.

Why should this Pull Request be merged?

I added a new feature to the top level VI to allow the creation of the bldcache file to be skipped. This is particularly useful in larger CI implementations, as it saves time and resources on each job in the pipeline. The other feature that was added was the inclusion of two addition build events to update the front panel and make the progress more clear to the user.

For bug fixes, I added code to open all VI's in a project when opening the project and close all VI's when closing the project. This is a needed change because not all VI's are immediately in memory when a project opens, so changes to those VI's when swapping source libraries for PPLs have no way of staying in memory and the build does not complete as intended. My methodology for solving this issue is to cast a wide net and load everything, but there may be better options available to stay more efficient.

What testing has been done?

  • Ran /src/_tests/RunTheTests.vi and all tests passed
  • Added new tests to cover the modified code

No additional tests have been added at this time, but the modified code has been used extensively on my part and has been successful in building the desired outputs. Additionally, the outputs of src/_tests/RunTheTests.vi have not changed with the inclusion of my updates.

What Release Build Should This Go In?

  • It can wait until the next release and get bundled with other changes.
  • It's urgent, I'm requesting a new release build ASAP.

joshj76 added 3 commits July 19, 2022 18:36
…losing project

This code needs to be added to ensure all VI's affecting by the Replace With action are loaded into memory and stay in memory for the duration of the build
Added events to indicate "Swapping Libraries" and "Building Item" to make the progress of the build more clear from the Solution Builder UI
@joshj76 joshj76 requested a review from jovianarts as a code owner July 20, 2022 13:44
This update was missed as part of the last commit
@niphilj
Copy link
Collaborator

niphilj commented Jul 22, 2022

Thanks @joshj76 , I'll review it soon. Would you say this address issue #53 ?

@niphilj
Copy link
Collaborator

niphilj commented Jul 25, 2022

I added a new feature to the top level VI to allow the creation of the bldcache file to be skipped. This is particularly useful in larger CI implementations, as it saves time and resources on each job in the pipeline.

Are you suggesting the reason for not creating the bldcache file on CI machines is that since they rebuild fully no matter what, it's pointless to create the file since it's unused?

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