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

[HOLD for payment 2024-02-07] Fix version mismatch for Notification Service Extension #33961

Closed
1 of 6 tasks
arosiclair opened this issue Jan 4, 2024 · 28 comments
Closed
1 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@arosiclair
Copy link
Contributor

arosiclair commented Jan 4, 2024

cc @Expensify/mobile-deployers

Version Number: v1.4.21-0
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @AndrewGable
Slack conversation: https://expensify.slack.com/archives/C07J32337/p1704304425942669

Action Performed:

Deployed to App Store

Expected Result:

No issues

Actual Result:

We're getting warnings about version mismatches between our main bundle and the Notification Service Extension:

image

Workaround:

None

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01625140e14e2c9d88
  • Upwork Job ID: 1742939755659780096
  • Last Price Increase: 2024-01-04
@arosiclair arosiclair added Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Bug Something is broken. Auto assigns a BugZero manager. labels Jan 4, 2024
@arosiclair arosiclair self-assigned this Jan 4, 2024
Copy link

melvin-bot bot commented Jan 4, 2024

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Jan 4, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01625140e14e2c9d88

Copy link

melvin-bot bot commented Jan 4, 2024

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Jan 4, 2024

Triggered auto assignment to Contributor Plus for review of internal employee PR - @s77rt (Internal)

@arosiclair
Copy link
Contributor Author

arosiclair commented Jan 4, 2024

I've also noticed comms notifications have stopped working (no avatars) for me in v1.4.21-4. This might be the reason.

Can't jump on this right now. If anybody wants to take a stab, go for it! otherwise I'll try checking it out tomorrow

@AndrewGable
Copy link
Contributor

FYI you might need to change the version in the CI/CD build

@melvin-bot melvin-bot bot added the Overdue label Jan 8, 2024
Copy link

melvin-bot bot commented Jan 9, 2024

@puneetlath, @arosiclair, @s77rt Eep! 4 days overdue now. Issues have feelings too...

@arosiclair
Copy link
Contributor Author

I think this just needs an extra step here. Gonna post a PR in a sec

@melvin-bot melvin-bot bot removed the Overdue label Jan 9, 2024
@AndrewGable
Copy link
Contributor

Agree

@arosiclair
Copy link
Contributor Author

arosiclair commented Jan 9, 2024

No C+ needed since this is just a deploy change. PR is out for review!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 11, 2024
@melvin-bot melvin-bot bot changed the title Fix version mismatch for Notification Service Extension [HOLD for payment 2024-01-18] Fix version mismatch for Notification Service Extension Jan 11, 2024
Copy link

melvin-bot bot commented Jan 11, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 11, 2024
Copy link

melvin-bot bot commented Jan 11, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.24-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-01-18. 🎊

@arosiclair
Copy link
Contributor Author

Version changes are working now! Already did the checklist above so this is all set

@AndrewGable
Copy link
Contributor

As mentioned on Slack, fix didn't seem to work:

Screenshot 2024-01-18 at 8 44 06 AM

@arosiclair arosiclair changed the title [HOLD for payment 2024-01-24] [HOLD for payment 2024-01-18] Fix version mismatch for Notification Service Extension Fix version mismatch for Notification Service Extension Jan 18, 2024
@arosiclair arosiclair removed the Awaiting Payment Auto-added when associated PR is deployed to production label Jan 18, 2024
@arosiclair
Copy link
Contributor Author

Okay I can actually reproduce this error in Xcode. It doesn't look like removing the Project Version and Marketing Version from the NSE target settings will fix it. The version just evaluates to (null):

Screenshot 2024-01-18 at 3 55 23 PM

@puneetlath puneetlath removed their assignment Jan 18, 2024
@arosiclair
Copy link
Contributor Author

This seems to be the root cause. The project is auto-generating and replacing our info.plist

@melvin-bot melvin-bot bot added Overdue Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 Overdue labels Jan 29, 2024
@arosiclair
Copy link
Contributor Author

PR is ready

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 31, 2024
@melvin-bot melvin-bot bot changed the title Fix version mismatch for Notification Service Extension [HOLD for payment 2024-02-07] Fix version mismatch for Notification Service Extension Jan 31, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 31, 2024
Copy link

melvin-bot bot commented Jan 31, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jan 31, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.33-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-02-07. 🎊

Copy link

melvin-bot bot commented Jan 31, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@arosiclair] The PR that introduced the bug has been identified. Link to the PR:
  • [@arosiclair] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@arosiclair] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@arosiclair] Determine if we should create a regression test for this bug.
  • [@arosiclair] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 6, 2024
Copy link

melvin-bot bot commented Feb 7, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@arosiclair
Copy link
Contributor Author

This should be all done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

4 participants