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

fix: Type fixes and optimizations for EngineService, Redux store #12509

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

MajorLift
Copy link
Contributor

@MajorLift MajorLift commented Dec 2, 2024

Description

  • Define types: ReduxStore, ReduxState (superseded by chore: Chore/12435 mvp handle engine does not exist #12538)
  • Fix any types in EngineService.
  • Optimize EngineService event subscriptions:
    • Fix update_bg_state_cb callback being re-defined on every iteration.
    • Consolidate stateChange events collections into BACKGROUND_STATE_CHANGE_EVENT_NAMES constant for maintainability.

Related issues

Manual testing steps

Screenshots/Recordings

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@MajorLift MajorLift added type-tech-debt Technical debt team-tiger Tiger team (for tech debt reduction + performance improvements) labels Dec 2, 2024
@MajorLift MajorLift self-assigned this Dec 2, 2024
Copy link
Contributor

github-actions bot commented Dec 2, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@MajorLift MajorLift added the Run Smoke E2E Triggers smoke e2e on Bitrise label Dec 2, 2024

This comment was marked as outdated.

@MajorLift MajorLift force-pushed the jongsun/fix/EngineService/241202-fix-EngineService-types branch from 3ade7e5 to 9cfb8f5 Compare December 2, 2024 17:54
@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 2, 2024

This comment was marked as outdated.

@MajorLift MajorLift force-pushed the jongsun/fix/EngineService/241202-fix-EngineService-types branch from abe850b to 61588b4 Compare December 2, 2024 18:41
@MajorLift MajorLift changed the base branch from main to jongsun/fix-composable-controller December 2, 2024 18:42
@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 2, 2024

This comment was marked as duplicate.

@MajorLift MajorLift force-pushed the jongsun/fix/EngineService/241202-fix-EngineService-types branch from 61588b4 to d0523b0 Compare December 2, 2024 18:45
@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 2, 2024

This comment was marked as outdated.

@MajorLift MajorLift changed the title fix: EngineService types fix(types): EngineService, Redux store Dec 2, 2024
@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 3, 2024
@MajorLift MajorLift force-pushed the jongsun/fix/EngineService/241202-fix-EngineService-types branch from d0523b0 to fa4ea81 Compare December 3, 2024 08:52
@MajorLift MajorLift force-pushed the jongsun/fix-composable-controller branch from d484693 to d28dd1f Compare December 3, 2024 09:04
@MajorLift MajorLift force-pushed the jongsun/fix/EngineService/241202-fix-EngineService-types branch from fa4ea81 to ff2ee98 Compare December 3, 2024 09:08
@MajorLift MajorLift changed the title fix(types): EngineService, Redux store fix(types): Define ReduxStore, ReduxState, and fix any types in EngineService Dec 3, 2024
@MajorLift MajorLift changed the title fix(types): Define ReduxStore, ReduxState, and fix any types in EngineService fix: Define types ReduxStore, ReduxState, optimize EngineService event subscriptions, fix any types in EngineService Dec 3, 2024
@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 3, 2024
Cal-L
Cal-L previously approved these changes Dec 6, 2024
Copy link
Contributor

@Cal-L Cal-L left a comment

Choose a reason for hiding this comment

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

nice, LGTM

Base automatically changed from jongsun/fix-composable-controller to main December 9, 2024 17:33
@MajorLift MajorLift dismissed Cal-L’s stale review December 9, 2024 17:33

The base branch was changed.

@github-actions github-actions bot requested a review from a team as a code owner December 9, 2024 17:33
@MajorLift MajorLift removed the DO-NOT-MERGE Pull requests that should not be merged label Dec 9, 2024
@MajorLift MajorLift force-pushed the jongsun/fix/EngineService/241202-fix-EngineService-types branch from 3d616b0 to 1f5952e Compare December 9, 2024 18:35
@MajorLift MajorLift requested review from a team and removed request for a team December 9, 2024 18:36
@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 9, 2024
Copy link
Contributor

github-actions bot commented Dec 9, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 1f5952e
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/b6c73799-4380-409d-bd9c-9707d57dad45

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@MajorLift MajorLift enabled auto-merge December 9, 2024 18:39
@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 9, 2024
@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 10, 2024
Copy link
Contributor

github-actions bot commented Dec 10, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: c2e4ecb
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/5bb01586-8729-4caa-82a1-1347634352ed

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link

sonarcloud bot commented Dec 10, 2024

@MajorLift MajorLift added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform team-tiger Tiger team (for tech debt reduction + performance improvements) type-tech-debt Technical debt
Projects
Status: Needs dev review
Development

Successfully merging this pull request may close these issues.

3 participants