Skip to content

feat(infra): declare issue types and fields beside the labels - #1657

Open
oddharsh wants to merge 3 commits into
mainfrom
claude/issue-types-and-fields
Open

oddharsh wants to merge 3 commits into
mainfrom
claude/issue-types-and-fields

Conversation

@oddharsh

@oddharsh oddharsh commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

GitHub made issue types and fields GA for personal accounts today (changelog). The account already carries the 3 default types, none of the 19 issues here has one, and fields aren't turned on.

This declares both in config/infra.json beside the labels, the same way: Task, Bug, Feature, plus Watch for robot-filed trackers (17 of the 19 issues), and the fields Priority plus Upstream, a text field holding the link a watch waits on. labels:sync writes them through /user/issue-types and /user/issue-fields. infra:check validates the declaration offline, scans workflows for gh issue create --type names it doesn't declare, and diffs /repos/:slug/issue-types live. test-order and node-support-window now file as Watch, and the Workers triage routine files as Bug.

Verification: before the sync, infra:check with a repo token failed on the missing Watch. After labels:sync -- --confirm created Watch, Priority and Upstream, it passes, and a second sync plans 0 changes. Planting --type Wtch in test-order.yml fails the scan by name. The contract suite passes (1760 pass, 18 skip).

The account is already synced. Turning fields on created no defaults (/user/issue-fields was empty), so nothing needed pruning. Before merging, paste the routine prompt into the routine again, since it changed.

Limits: the API lists field options by name, so the sync sorts them by priority before comparing. infra:check doesn't check fields live (they have no repo-scoped REST read), and pinning a field to a type has no REST endpoint at all. timbrado's canary issues stay untyped until timbrado learns --type. Happy to drop the field half from this PR if you'd rather land types alone.

All 19 existing issues now carry a type: 17 Watch, 1026 as Task, 338 as Feature.

GitHub made issue types and fields GA for personal accounts on
2026-11-11. Declare the set in config/infra.json: the three default
types plus Watch for robot-filed trackers, and Priority plus an
Upstream link field. labels:sync writes them to the account, and
infra:check reads /repos/:slug/issue-types and scans gh --type flags.
@oddharsh oddharsh added type: feat New capability or surface area: tools Developer tooling and the contract suite area: infra Declared Cloudflare state, wrangler config, pins labels Nov 11, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
aadhar-sh 0ebb1b5 Commit Preview URL

Branch Preview URL
Nov 12 2026, 03:10 AM

The API lists options by name, so the first sync planned a reorder it
had just written.
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Wire-size diff vs merge base

1abea5bda4c555dda184c43c057581f1d5921e8a → 681e7757f3a34073228fb527a798b2d3144fca76

Brotli q11, the quality the edge serves. Every number here is deterministic:
an unchanged file produces no row. Advisory — this check fails on nothing.

Client assets

No change. 40 files, 245.02 KiB Brotli total.

Pages

No change. 77 files, 720.36 KiB Brotli total.

Worker bundle

No change. 299.54 KiB gzip.

Dictionary transport

Family dictionary acquisition: no change, 14.50 KiB q11.

pd/: no change. 403 deltas, 520.86 KiB total.

Head tags vs merge base

No change. 77 documents, every title, description, canonical, robots, og:*, twitter:*, alternate, JSON-LD type and oracle status identical.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: infra Declared Cloudflare state, wrangler config, pins area: tools Developer tooling and the contract suite type: feat New capability or surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant