Closed Horiodino closed 3 months ago
Hi @Horiodino. Thanks for your PR.
I'm waiting for a devfile member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test
label.
I understand the commands that are listed here.
i was thinking in the dw structure we can add a context of type error if its for user we can set it as true and then at the end we can dw is for error handling and representing we can directly add function for that. but for that we need to set context like if the error is for user then we need to set it as true and after that we can again set it to false ?
i was thinking in the dw structure we can add a context of type error if its for user we can set it as true and then at the end we can dw is for error handling and representing we can directly add function for that. but for that we need to set context like if the error is for user then we need to set it as true and after that we can again set it to false ?
Anytime we're setting the workspace status, such as here, it is already implied that it is a user-facing message. As the workspace status will be provided in the workspace object on the cluster. So there should be no need for this additional context IMO.
sorry for making so long , the make docker
was taking so much time (might be isp problem) .
on running
kubectl patch dw plain-devworkspace --type=merge -p '{"spec":{"template":{"attributes":{"controller.devfile.io/storage-type": "invalid-type"}}}}'
kubectl get dw -w
NAME DEVWORKSPACE ID PHASE INFO
plain-devworkspace workspace147061c666194f78 Running Workspace is running
plain-devworkspace workspace147061c666194f78 Running Workspace is running
plain-devworkspace workspace147061c666194f78 Failing Error Provisioning Storage: Configured Storage Type Not Supported
plain-devworkspace workspace147061c666194f78 Failing Error Provisioning Storage: Configured Storage Type Not Supported
plain-devworkspace workspace147061c666194f78 Failing Error Provisioning Storage: Configured Storage Type Not Supported
plain-devworkspace workspace147061c666194f78 Failing Error Provisioning Storage: Configured Storage Type Not Supported
plain-devworkspace workspace147061c666194f78 Failed Error Provisioning Storage: Configured Storage Type Not Supported
/test v8-devworkspace-operator-e2e, v8-che-happy-path
@Horiodino: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test
message.
@Horiodino thank you for the follow-up. Could you please run a go mod tidy
on your fork and commit the changes? This should fix the failing GH Action.
You might also need to do a go install golang.org/x/tools/cmd/goimports@latest
followed by a make fmt
@AObuchow
@Horiodino sorry for the delay, I'm planning to continue reviewing your PR early this week.
working as expected
plain-devworkspace workspaced049889b5c554e91 Error Configured storage type not supported
/ok-to-test
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: AObuchow, dkwon17, Horiodino
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@Horiodino This looks just about good to merge finally. @Horiodino could you please squashing both of your commits and perhaps rewording the commit message to "feat: ensure all DevWorkspace condition messages are capitalized" (or something similar)?
Thank you :)
New changes are detected. LGTM label has been removed.
@Horiodino Sorry for being so picky, but your commit now has the author sign-off twice in the description, and it's also lacking a reference to the bug it's resolving. Could you please modify your commit message to:
feat: ensure all DevWorkspace condition messages are capitalized
Fix #1092
Signed-off-by: Horiodino <holiodin@gmail.com>
@Horiodino Sorry for being so picky, but your commit now has the author sign-off twice in the description, and it's also lacking a reference to the bug it's resolving. Could you please modify your commit message to:
feat: ensure all DevWorkspace condition messages are capitalized Fix #1092 Signed-off-by: Horiodino <holiodin@gmail.com>
np , done :+1:
@Horiodino Thank you! Merging, great work :)
handle error msf scenarios based
What does this PR do?
What issues does this PR fix or reference?
https://github.com/devfile/devworkspace-operator/issues/1092
Is it tested? How?
PR Checklist
/test v8-devworkspace-operator-e2e, v8-che-happy-path
to trigger)v8-devworkspace-operator-e2e
: DevWorkspace e2e testv8-che-happy-path
: Happy path for verification integration with Che