feat: return email in signup response#1217
Conversation
WalkthroughAdded an email claim assertion and improved a test failure message in the e2e registration test; and added/declared new phony Make targets (including explicit prerequisites for Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/retest |
| @echo "Migration tests successfully finished" | ||
|
|
||
| .PHONY: e2e-deploy-latest | ||
| e2e-deploy-latest: INSTALL_OPERATOR=true |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
make/test.mk (2)
89-91: Consider removing the duplicate target declaration.Line 89 declares
e2e-deploy-latest:as a standalone target, immediately followed by the same target with its recipe on line 90. While syntactically valid in GNU Make, this pattern is unusual, serves no clear purpose, and is inconsistent with all other targets in this Makefile.Apply this diff to remove the redundant declaration:
.PHONY: e2e-deploy-latest -e2e-deploy-latest: e2e-deploy-latest: $(MAKE) get-publish-install-and-register-operators MEMBER_NS=${MEMBER_NS} MEMBER_NS_2=${MEMBER_NS_2} HOST_NS=${HOST_NS} REGISTRATION_SERVICE_NS=${REGISTRATION_SERVICE_NS} ENVIRONMENT=${ENVIRONMENT} INSTALL_OPERATOR=${INSTALL_OPERATOR} DEPLOY_LATEST=true KSCTL_TLS_VERIFY_PARAM=${KSCTL_TLS_VERIFY_PARAM}
317-318: Consider removing the duplicate target declaration.Line 317 declares
get-publish-and-install-operators:as a standalone target, immediately followed by the same target with its prerequisites on line 318. This pattern is unusual and inconsistent with other targets in this Makefile (compare with line 310 forget-publish-install-and-register-operators).Apply this diff to remove the redundant declaration:
.PHONY: get-publish-and-install-operators # IMPORTANT: The host operator needs to be installed first. # The reason is that when the host operator is installed, then the logic creates ToolchainConfig CR which # defines that the webhook should be deployed from the first member instance (and not from the second one). # This is important to set before the member operators are installed, otherwise, it can lead to flaky e2e tests. -get-publish-and-install-operators: get-publish-and-install-operators: get-and-publish-host-operator create-host-resources get-and-publish-member-operator
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
make/test.mk(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Unit Tests
- GitHub Check: Build & push Developer Sandbox UI image for UI e2e tests
- GitHub Check: Build & push operator bundles for e2e tests
|
/retest flaky TestRetargetUserWithSBRByChangingSpaceTargetClusterWhenSpaceIsShared |
|
/retest |
Co-authored-by: Rafaela Maria Soares da Silva <rsoaresd@redhat.com>
Co-authored-by: Rafaela Maria Soares da Silva <rsoaresd@redhat.com>
|
|
/retest flaky: |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexeykazakov, MatousJobanek, metlos, mfrancisc, rajivnathan, rsoaresd The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |



tests for codeready-toolchain/registration-service#555
wrt: https://issues.redhat.com/browse/SANDBOX-1439
Summary by CodeRabbit
Tests
Chores