Skip to content

Conversation

@mananjadhav
Copy link
Collaborator

cc - @Julesssss

Details

Fixed Issues

$ #4264

Tests

QA Steps

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@mananjadhav
Copy link
Collaborator Author

@Julesssss I need a little help with testing this in iOS. I am stuck where I am able to run basic console.log etc but not able to do the API call. The job always times out and then onTimeout gets called. Will you be able to test this against iOS and help me with the results?

@Julesssss
Copy link
Contributor

Sorry @mananjadhav, I didn't get to this task this week. I'd be happy to investigate next week though!

@mananjadhav
Copy link
Collaborator Author

@Julesssss Bump

@Julesssss
Copy link
Contributor

Thanks for the bump, I've been pretty busy this week and didn't manage to get to this. But I'll definitely be able to review next week.

@mananjadhav
Copy link
Collaborator Author

Sure. Quick question outside the PR, do we have a process where if contributors want to go on vacation they can notify?

@Julesssss
Copy link
Contributor

Sure. Quick question outside the PR, do we have a process where if contributors want to go on vacation they can notify?

We don't at the moment, but I don't think it's a problem here as I've caused some delays here myself.

@Julesssss
Copy link
Contributor

Hey @mananjadhav. Once again, sorry for my long delay here. Now that I'm back and caught up I will make sure not to delay us again.

Do you remember what exactly was failing? I'm seeing a lot of these errors in both iOS and Android:

Screenshot 2021-12-09 at 11 40 19

@mananjadhav
Copy link
Collaborator Author

I'll check and get back to you. But as far as I remember the task was getting initialized but was getting timed out.

Copy link
Contributor

@kidroca kidroca left a comment

Choose a reason for hiding this comment

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

Left some notes mostly on changes that shouldn't have been committed

Comment on lines +14 to +16
const headlessTask = async (event) => { // eslint-disable-line

// Get task id from event {}:
Copy link
Contributor

Choose a reason for hiding this comment

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

The task should not be defined here in index.js
It should be defined in libs and then registered during setup or in Expensify.js didMount phase


I see this is already done, and there's a lib about this, so the code here seems like a leftover that should be removed

Comment on lines -285 to +291
DevelopmentTeam = 368M544MTT;
DevelopmentTeam = 72TRNPHV7D;
LastSwiftMigration = 1230;
ProvisioningStyle = Manual;
ProvisioningStyle = Automatic;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably be reverted

Comment on lines -844 to +853
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = 368M544MTT;
DEVELOPMENT_TEAM = 72TRNPHV7D;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should definitely be reverted

Comment on lines -861 to +867
PROVISIONING_PROFILE_SPECIFIER = chat_expensify_appstore;
PROVISIONING_PROFILE_SPECIFIER = "";
Copy link
Contributor

Choose a reason for hiding this comment

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

This should definitely be reverted

Comment on lines -877 to +886
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = 368M544MTT;
DEVELOPMENT_TEAM = 72TRNPHV7D;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should definitely be reverted

Comment on lines -893 to +899
PROVISIONING_PROFILE_SPECIFIER = chat_expensify_appstore;
PROVISIONING_PROFILE_SPECIFIER = "";
Copy link
Contributor

Choose a reason for hiding this comment

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

This should definitely be reverted

@robertjchen robertjchen merged commit 11e9f17 into Expensify:main Jan 11, 2022
@botify
Copy link

botify commented Jan 11, 2022

@robertjchen looks like this was merged without passing tests. Please add a note explaining why this was done and remove the Emergency label if this is not an emergency.

@robertjchen
Copy link
Contributor

Wait, what happened here? I merged #6641 but somehow this was merged as well? 🤔

@robertjchen
Copy link
Contributor

I'm going to revert this- this was not supposed to be merged.

@Julesssss
Copy link
Contributor

Julesssss commented Jan 11, 2022

Wow, that was unexpected!

It's my fault, as my PR accidentally branched from this PR. I made a lot of changes and rebased a couple of times, which made removing these commits very time-consuming (I didn't notice this immediately).

I'll get this PR reverted No need to revert actually, the code is NOT on main, but the commits are a part of git history

@mananjadhav
Copy link
Collaborator Author

Wooahh, let me close this PR and raise one more as draft that shouldn't have allow merging?

@Julesssss
Copy link
Contributor

Hi @mananjadhav. Don't worry, I think you can just create a new PR. You might need to cherry-pick the commits though, so they have a new commit ID.

I had a large PR that accidentally branched from yours, I tried to rebase them away but was unsuccessful as it was such a large PR with many conflicts over the last month.

I think the draft status was ignored by Github as technically your commits are now in main -- but they are not aware that I reverted in my later commits

@mananjadhav
Copy link
Collaborator Author

I'll cherry-pick or move the commits as a fresh set of changes. Tracking my branch separately.

@Julesssss
Copy link
Contributor

Thanks, @mananjadhav. Sorry for the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants