Skip to content

Avoid empty asset updates#168

Open
kamilon wants to merge 3 commits intomainfrom
dev/kamilon/avoidemptyupdate
Open

Avoid empty asset updates#168
kamilon wants to merge 3 commits intomainfrom
dev/kamilon/avoidemptyupdate

Conversation

@kamilon
Copy link
Copy Markdown

@kamilon kamilon commented Apr 23, 2026

This PR makes 4 changes to the flow:

  1. When the data received from Tibia.com is not in the expected shape, exit with code 1 to fail the workflow.
  2. Retry getting data up to 5 (from 2) times with exponential backoff (1s, 2s, 4s, 8s, 16s).
  3. If house data is not successful after all attempts, exit with code 1 to fail the workflow.
  4. If worlds or houses is empty when getting data from Tibia.com, the site must be in maintenance mode, exit with code 1 to fail the workflow.

Errors are logged in all 4 cases.

Fix a typo in logging.

@kamilon kamilon requested a review from tobiasehlert April 23, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant