thoth-station / core

Using Artificial Intelligence to analyse and recommend Software Stacks for Artificial Intelligence applications.
https://thoth-station.github.io/
GNU General Public License v3.0
28 stars 25 forks source link

Projects not enabled even though the configuration is set up #419

Closed xtuchyna closed 2 years ago

xtuchyna commented 2 years ago

Bug description

Related to https://github.com/thoth-station/core/pull/418 and https://github.com/thoth-station/mi/issues/589

Steps to Reproduce

>>> GITHUB_ACCESS_TOKEN=<token>

>>> from github import Consts
>>> from github import Github
>>> gh = Github(login_or_token=GITHUB_ACCESS_TOKEN)
>>> src = gh.get_repo("thoth-station/srcops-testing")

>>> issue = src.get_issue(266)

>>> timeline = github.PaginatedList.PaginatedList(
            github.TimelineEvent.TimelineEvent,
            issue._requester,
            f"{issue.url}/timeline",
            None,
            headers={"Accept": "application/vnd.github.starfox-preview+json,application/vnd.github.mockingbird-preview"},
        )

>>> timeline.totalCount
0

Actual behavior

totalCount of the timeline should be greater than 0, and at least of 3 (because I've added the testing issue into three multiple projects) That means project related timeline events are still not available.

On top of that, if I go to the settings of srcops-testing, it still says following image implying that perhaps other setting needs to be updated, generally for all thoth-station/* repos

Expected behavior

Project related events should appear when retrieving timeline for issue that is assigned to a project.

sesheta commented 2 years ago

@xtuchyna: This issue is currently awaiting triage. If a refinement session determines this is a relevant issue, it will accept the issue by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
xtuchyna commented 2 years ago

@harshad16

harshad16 commented 2 years ago

@xtuchyna seems like we have to make this option https://github.com/thoth-station/core/blob/a6bd40e5cb89fa4a2475cd896f625a52f12f5c78/community/github-config.yaml#L17 true to get everything working in right order.

goern commented 2 years ago

/sig user-experience

codificat commented 2 years ago

/assign @xtuchyna Dominik, is this still an issue?

goern commented 2 years ago

/close feel free to re-open

sesheta commented 2 years ago

@goern: Closing this issue.

In response to [this](https://github.com/thoth-station/core/issues/419#issuecomment-1246354741): >/close >feel free to re-open Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.