Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 807cf6aafd8c38104967ed63e8dfb4819c4bf33cb991762ded2be4516de1df7e
Ticket: bd68d1073409d288846b5caadc85f5904e5af96e
Worker tokens minted from Runners cannot claim any task type (claims lack the prefix) (G-70)
User & Date: zeitgeist on 2026-09-19 15:16:50
Changes

  1. icomment:
    Both halves fixed and deployed.
    
    QUARRY (landed as worker-scope): the Runners field says 'by task type' with real examples, states that a name matches a whole task type or a namespace the type continues after a dot, and refuses a scope ending in - _ or . at mint time with a message naming what to type instead. The guard is a heuristic over names and the code says so — whether a scope can ever match depends on which task types exist, which the ci package cannot know — so the ACCEPTED side is pinned too.
    
    DAGNATS (filed as danmestas/dagnats#711, fixed in v0.0.18, deployed here): the 403 now names the requested task type AND the token's scopes, says plainly when a token has no task types at all, flags the prefix near miss, and suggests the scope that would work. The field is documented rather than renamed, which is right — the name is where the misunderstanding starts, but renaming breaks every consumer to fix a docs problem.
    
    The ticket's original premise was mine and wrong twice; the corrections are in the comments above and the record stands as filed. Verified by jva before any of it: minting with exact task types produced a green run, df735a8dc4ad, both steps passing.
    
  2. mimetype: "text/x-markdown"
  3. status changed to: "Closed"