Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Collection edits no longer appear on site #1788

Closed
jgabarca opened this issue Sep 2, 2024 · 5 comments
Closed

Collection edits no longer appear on site #1788

jgabarca opened this issue Sep 2, 2024 · 5 comments
Assignees
Labels
type/bug Bug issues

Comments

@jgabarca
Copy link
Contributor

jgabarca commented Sep 2, 2024

Bug Report

The most recent collection edit cd5ab74 which is reflected on the site is from June 20, which updated the vector database collection. Collection edits made since then have not been reflected on the site.

To Reproduce

  1. Go to https://ossinsight.io/collections/web-rtc
  2. See the projects added in 3f1fc79 are missing.

Expected behavior
I expect to see the projects added in 3f1fc79

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
  • Version: 129.0.6668.22 (Official Build) beta (64-bit)
@jgabarca jgabarca added the type/bug Bug issues label Sep 2, 2024
@634750802
Copy link
Collaborator

634750802 commented Sep 4, 2024

This is a legacy problem, if you want to edit this collection, see https://github.com/pingcap/ossinsight/blob/main/etl/meta/collections/10088.webrtc.yml

@jgabarca
Copy link
Contributor Author

jgabarca commented Sep 4, 2024

This is a legacy problem, if you want to edit this collection, see https://github.com/pingcap/ossinsight/blob/main/etl/meta/collections/10088.webrtc.yml

There are already edits in this yml file, which I made, which are not reflected in https://ossinsight.io/collections/web-rtc

@634750802
Copy link
Collaborator

@jgabarca sorry for misunderstanding the question.


The current_month field is 2024-08, maybe something wrong with the cronjob? @Mini256

GET https://api.ossinsight.io/q/collection-stars-month-rank?collectionId=10088

{
    "data": [
        {
            "current_month": "2024-08",
            "current_month_rank": 1,
            "current_month_total": 454,
            "last_month": "2024-07",
            "last_month_rank": 2,
            "last_month_total": 199,
            "rank_mom": -1,
            "repo_id": 15225670,
            "repo_name": "jitsi/jitsi-meet",
            "total": 23550,
            "total_mom": 128.1407
        },
        ...
    ],
    "expiresAt": "2024-09-05T04:42:50.106+00:00",
    "finishedAt": "2024-09-04T03:42:50.106+00:00",
    "params": {
        "collectionId": 10088
    },
    "requestedAt": "2024-09-04T03:42:50.003+00:00",
    "spent": 0.103,
    "expiredAt": "2024-09-05T04:42:50.106+00:00"
}

@Mini256
Copy link
Member

Mini256 commented Oct 9, 2024

Fixed.

image

It seems that there are some issues with the old script. I will add a new GitHub Action so that the PR for modifying the collection config can take effect quickly in the future.

@Mini256
Copy link
Member

Mini256 commented Oct 9, 2024

For now, we can automate the sync of collection configs to the database via GitHub Action.

image

https://github.com/pingcap/ossinsight/actions/runs/11258036119/job/31303681273

image

@Mini256 Mini256 closed this as completed Oct 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type/bug Bug issues
Projects
None yet
Development

No branches or pull requests

3 participants