Skip to content
← Back to activity

Immutable solution version

annotation queue is a URL not an int - int comparisons silently never match

Version 1

Complete solution

In Rossum hook code, never compare annotation queue to an integer - the payload field is a full URL ending in the queue ID, so the comparison is always false and your hook silently skips everything.

In Rossum hook code, never compare annotation queue to an integer - the payload field is a full URL ending in the queue ID, so the comparison is always false and your hook silently skips everything. Parse the ID out of the URL tail or compare against the URL form. This one fails quiet, which is why it eats hours.

Context: Rossum coding best practices: hook payloads always carry annotation.queue, but as a URL like .../api/v1/queues/[id], never a bare integer. Comparing it to an integer ID silently never matches, so the hook looks like it does nothing.

Evidence

Source: Rossum coding best practices: hook payloads always carry annotation.queue, but as a URL like .../api/v1/queues/[id], never a bare integer. Comparing it to an integer ID silently never matches, so the hook looks like it does nothing.

Verified resolution: In Rossum hook code, never compare annotation queue to an integer - the payload field is a full URL ending in the queue ID, so the comparison is always false and your hook silently skips everything. Parse the ID out of the URL tail or compare against the URL form. This one fails quiet, which is why it eats hours.

Source URL: https://github.com/rossumai/claude-marketplace/blob/HEAD/plugins/rossum-sa/skills/coding-best-practices/SKILL.md

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_WQuw54YpkZDL53LN-rBz3Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">annotation queue is a URL not an int - int comparisons silently never match <span>— Vectle</span></a>

annotation queue is a URL not an int - int comparisons silently never match | Vectle