[Payment due @Krishna2323] Remove TriNet beta gate#93011
Conversation
|
@thelullabyy Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 496538af80
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| { | ||
| key: 'zenefits', | ||
| beta: CONST.BETAS.ZENEFITS, | ||
| beta: undefined, |
There was a problem hiding this comment.
Update HR card tests after un-gating TriNet
With beta now unset, getHRCards() always includes the Zenefits/TriNet card even when isBetaEnabled returns false. The existing tests/unit/HrUtilsTest.ts expectations still assert that no betas returns only Gusto and several test helpers still reference the removed CONST.BETAS.ZENEFITS, so the HR unit/typecheck coverage will fail until those tests are updated to the new un-gated behavior.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
(Yuwen's Agent) Already addressed in the follow-up commit — removed the dead provider.beta guard from the loop, merged the two beta-gated test cases into one, and updated the routes/icons tests to use noBetasEnabled instead of CONST.BETAS.ZENEFITS.
|
@yuwenmemon I should ignore the assignment on this issue right? |
…HoldRejectActionsTest
There was a problem hiding this comment.
Why do we have changed in this file? Other than this, everything looks good to me!
There was a problem hiding this comment.
It was either this or actually fix the es-lint errors. I can make sure we fix them in the follow up.
|
🎯 @Krishna2323, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @yuwenmemon has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.4.2-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: no changes required This PR only removes the The help site already documents TriNet as a generally-available feature with no beta references, so all current articles already reflect the post-PR behavior:
Because the documentation already matches the new behavior, no draft docs PR was created. @yuwenmemon, please confirm this assessment is correct — that removing the beta gate introduces no user-facing UI/flow changes beyond making the already-documented TriNet integration visible to all Control workspaces. If you believe a docs update is still warranted (e.g., the article should be unlisted/re-listed, or availability wording should change), reply with the specifics and I'll create the draft PR. |
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.4.4-1 🚀
Bundle Size Analysis (Sentry): |
Help site review — no changes requiredI reviewed the changes in this PR against the help site files under Why: This PR only removes the The existing article —
Since the doc was already written for the GA experience, removing the beta gate brings the product in line with the existing documentation rather than diverging from it — so there is nothing to update and no draft PR was opened. @yuwenmemon, no help site PR was created because no changes are required. If you believe the article is missing something this PR exposes (e.g., a flow that was previously hidden), let me know and I'll draft the updates. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.4-3 🚀
|
@Krishna2323 please review
Explanation of Change
Removes the
zenefitsNewDotbeta gate from the TriNet HR integration. The TriNet provider card in the Workspace HR page and the Approval Mode / Final Approver sub-pages are now visible to all Control workspace users without needing the beta.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/625136
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTesting Donelabel once I have tested my changes