Skip to content

read queued resource IDs from job arguments - #3

Merged
TomeCirun merged 1 commit into
masterfrom
fix-queued-resource-id-detection
Jul 23, 2026
Merged

read queued resource IDs from job arguments#3
TomeCirun merged 1 commit into
masterfrom
fix-queued-resource-id-detection

Conversation

@TomeCirun

Copy link
Copy Markdown

XLoader detects pending resource jobs by extracting the resource ID from each RQ job’s description using a regular expression. Newer RQ versions can truncate or change that description, causing the regex to return None and XLoader to crash.

The fix reads the resource ID directly from the job’s structured arguments instead. This is reliable and avoids depending on a human-readable job description.

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2739 2116 77% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
ckanext/xloader/action.py 76% 🟢
ckanext/xloader/tests/test_action.py 97% 🟢
TOTAL 87% 🟢

updated for commit: 467cdd0 by action🐍

@TomeCirun
TomeCirun merged commit 6b1339e into master Jul 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant