Skip to content

ci(mergify): resolve URL-form stack dependencies - #1604

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/stack-dependency-urls/resolve-url-form-stack-deps--0de76083
Oct 20, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/stack-dependency-urls/resolve-url-form-stack-deps--0de76083

Conversation

@tignear

@tignear tignear commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Resolve same-repository GitHub pull-request URLs as well as #N markers when validating queue batches. Reject cross-repository and malformed references, and preserve base-branch ownership checks.

Validation: 27 focused queue, stack, and batch-validator tests passed; git diff --check passed.

Resolve same-repository GitHub pull-request URLs as well as #N markers when validating queue batches. Reject cross-repository and malformed references, and preserve base-branch ownership checks.

Validation: 27 focused queue, stack, and batch-validator tests passed; git diff --check passed.
Change-Id: I0de76083fea4cbd21fecf93af44e2efd040af7ca
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T10:45:58.840216Z f8cc746 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 20, 2026

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

Copy link
Copy Markdown

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: f8cc7469d2

ℹ️ 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".

/^Depends-On: (?:#([1-9]\d*)|https:\/\/github\.com\/([^/\s]+\/[^/\s]+)\/pull\/([1-9]\d*))\s*$/m.exec(body ?? "");
if (
!marker ||
(marker[2] && marker[2].toLowerCase() !== repository.toLowerCase())

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep scanning after a foreign dependency URL

When a stack member lists an external dependency before its same-repository predecessor, such as Depends-On: https://github.com/o/other/pull/7 followed by Depends-On: #12, this check returns null for the first marker without searching for the valid second marker. Mergify explicitly supports multiple Depends-On headers, including cross-repository dependencies (Mergify documentation), and the previous shorthand-only regex skipped the URL and found #12; the changed validator therefore rejects an otherwise valid stack as having an invalid base. Scan all dependency markers and ignore nonmatching repositories rather than terminating on the first one.

Useful? React with 👍 / 👎.

@mergify mergify Bot added the queued Mergify queue entry label Oct 20, 2026
@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-20 11:05 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • ✅ Checks passed · on draft merge queue: checking #1604 on master (cf51547) #1614
  • ✅ Merged — 2026-10-20 12:34 UTC · at 56395afea0c8b774ffed14be4bb9cb268909562e · merge

This pull request spent 1 hour 28 minutes 49 seconds in the queue, including 2 minutes 1 second running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-success = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-success = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-success = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-success = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

@tignear

tignear commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 ci(mergify): resolve URL-form stack dependencies #1604 👈
2 ci(rollup): manage conflicting stacks from GitHub #1606

@mergify
mergify Bot merged commit 56395af into master Oct 20, 2026
29 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/stack-dependency-urls/resolve-url-form-stack-deps--0de76083 branch October 20, 2026 12:34
@mergify mergify Bot removed the queued Mergify queue entry label Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant