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

Moe Sync #1258

Merged
merged 7 commits into from
Apr 12, 2019
Merged

Moe Sync #1258

merged 7 commits into from
Apr 12, 2019

Conversation

ronshapiro
Copy link
Contributor

This code has been reviewed and submitted internally. Feel free to discuss on the PR and we can submit follow-up changes as necessary.

Commits:

Add another Dagger 1 codegen case to RefersToDaggerCodegen

RELNOTES: n/a

1fcb40e


Remove some deprecated matchers

RELNOTES: Matchers.instanceMethod is no longer supported; prefer MethodMatchers.instanceMethod()
RELNOTES: Matchers.isDescendantOfMethod(className, methodName) is no longer supported; prefer MethodMatchers.instanceMethod().onDescendantOf(className).named(methodName)

f493911


RELNOTES: UnusedVariable: don't warn when nulling out variables. This is often done to allow the garbage collector to collect an expensive object.

e263f35


RELNOTES: Tests for external issue #1234.

Sadly this didn't turn up the actual bug, but having coverage for these seems good.

97767bb


Preserve non-constant messages in fail() in exception tests RELNOTES: N/A

b2730be


RELNOTES: In ComparableType, require an exact match, not just that the argument type of Comparable can be cast to the owning class type

38c65b4


RELNOTES: Remove the exemption for GoogleLoggers from UnusedVariable.

784101c

ronshapiro and others added 7 commits April 12, 2019 09:49
RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=236679921
RELNOTES: `Matchers.instanceMethod` is no longer supported; prefer `MethodMatchers.instanceMethod()`
RELNOTES: `Matchers.isDescendantOfMethod(className, methodName)` is no longer supported; prefer `MethodMatchers.instanceMethod().onDescendantOf(className).named(methodName)`

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=236682057
… is often done to allow the garbage collector to collect an expensive object.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=236814402
Sadly this didn't turn up the actual bug, but having coverage for these seems good.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=236825580
RELNOTES: N/A

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=237112378
…e argument type of Comparable can be cast to the owning class type

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=237167544
@ronshapiro
Copy link
Contributor Author

This is just a partial sync, since we've been seeing intermittent MOE issues internally. Those seem to be resolved around ~late March, so I recommend that we consider merging this even if the tests are broken, that way we can hopefully make continual progress to getting internal -> external fully synced. Even if tests are broken, fixing+resyncing may be quite difficult all as one PR.

@ronshapiro ronshapiro merged commit c182a85 into master Apr 12, 2019
@ronshapiro ronshapiro deleted the partial-moe-sync branch April 12, 2019 16:18
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