Fix staging processor startup and clarify Kitsu sync status

Open
#175 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

The payload names no files. Start from the processor's server-side /pairing call and how it picks the settings variant, since the staging variant currently returns Kitsu server is not set. The other three points (the sync UI status of the linked kitsu.sync job, the order of queued requests versus the startup sync, and surfacing initialization failures in Services) each need their own entry point found in the code. Done means a staging processor starts from its own settings, and the issue is split into separate pieces before anyone implements the rest.

Written by the indexing model from the issue text.

Description

On a self-hosted AYON instance with Kitsu 1.2.8, a processor configured for staging failed at startup. Its /pairing call returned HTTP 500 (Kitsu server is not set) despite valid staging settings. Copying the Kitsu URL and credential references to the 1.2.8 production settings let the processor start and complete the queued sync.

  • Use the processor's settings variant for server-side pairing.
  • Show the linked kitsu.sync job's status in the sync UI. The request appeared as finished while it was still waiting for a processor.
  • Process queued requests before the startup sync of all paired projects.
  • Surface initialization failures in Services so a running container can be distinguished from a ready processor.
Dominant language
Python
Stars
14
Forks
28
Avg merge
3d 1h
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ynput/ayon-kitsu

All issues in ynput/ayon-kitsu

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.