Skip to content

Temporarily disable the mockito builder for better build perf #332

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

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

sourcegraph-wk
Copy link

What/Why

This batch temporarily disables the mockito builder because it is only
needed for NNBD code and the default behavior is for it to run on every
.dart file and fully resolve each of those files, which is slow.
Disabling this builder should improve local and CI build times.

Testing

These changes should only disable a builder that is already not generating
anything for packages that have not yet migrated to null-safety. For that
reason, code review of the modification to the build.yaml and passing CI
should be sufficient testing.

More Info

This batch change is a part of a larger Client Platform effort to update our
Dart dependencies and unblock us from upgrading to the latest Dart SDK.
More info can be found here: https://wiki.atl.workiva.net/display/CP/Dependency+Upgrades

If you have any questions or comments, please comment on this PR or reach
out to #support-client-plat on Slack.

Created by Sourcegraph batch change Workiva/disable_mockito_builder.

The mockito builder is only needed for NNBD code and the default behavior
is for it to run on every `.dart` file and fully resolve each of those
files, which is slow. **Disabling this builder should improve local and CI
build times.**
@aviary3-wk
Copy link

Security Insights

(2) Vulnerable direct dependencies were detected
  • 1 vulns in ansi-regex < 5.0.1 via yarn.lock
  • 1 vulns in glob-parent < 5.1.2 via yarn.lock
  • Action Items


    Questions or Comments? Reach out on Slack: #support-infosec.

    @robbecker-wf
    Copy link
    Member

    QA+1 CI Passes

    @robbecker-wf
    Copy link
    Member

    @Workiva/release-management-p

    @rmconsole3-wf rmconsole3-wf merged commit 69c764c into master Mar 2, 2022
    Copy link

    @rmconsole-wf rmconsole-wf left a comment

    Choose a reason for hiding this comment

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

    +1 from RM

    @rmconsole3-wf rmconsole3-wf deleted the batch/cplat/disable_mockito_builder branch March 2, 2022 21:09
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    6 participants