Skip to content

Comments

Add data collection tooling for open issues and PRs#2277

Draft
Copilot wants to merge 7 commits intomasterfrom
copilot/gather-open-issues-prs
Draft

Add data collection tooling for open issues and PRs#2277
Copilot wants to merge 7 commits intomasterfrom
copilot/gather-open-issues-prs

Conversation

Copy link

Copilot AI commented Feb 24, 2026

Pull Request

Thank you for contributing to swagger-parser!

Please fill out the following checklist to help us review your PR efficiently.


Description

Adds tooling to collect and export all open issues and PRs (updated after 2025-01-01) to CSV format for analysis.

Generated artifacts:

  • issues.csv (44 issues): Link, title, comments count, linked PR, timestamps
  • pull_requests.csv (10 PRs): Link, title, linked issue, timestamps
  • SUMMARY.md: Statistics, breakdowns, activity highlights
  • all_issues_complete.json / all_prs_complete.json: Raw GitHub API data

Scripts:

  • collect_and_generate.py: Process JSON → CSV + summary (no dependencies)
  • gather_issues_prs.py: Fetch from GitHub API (requires GH_TOKEN)

Data collection methodology:

  • GitHub MCP Server tools for comprehensive queries
  • Pagination to collect all pages
  • Individual fetching via issue_read/pull_request_read for complete metadata
  • Automatic PR-to-issue linking via body/title pattern matching

All 44 issues from original requirement verified present in collection.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor (non-breaking change)
  • 🧪 Tests
  • 📝 Documentation
  • 🧹 Chore (build or tooling)

Checklist

  • I have added/updated tests as needed
  • I have added/updated documentation where applicable
  • The PR title is descriptive
  • The code builds and passes tests locally
  • I have linked related issues (if any)

Screenshots / Additional Context

Sample CSV output:

Issue Link,Title,Number of Comments,Linked PR,Creation Date,Last Updated
https://github.com/swagger-api/swagger-parser/issues/1518,External ref resolve fails to resolve to same schema and creates duplicate classes,39,,2021-01-18T21:23:51Z,2025-11-15T11:50:51Z

Statistics:

Quality checks:

  • Security scanned (0 vulnerabilities)
  • Valid CSV/JSON formats
  • ISO 8601 timestamps
  • No duplicates or missing fields

See README_DATA_COLLECTION.md for usage instructions.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/search/issues
    • Triggering command: /usr/bin/gh gh api search/issues -F q=repo:swagger-api/swagger-parser is:issue is:open updated:>2025-01-01 -F per_page=100 -F page=1 (http block)
    • Triggering command: /usr/bin/python3 python3 (http block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI and others added 3 commits February 24, 2026 07:51
Co-authored-by: ewaostrowska <214632419+ewaostrowska@users.noreply.github.com>
Co-authored-by: ewaostrowska <214632419+ewaostrowska@users.noreply.github.com>
Co-authored-by: ewaostrowska <214632419+ewaostrowska@users.noreply.github.com>
Copilot AI changed the title [WIP] Gather open issues and pull requests in Swagger Parser Add issue and PR data collection with CSV export Feb 24, 2026
Copilot AI requested a review from ewaostrowska February 24, 2026 07:57
Copilot AI and others added 3 commits February 24, 2026 08:12
Co-authored-by: ewaostrowska <214632419+ewaostrowska@users.noreply.github.com>
Co-authored-by: ewaostrowska <214632419+ewaostrowska@users.noreply.github.com>
Co-authored-by: ewaostrowska <214632419+ewaostrowska@users.noreply.github.com>
Copilot AI changed the title Add issue and PR data collection with CSV export Add data collection tooling for open issues and PRs Feb 24, 2026
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