pift doesn't handle editing of filenames/addition of files on comment edit

grendzy - November 13, 2008 - 17:03
Project:Project issue file testing
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

On issue #330633: Temporary file cleanup needs some love (UnitTest included!), the wrong patch got tested. #1 was tested, even though #4 was the latest.

(Sorry if this isn't the right place for support requests regarding the drupal.org test bot).

#1

hunmonk - November 13, 2008 - 17:05
Status:active» by design

all files in an issue are supposed to be tested. most likely the more recent files haven't been processed by the testing platform yet. please be patient, as far as i can tell everything is working as it's supposed to.

#2

grendzy - November 29, 2008 - 04:45
Title:Wrong patch file tested» Do not » patch (code needs work) when there are untested patches
Category:support request» feature request
Status:by design» active

It seems to me that if there are untested patches, then the bot has no reason to flag it as "needs work". Especially as I've seen patches wait for over a week when the bot's queue is backlogged. The handbook indicates that CNR is the correct status when a patch has been created and needs review and testing.

At the very least, the comment is inaccurate:
The last submitted patch failed testing. would more accurately read The last tested patch failed testing.

#3

hunmonk - November 29, 2008 - 04:49
Status:active» by design

At the very least, the comment is inaccurate:
The last submitted patch failed testing. would more accurately read The last tested patch failed testing.

no, the comment is accurate. the framework will only CNW an issue if the last submitted patch failed testing. if a previously patch failed, and there are new patches in the issue that are untested at the time that patch is failed, then the issue will _not_ be CNW'd.

if it is, then this is a bug, and somebody would need to show me some cases where this is happening so that i can fix it.

until then, this is working as expected.

#4

grendzy - November 29, 2008 - 08:59
Category:feature request» bug report
Status:by design» active

if it is, then this is a bug, and somebody would need to show me some cases where this is happening so that i can fix it.

Here are a couple examples:

#5

hunmonk - November 29, 2008 - 13:10
Status:active» postponed (maintainer needs more info)

all of these examples except one are from the time HEAD itself was broken, and the framework was reporting false results. those patches were probably retested manually, and then later got a different result back.

http://drupal.org/node/278770 is the only recent one i see in the list. the patch in that issue was never entered into the testing queue in the first place. did you happen to edit that comment and either attach the file afterwards or edit the filename? the framework doesn't currently support that, and we're trying to decide if we should just block editing of attachments entirely, or add support.

#6

grendzy - November 29, 2008 - 18:35

Thanks for looking into it. Yes, I did attach the file after submitting the comment.

Regarding blocking of editing attachments, that's an interesting question. Maybe a solution could be blocking deletion / changing of existing attachments, but allowing new ones to be added. How are multiple files currently handled?

I'll attach a mockup of what this might look like.

AttachmentSize
pifr result mockup.png 38.1 KB

#7

hunmonk - November 29, 2008 - 19:13
Title:Do not » patch (code needs work) when there are untested patches» pift doesn't handle editing of filenames/addition of files on comment edit
Status:postponed (maintainer needs more info)» active

multiple attachments are fine -- the problem is either adding a new attachment on edit, or editing a patch name on edit. a patch that addresses these shortcomings is welcome. :)

for now, i've temporarily patched drupal.org to disable editing of attachments on issue followups -- i think this is a livable short-term solution until we have a better long-term one.

#8

boombatower - March 20, 2009 - 23:29
Status:active» won't fix

Editing of files will remain off, thus this is not a concern. http://drupal.org/node/407802#comment-1378810

 
 

Drupal is a registered trademark of Dries Buytaert.