pingcap/ossinsight

Collection edits no longer appear on site

jgabarca opened this issue · 5 comments

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)

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

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

@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"
}

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.

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