-
Notifications
You must be signed in to change notification settings - Fork 52
V5 to V4 Sync Issue: V5 Registrations and Submissions not seen in V4 #204
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
Comments
There was an issue with the legacy-challenge-resource-processor putting registrations back into v4. Please retest @SathyaJayabal |
@rootelement , registrations made in V5 are not reflecting in V4. Submissions made from v5 are also not reflecting in v4 |
@rootelement @mtwomey - what @SathyaJayabal is trying to emphasize is the need for v4 and v5 to be in real time sync ... this would become critical once v5 goes to Prod as legacy Apps such as Direct and OR would continue to read off v4 ... we'd continue to depend on legacy Apps for Challenge Creation and Updates even after v5 goes to Prod ... cc @sushilshinde |
Submissions made from v5 are now reflecting in V4 and in OR after fix |
Registrations are still not synced form v5 to v4. For example challenge "https://beta-community-app.topcoder.com/challenges/0e19815e-fb7e-4a8c-bb52-6e5c6c101818" |
Also looks like submission were not seen in OR for some cases. Unless registration is synced to V4, submissions also do not show up in OR. We can check this behaviour using the below steps:
|
@SathyaJayabal @sushilshinde Kindly retest the registration part today. James and I worked through this today and believe we have it working. I'm trying to test submissions - but I can't seem to submit at all right now (in beta), can you guys submit? |
@mtwomey , I am testing this right now. I was able to submit from beta. |
@mtwomey @rootelement , strangely now, the registrations and submission made from v5 are not showing up in V5.(even though they show up in V4 (Prod and OR). The only place registration shows up in v5 is in the registrants table in challenge details. |
tracking challenge not showing up in my challenges here |
@SathyaJayabal As per update on #216 @rootelement and I worked through this and think we're good here now. Please check on your end. |
[All testing curls below are against the beta env "Adobe COVID Challenge Series" challenge (3cfa4e31-1758-4e65-aa73-61caa1d5154f / legacyId: 30132287)]
Curl
Should return 1 submission. For comparison - current production uses this call Curl
and then it counts the number of members in the submissions array in the response. You can see there should be 1.
Also note - v5-submissions-api also has different results, showing 2 submissions here: Curl
Result
This might be just an issue with how submissions are deleted (possible by support?) cc @rootelement |
There's no v4 -> v5 sync for submissions as far as I know. @christopher
DeLaurentis <[email protected]> ? Might be good to confirm how support
deleted it. I'm assuming they deleted it from informix.
Still doesn't answer why v4 and v5 are reporting differently. But the
submission count is updated by the challenge-processor-es from a submission
created bus message. I will confirm the configs for all those connections
on that es-processor.
…On Sat, Jul 11, 2020 at 12:01 AM Matthew Twomey ***@***.***> wrote:
*[All testing curls below are against the beta env "Adobe COVID Challenge
Series" challenge (3cfa4e31-1758-4e65-aa73-61caa1d5154f / legacyId:
30132287)]*
"numOfSubmissions": 0, is wrong in v5 challenge-api
*Curl*
curl --location --request GET 'https://api.topcoder.com/v5/challenges/3cfa4e31-1758-4e65-aa73-61caa1d5154f' \
--header 'Authorization: Bearer [M2M-TOKEN]'
Should return 1 submission. For comparison - current production uses this
call
*Curl*
curl --location --request GET 'https://api.topcoder.com/v4/challenges/30132287' \
--header 'Authorization: Bearer [M2M-Token]'
and then it counts the number of members in the submissions array in the
response. You can see there should be 1.
"submissions": [
{
"submitter": "mtwomey23",
"submitterId": 90002366,
"submissions": [
{
"submissionId": 384808,
"submissionStatus": "Active",
"submissionTime": "2020-07-10T21:08:25.000Z"
}
]
}
],
------------------------------
Also note - v5-submissions-api also has different results, showing 2
submissions here:
*Curl*
curl --location --request GET 'https://api.topcoder.com/v5/submissions?challengeId=3cfa4e31-1758-4e65-aa73-61caa1d5154f' \
--header 'Authorization: Bearer [M2M-Token]'
*Result*
[
{
"updatedBy": "mtwomey23",
"created": "2020-07-10T21:08:25.447Z",
"legacySubmissionId": 384808,
"isFileSubmission": false,
"type": "Contest Submission",
"url": "https://s3.amazonaws.com/topcoder-submissions/02e14f95-59ca-4195-a002-f449886f49f7.zip",
"challengeId": 30132287,
"createdBy": "mtwomey23",
"review": [
{
"score": 100,
"updatedBy": ***@***.***",
"reviewerId": "3ed22afd-2202-483a-b663-a676fec86b78",
"submissionId": "02e14f95-59ca-4195-a002-f449886f49f7",
"createdBy": ***@***.***",
"created": "2020-07-10T21:08:31.472Z",
"scoreCardId": 30001850,
"typeId": "55bbb17d-aac2-45a6-89c3-a8d102863d05",
"id": "c7134e67-b318-4879-a7ae-d9d7e46fc620",
"updated": "2020-07-10T21:08:31.472Z",
"status": "completed"
}
],
"id": "02e14f95-59ca-4195-a002-f449886f49f7",
"submissionPhaseId": 1366828,
"updated": "2020-07-10T21:08:25.447Z",
"fileType": "zip",
"memberId": 90002366
},
{
"updatedBy": "picachui",
"created": "2020-07-10T07:13:26.173Z",
"legacySubmissionId": 384735,
"isFileSubmission": false,
"type": "Contest Submission",
"url": "https://s3.amazonaws.com/topcoder-submissions/913d7489-7b53-4cfe-afc6-14fd65bd45f4.zip",
"challengeId": 30132287,
"createdBy": "picachui",
"review": [
{
"score": 100,
"updatedBy": ***@***.***",
"reviewerId": "3258ff88-8a89-4f9f-811b-e4e0ae0564cd",
"submissionId": "913d7489-7b53-4cfe-afc6-14fd65bd45f4",
"createdBy": ***@***.***",
"created": "2020-07-10T07:13:30.781Z",
"scoreCardId": 30001850,
"typeId": "55bbb17d-aac2-45a6-89c3-a8d102863d05",
"id": "b0f2233d-bb5e-49bf-8fd5-1f116a728c68",
"updated": "2020-07-10T07:13:30.781Z",
"status": "completed"
}
],
"id": "913d7489-7b53-4cfe-afc6-14fd65bd45f4",
"submissionPhaseId": 1366828,
"updated": "2020-07-10T07:13:26.173Z",
"fileType": "zip",
"memberId": 22778049
}
]
This might be just an issue with how submissions are deleted (possible by
support?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#204 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJGMXC6JBK2ID6EY4I7ABDR27P2TANCNFSM4ONHXTEQ>
.
--
James Cori
Lead Software Engineer
[email protected] / 413.961.9044 / @jamesmcori
<https://twitter.com/jamesmcori>
<[email protected]>www.topcoder.com <http://topcoder.com/> / Topcoder
Blog: topcoder.com/blog / twitter: @topcoder
<https://twitter.com/topcoder>201 S Capitol Ave, Indianapolis, IN 46225
|
There is a v4->v5 for reviews but not subs.
https://github.com/topcoder-platform/or-review-processor
Everything, including legacy systems such as OR and Direct use v5
submission api so there’s nothing to sync.
On Sat, Jul 11, 2020 at 12:52 PM Cori, James ***@***.***> wrote:
There's no v4 -> v5 sync for submissions as far as I know. @christopher
DeLaurentis ***@***.***> ? Might be good to confirm how
support deleted it. I'm assuming they deleted it from informix.
Still doesn't answer why v4 and v5 are reporting differently. But the
submission count is updated by the challenge-processor-es from a submission
created bus message. I will confirm the configs for all those connections
on that es-processor.
On Sat, Jul 11, 2020 at 12:01 AM Matthew Twomey ***@***.***>
wrote:
> *[All testing curls below are against the beta env "Adobe COVID Challenge
> Series" challenge (3cfa4e31-1758-4e65-aa73-61caa1d5154f / legacyId:
> 30132287)]*
>
> "numOfSubmissions": 0, is wrong in v5 challenge-api
>
> *Curl*
>
> curl --location --request GET 'https://api.topcoder.com/v5/challenges/3cfa4e31-1758-4e65-aa73-61caa1d5154f' \
> --header 'Authorization: Bearer [M2M-TOKEN]'
>
> Should return 1 submission. For comparison - current production uses this
> call
>
> *Curl*
>
> curl --location --request GET 'https://api.topcoder.com/v4/challenges/30132287' \
> --header 'Authorization: Bearer [M2M-Token]'
>
> and then it counts the number of members in the submissions array in the
> response. You can see there should be 1.
>
> "submissions": [
> {
> "submitter": "mtwomey23",
> "submitterId": 90002366,
> "submissions": [
> {
> "submissionId": 384808,
> "submissionStatus": "Active",
> "submissionTime": "2020-07-10T21:08:25.000Z"
> }
> ]
> }
> ],
>
> ------------------------------
>
> Also note - v5-submissions-api also has different results, showing 2
> submissions here:
>
> *Curl*
>
> curl --location --request GET 'https://api.topcoder.com/v5/submissions?challengeId=3cfa4e31-1758-4e65-aa73-61caa1d5154f' \
> --header 'Authorization: Bearer [M2M-Token]'
>
> *Result*
>
> [
> {
> "updatedBy": "mtwomey23",
> "created": "2020-07-10T21:08:25.447Z",
> "legacySubmissionId": 384808,
> "isFileSubmission": false,
> "type": "Contest Submission",
> "url": "https://s3.amazonaws.com/topcoder-submissions/02e14f95-59ca-4195-a002-f449886f49f7.zip",
> "challengeId": 30132287,
> "createdBy": "mtwomey23",
> "review": [
> {
> "score": 100,
> "updatedBy": ***@***.***",
> "reviewerId": "3ed22afd-2202-483a-b663-a676fec86b78",
> "submissionId": "02e14f95-59ca-4195-a002-f449886f49f7",
> "createdBy": ***@***.***",
> "created": "2020-07-10T21:08:31.472Z",
> "scoreCardId": 30001850,
> "typeId": "55bbb17d-aac2-45a6-89c3-a8d102863d05",
> "id": "c7134e67-b318-4879-a7ae-d9d7e46fc620",
> "updated": "2020-07-10T21:08:31.472Z",
> "status": "completed"
> }
> ],
> "id": "02e14f95-59ca-4195-a002-f449886f49f7",
> "submissionPhaseId": 1366828,
> "updated": "2020-07-10T21:08:25.447Z",
> "fileType": "zip",
> "memberId": 90002366
> },
> {
> "updatedBy": "picachui",
> "created": "2020-07-10T07:13:26.173Z",
> "legacySubmissionId": 384735,
> "isFileSubmission": false,
> "type": "Contest Submission",
> "url": "https://s3.amazonaws.com/topcoder-submissions/913d7489-7b53-4cfe-afc6-14fd65bd45f4.zip",
> "challengeId": 30132287,
> "createdBy": "picachui",
> "review": [
> {
> "score": 100,
> "updatedBy": ***@***.***",
> "reviewerId": "3258ff88-8a89-4f9f-811b-e4e0ae0564cd",
> "submissionId": "913d7489-7b53-4cfe-afc6-14fd65bd45f4",
> "createdBy": ***@***.***",
> "created": "2020-07-10T07:13:30.781Z",
> "scoreCardId": 30001850,
> "typeId": "55bbb17d-aac2-45a6-89c3-a8d102863d05",
> "id": "b0f2233d-bb5e-49bf-8fd5-1f116a728c68",
> "updated": "2020-07-10T07:13:30.781Z",
> "status": "completed"
> }
> ],
> "id": "913d7489-7b53-4cfe-afc6-14fd65bd45f4",
> "submissionPhaseId": 1366828,
> "updated": "2020-07-10T07:13:26.173Z",
> "fileType": "zip",
> "memberId": 22778049
> }
> ]
>
> This might be just an issue with how submissions are deleted (possible by
> support?)
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#204 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABJGMXC6JBK2ID6EY4I7ABDR27P2TANCNFSM4ONHXTEQ>
> .
>
--
James Cori
Lead Software Engineer
***@***.*** / 413.961.9044 / @jamesmcori
<https://twitter.com/jamesmcori>
***@***.***>www.topcoder.com <http://topcoder.com/> / Topcoder
Blog: topcoder.com/blog / twitter: @topcoder
<https://twitter.com/topcoder>201 S Capitol Ave, Indianapolis, IN 46225
<https://www.google.com/maps/search/201+S+Capitol+Ave,+Indianapolis,+IN+46225?entry=gmail&source=g>
--
-CWD
|
@rootelement , the issue is not v4->v5 sync for submissions. But the submissions made from V5 is not showing up in the submissions count returned by the challenge api. The same submission is returned by the V4 challenge api and also the submissions api. In the above example provided by @mtwomey , the submission in question is a submission made from V5. |
Let us track the submissions count issue separately. |
Submissions or registrations made from V5 are not visible from V4.
Example:
https://beta-community-app.topcoder.com/challenges/6c0c6d56-fae9-4d41-8755-0482de5483f6
https://www.topcoder.com/challenges/30130748?tab=registrants
user picachui registered in V5 for the above challenge, but this is not reflected in V4.
cc @lakshmiathreya
The text was updated successfully, but these errors were encountered: