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

Rollout Analyzer 5 #245

Closed
wants to merge 1 commit into from
Closed

Rollout Analyzer 5 #245

wants to merge 1 commit into from

Conversation

sourcegraph-wk
Copy link

Rollout Analyzer 5

This batch will raise the minimum of workiva_dependency_constrainer
to one that requires analyzer 5, thus ensuring that a repo resolves
to analyzer 5. It also raises the minimums of other packages that
are needed, like built_value.

Things that may need fixing manually

  1. Probably the most common thing is that built_value generated code
    will need to be regenerated. There should be no breaking changes in
    this new generated code. Some repos have a make target called gen,
    gen-built or similar, or just run a full dart run build_runner build

  2. The temporary fix for Dart coverage needs to be removed. The fix
    is to simply remove lines like these below from Github Actions. This PR
    will have raised the minimum of the test package to 1.21.1 which is
    the first version needed that removes the need to backpatched test
    versions.

  - uses: Workiva/gha-dart/[email protected]
    with:
      test-package-version: 1.20.1
  1. As part of moving to analyzer 5, the sort_pub_dependencies lint
    seems to act as a warning now, causing analyze to fail CI.
    To fix: either sort the dependencies in alphabetical order or
    alter the analysis_options.yaml to lower the severity to a hint

For more info, reach out to #support-frontend-dx on Slack.

Created by Sourcegraph batch change Workiva/analyzer_5.

@aviary3-wk
Copy link

Security Insights

No security relevant content was detected by automated scans.

Action Items

  • Review PR for security impact; comment "security review required" if needed or unsure
  • Verify aviary.yaml coverage of security relevant code

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

@greglittlefield-wf
Copy link
Contributor

Upgrading this repo to analyzer 5 is going to be a bit more involved due to its extensive use of analyzer APIs, and this package is typically globally activates as opposed to depended upon, so I'm going to close this PR and we can follow up later to upgrade. FYI @robbecker-wf

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.

5 participants