Skip to content

Sync page seems flakey and may not log to the standard logs #270

@mattreid

Description

@mattreid

The sync page has always been pretty barebones, allowing you to select the repos you want to manually sync and re-crawl, you click the sync button, and then you let it spin until the page flips to a timeout, and close the tab. On the backend, the data did what it needed to, but there's no way to see that from the sync page.

Recently, it seems like the sync page isn't as trustworthy as it used to be, and may be better at managing a small number of repos to manually sync, than a handful. After making a config change to remap some of our repos to GitHub Project metadata, I wanted to resync them so it would correct the data where needed. It never seemed to start that process. I tried a few combinations, and eventually I saw one of the repos I had selected individually syncing over, but only in Jira activity, not in the OCP logs, which is where I had been looking for confirmation.

If there's a different log level applied to events triggered from the sync page, it might be worth reconfiguring that for more consistent reporting and easier troubleshooting. It could also give us the opportunity to output a log statement that a manual sync has been received (which repos, and where it sits in the queue of items to process, if any). Updating the page itself to be a little friendlier could be helpful, but I'm more interested in working well right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions