Skip to content

Fix single-issue cloning for Portal backlog items - #2040

Open
Anudhyan wants to merge 1 commit into
CodeYourFuture:mainfrom
Anudhyan:fix/portal-clone-issue-number
Open

Anudhyan wants to merge 1 commit into
CodeYourFuture:mainfrom
Anudhyan:fix/portal-clone-issue-number

Conversation

@Anudhyan

Copy link
Copy Markdown

Portal backlog blocks provide a GitHub URL but no number field, so Clone sends issue: null and triggers bulk cloning. Derive the numeric issue ID from the canonical URL alongside the repository, so the button clones only the selected issue.

Refs #2010; follows up on #2016.

Validation: all six isolated Hugo 0.136.3 rendering checks pass (Portal blocks without numbers, GitHub blocks, stale numbers, and sources without issue links). The original template fails the two missing/stale-number cases. git diff --check passes. The full curriculum build and live OAuth cloning were not run.

Copilot AI balanced review requested due to automatic review settings October 30, 2026 01:54
@netlify

netlify Bot commented Oct 30, 2026

Copy link
Copy Markdown

👷 Deploy request for cyf-curriculum pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 0035b1b

@github-project-automation github-project-automation Bot moved this to 📋 Backlog in Curriculum Planning Oct 30, 2026
@netlify

netlify Bot commented Oct 30, 2026

Copy link
Copy Markdown

👷 Deploy request for cyf-common pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 0035b1b

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

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

Labels

None yet

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

2 participants