-
Notifications
You must be signed in to change notification settings - Fork 999
Install in-house apps during iOS/iPadOS setup experience #51135
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c19e4d1
Install in-house apps during iOS/iPadOS setup experience
raju249 745c248
Add changelog entry and reword wrap message after worker rename
raju249 a58b992
Add end-to-end integration test for iOS in-house app setup experience
raju249 5fdda6a
Use require.Len per testifylint
raju249 9272dbe
Fail reaped in-house app installs' setup experience step
raju249 d087574
Address review nits on wrap message, test naming, and guard error
raju249 3d2b3d3
Withhold the VPP entry explicitly in the mixed-payload release-gating…
raju249 5fccfda
Address review round on the iOS setup experience install worker
raju249 ccf21f6
Look up the enrolling host by UUID and drop a redundant comment
raju249 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Added support for automatically installing in-house apps (`.ipa`) on iOS and iPadOS hosts when they enroll into Fleet. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Set
sw.Errorwhen you fail the in-house item.The item reaches
SetupExperienceStatusFailurewithErrorleft nil. The setup-experience UI then shows a failed item with no reason. The VPP branch at Line 377 setssw.Errorbefore persisting. Do the same here.🐛 Proposed fix
case sw.InHouseAppID != nil: // In-house apps only install during setup experience on iOS/iPadOS, // which is driven in one pass by the worker and never reaches this // poll-driven flow. Fail the item instead of letting it fall through // the switch silently and stall the queue. sw.Status = fleet.SetupExperienceStatusFailure + sw.Error = ptr.String("In-house apps are only installed during setup experience on iOS and iPadOS.") if err := svc.ds.UpdateSetupExperienceStatusResult(ctx, sw); err != nil { return false, ctxerr.Wrap(ctx, err, "updating setup experience status result to failure") }📝 Committable suggestion
🤖 Prompt for AI Agents