Open roperzh opened 3 months ago
@roperzh thanks for tracking this!
Generating easy to understand error messages is core to Fleet.
Do you think we should hit Apple API at ADE (DEP) profile at upload time? So we can reject an invalid profile and surface the error to the admin.
Something else?
@noahtalerman thanks for quickly looking into this!
Do you think we should hit Apple API at ADE (DEP) profile at upload time? So we can reject an invalid profile and surface the error to the admin.
Something else?
I was thinking the same, it's the only point in time where have the chance to surface errors cleanly, so it makes sense to me 👍
doing the validations ourselves without submitting to apple is error prone and I think will end up being even more work.
Hey @roperzh, heads up, we brought this into the upcoming design sprint (4.49).
Hey team! Please add your planning poker estimate with Zenhub @dantecatalfamo @ghernandez345 @gillespi314 @mna @roperzh
Goal
Context
In #15461 we implemented a solution to surface errors when we make API calls to assign a JSON profile to a host.
This issue is about API/validation errors we might get when we upload the JSON profile to Apple's server, before it's even assigned to a host.
The current behavior if the validation fails is:
All possible errors are described here.
Changes
Product
Engineering
QA
Risk assessment
Manual testing steps
Testing notes
Confirmation