kashike / limbo-config

Configuration files for @limbo-app.
0 stars 0 forks source link

Add configurable 'please retest on the latest build' comment #2

Open Aaron1011 opened 6 years ago

Aaron1011 commented 6 years ago

Moved from https://github.com/KyoriPowered/limbo/issues/3

It's very common for people to open issues in Sponge repositories that they experienced running outdated builds of Sponge. It would be very useful if Limbo could automatically post a 'Please upgrade and retest' comment under configurable circumstances:

With the proper choice of values, I believe this could greatly improve issue response time by automating the 'generic' parts of issue triage that block actually debugging it.

This is pretty Sponge-specific, so I'm not sure how good of a fit it is for Limbo. However, we don't have another GitHub bot at the moment.

ryantheleach commented 6 years ago

If you do this, please add a disclaimer something along the lines of.

"this was an automated post, if you strongly disagree with this bot's response please reply stating why"

Or even if limbo gave NO advice, but simply stated how outdated it was if it was past a certain age.

The experimental stuff should be posted every time.

Experimental text should be something like

"This bug report is about an experimental version of Sponge that should not be run on production systems. Plugin compatibility WILL break often on experimental systems, so unless you are a plugin developer assisting the next version of the API, please retest on stable."

Having automated labels for both of these, would also be appreciated. e.g. waiting for reply until it gets a reply.

Experimental version tags for experimental.

kashike commented 6 years ago

Could you provide some messages, in markdown format, for the replies you're suggesting?

They're using an experimental build (e.g. 8.0.0-SNAPSHOT)

The branch: bleeding label is already applied in this case (see here).

Aaron1011 commented 6 years ago

@kashike:

You appear to be running Sponge version $BUILD_FROM_ISSUE which is ($BUILDS_AGO builds out-of-date/$BUILD_AGE days old)! Please re-test on either the latest reccomended build, or the latest build, and see if your issue is resolved.
You appear to be running an experimental build of Sponge! Currently, only 
Sponge $SUPPORTED_MAJOR_VERSION is supported. Please re-test on the reccomended build or latest build of Sponge $SUPPORTED_MAJOR_VERSION, and see if your issue is reolved.