Skip to content

Backport Copilot feature to release-v2.8#6791

Merged
Guardiola31337 merged 18 commits intorelease-v2.8from
pg-copilot-2.8
Jan 9, 2023
Merged

Backport Copilot feature to release-v2.8#6791
Guardiola31337 merged 18 commits intorelease-v2.8from
pg-copilot-2.8

Conversation

@Guardiola31337
Copy link
Copy Markdown
Contributor

Description

  • Backports Copilot feature to release-v2.8

Pablo Guardiola and others added 17 commits January 4, 2023 12:31
… from NN 115.0.1 as it was introduced as part of NN v119

add multiple history recorders support (needed for copilot) (#6509)
…e owner to support android auto and remove android x lifecycle process dependency not necessary anymore (#6609)
…led to include deferred events as part of the current history file session (#6655)
… owner based on if mapbox navigation app is set up or not respectively to support both use cases in which mapbox navigation app is or is not integrated from the client side and add is copilot initialized check to prevent issues if apis are misused (#6690)
@Guardiola31337 Guardiola31337 added the Core Work related to core navigation and integrations. label Jan 5, 2023
@Guardiola31337 Guardiola31337 requested a review from a team as a code owner January 5, 2023 17:49
@Guardiola31337 Guardiola31337 self-assigned this Jan 5, 2023
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 5, 2023

Codecov Report

Merging #6791 (0922ee9) into release-v2.8 (ecd64de) will increase coverage by 0.38%.
The diff coverage is 81.31%.

Impacted file tree graph

@@                Coverage Diff                 @@
##             release-v2.8    #6791      +/-   ##
==================================================
+ Coverage           68.99%   69.38%   +0.38%     
- Complexity           4540     4675     +135     
==================================================
  Files                 682      707      +25     
  Lines               27144    27770     +626     
  Branches             3178     3223      +45     
==================================================
+ Hits                18728    19267     +539     
- Misses               7191     7257      +66     
- Partials             1225     1246      +21     
Impacted Files Coverage Δ
...in/java/com/mapbox/navigation/copilot/DateUtils.kt 0.00% <0.00%> (ø)
.../mapbox/navigation/copilot/HistoryRoutablePoint.kt 0.00% <0.00%> (ø)
...m/mapbox/navigation/copilot/HistorySearchResult.kt 0.00% <0.00%> (ø)
...avigation/copilot/UploadServiceInterfaceFactory.kt 0.00% <0.00%> (ø)
...gation/copilot/internal/MapboxCopilotExtensions.kt 0.00% <0.00%> (ø)
.../internal/extensions/MapboxNavigationExtensions.kt 80.00% <0.00%> (-20.00%) ⬇️
...gation/navigator/internal/MapboxNativeNavigator.kt 0.00% <ø> (ø)
...on/navigator/internal/MapboxNativeNavigatorImpl.kt 0.00% <0.00%> (ø)
...x/navigation/navigator/internal/NavigatorLoader.kt 0.00% <0.00%> (ø)
...ava/com/mapbox/navigation/copilot/DriveEndsType.kt 25.00% <25.00%> (ø)
... and 29 more

Comment thread libnavigation-core/api/current.txt Outdated
}

public final class AlternativeRouteMetadata {
method public int getAlternativeId();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wondering where this came from. Is this Copilot related?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is definitely not coming from Copilot. Wondering if it's a merge conflict issue or a Metalava one. Will check. Thanks for flagging!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I see that removing both entries and running $> make core-check-api is still ✅

Will remove them. I believe the issue is #6257

@Guardiola31337 Guardiola31337 merged commit 93a4c44 into release-v2.8 Jan 9, 2023
@Guardiola31337 Guardiola31337 deleted the pg-copilot-2.8 branch January 9, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Work related to core navigation and integrations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants