-
Notifications
You must be signed in to change notification settings - Fork 58
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
FED-1763 Fix reenabled contributor tests #864
FED-1763 Fix reenabled contributor tests #864
Conversation
Security InsightsNo security relevant content was detected by automated scans. Action Items
Questions or Comments? Reach out on Slack: #support-infosec. |
29e4ca4
to
af29473
Compare
'offset': offset, | ||
'length': length, | ||
}}. Preview:\n' + SourceFile.fromString(source.contents.data, url: source.uri).span(offset, offset + length).highlight(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this during debugging.
Before: Instance of 'SourceSelection'
After:
SourceSelection {target: class #FooComponent# extends, offset: 181, length: 12}. Preview:
╷
8 │ class FooComponent extends UiComponent2<FooProps> {
│ ^^^^^^^^^^^^
╵
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+10
- CI passes
@Workiva/release-management-p |
Motivation
In a previous over_react release, we had to disable some diagnostics and assists that imported over_react builder code due to issues with the plugin running in unsound null safety.
As part of the over_react null-safety major release, we want to reenable those diagnostics, and have done so in v5_wip.
As a result to test refactors and other changes that were made while those contributors were disabled, there are test failures that need to be addressed, mostly to do with unique file names.
Changes
AnalysisDriverTestBase
to automatically substitute auto-generated filenames within source (using{{FILE_BASENAME_WITHOUT_EXTENSION}}
).over_react.g.dart
parts to reference the correct auto-generated file names. Without them, we get unrelatedBoilerplateValidatorDiagnostic
errors in unrelated tests.{{FILE_BASENAME_WITHOUT_EXTENSION}}
, but some required more custom updatesRelease Notes
Review
See CONTRIBUTING.md for more details on review types (+1 / QA +1 / +10) and code review process.
Please review:
QA Checklist
Merge Checklist
While we perform many automated checks before auto-merging, some manual checks are needed: