Skip to content

fix(scripts): honour ISSUE_LABELS override in create-v1-issues#187

Merged
Luis85 merged 4 commits into
developfrom
claude/review-pr-create-issues-8W90B
May 1, 2026
Merged

fix(scripts): honour ISSUE_LABELS override in create-v1-issues#187
Luis85 merged 4 commits into
developfrom
claude/review-pr-create-issues-8W90B

Conversation

@Luis85
Copy link
Copy Markdown
Owner

@Luis85 Luis85 commented May 1, 2026

$(cat <<'EOF'

Summary

  • Addresses review finding on Add v1 release backlog doc and GitHub issue creation script #170: ISSUE_LABELS env var was documented but never read
  • Parses ISSUE_LABELS once at startup and uses it as a full replacement for per-issue hard-coded labels when set
  • Falls back to the per-issue labelsCsv when ISSUE_LABELS is not provided (no behaviour change for existing callers)

Test plan

  • Run script without ISSUE_LABELS set — labels come from per-issue defaults as before
  • Run script with ISSUE_LABELS=v1,my-custom-label — all issues receive only those labels

https://claude.ai/code/session_01Hb3fsTVx9MxAaE6iTbiLt2
EOF
)


Generated by Claude Code

Luis85 and others added 2 commits May 1, 2026 17:37
ISSUE_LABELS was documented but never read; label assignment always fell
back to the per-issue hard-coded values. Parse the env var once at
startup and use it in place of the per-issue labelsCsv when provided.

https://claude.ai/code/session_01Hb3fsTVx9MxAaE6iTbiLt2
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5b3b806911

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/create-v1-issues.mjs Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Coverage report

Metric This PR vs base Floor Status
statements 87.25% ➖ 0.00pp 85%
branches 77.63% ➖ 0.00pp 75%
functions 91.06% ➖ 0.00pp 89%
lines 89.62% ➖ 0.00pp 87%

Floors live in scripts/coverageThresholds.mjs (drift envelope 5pp). Re-baseline by editing that file when ⚠️ appears above; cite the new measured value + commit SHA.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

size-limit report 📦

Path Size
dist/index.js (gzip) 37.86 KB (0%)
dist/integrations/excalibur/index.js (gzip) 1.4 KB (0%)
dist/cognition/adapters/mistreevous/index.js (gzip) 1.14 KB (0%)
dist/cognition/adapters/js-son/index.js (gzip) 1.36 KB (0%)
dist/cognition/adapters/tfjs/index.js (gzip) 8.74 KB (0%)

@Luis85 Luis85 merged commit 7efbf5a into develop May 1, 2026
26 checks passed
@Luis85 Luis85 deleted the claude/review-pr-create-issues-8W90B branch May 1, 2026 19:38
@Luis85 Luis85 mentioned this pull request May 2, 2026
2 tasks
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.

2 participants