Open Blind4Basics opened 5 years ago
note: @Chrono79 did a PHP fork too (still for "who likes it") and this one seems to work correctly, so that might be an isolated problem.
Well, the fork of an unapproved PHP translation worked fine, the previous translation was marked as deprecated and mine as approved, then I realized I forgot to change the sample tests and forked my fork. This time the changes were made but it seemed strange both forks are marked as approved.
To summarize:
Translation was approved, but it's not actually merged into the kata. Most likely the background job to merge the data failed for some reason.
Change was applied, but previous version is not marked as deprecated. Most likely the background job failed to find the previous versions.
I'm not sure what exactly happened. For the first one, forking and trying to approve again should make Java available faster than me figuring this out. For the second issue, I wouldn't worry too much. I'm sure there's more like that so I might run some script to correct them.
In general, Codewars is too optimistic. It thinks everything will be alright so there's minimal error checks and almost no recovery so the data is left in some weird state when something goes wrong.
When translation is approved, the following happens:
The background job will:
Also, all of these steps assumes previous one succeeded and nothing is reverted when it failed.
okay, thanks for the input.
RS5 forked and successfully published \o/ Do we keep the issue opened? (I guess so?)
Yeah, I'll keep this open
Scala translation < https://www.codewars.com/kumite/5ce720ea495f740025a7cd61?sel=5ce720ea495f740025a7cd61 > doesn't appear in the list of languages of the kata.
@g964 can you try the workaround mentioned above (fork and approve)?
The translator has edited a new translation, I approved it and it works.
https://www.codewars.com/kumite/5eb5f2c580e7b80028d38584?sel=5ee0fb6b44c2ea0014a8bea4 Forking and approving didn't help here, is it a coincidence or is this case special somehow?
I found that a validation error is raised for that one. Something about the language fields that's copied into the kata seems invalid. I'll look into it further tomorrow.
Describe the bug
for the last hours, it seems that at least some of the approved translations aren't actually "applied" to the kata.
Happened here:
To Reproduce
No idea, unless it's general behavior. Then, just create a translation and approve it should show the problem.
Expected Behavior
the modifications/translations should replace the current version/be added to the kata.
cheers
┆Issue is synchronized with this Clickup by Unito