thoth-station/srcops-testing

project board test issue #1

Opened this issue · 6 comments

Purpose of this issue is to test mi's new tracking feature

Main testing purposes

The goal is to test whether

  • Issue can be in assigned in multiple projects

Observations

I've just observed that the Timeline is not immidiately updated w.r.t. to project-related events - even though I've added Issue into two different projects by two different methods (using Issue interface vs Project interface) the timeline of this issue has just one event - my comment above

Adding this as a comment to find out if the timeline will be refreshed

Update

To get the project event details, a custom accept header must be specified

Observing this possibility within PyGithub tool, if not an alternative like packit service would be required

Update 2

Setting

Consts.issueTimelineEventPreview = "application/vnd.github.starfox-preview+json"

does not help, default header is somehow still used within PyGithub module.

Update 3

So after manually modifying accept headers to retrieve the project details events for timeline, I've found out that this is the issue within repository setting (the accept headers that I used were correct).

Specifically, when this setting is turned off
image
It prevents project-related events to appear in timeline. Only when the option is enabled, project details can be extracted from GH API.

Alternative 1

scrap the project info from Issue page (even though Projects feature is disabled, the issues can be still assigned to projects and relevant information is then displayed at the right side of the Issue interface)

Alternative 2

if the Project details are going to be required only from thoth-station/* repositories, we can enable the feature and use Issue Events API as planned.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale