docs: Plan for upgrading C core from 0.10.17 to 1.0.1#2608
Draft
docs: Plan for upgrading C core from 0.10.17 to 1.0.1#2608
Conversation
Agent-Logs-Url: https://github.com/igraph/rigraph/sessions/0948b416-3c4a-44dc-bc60-6c25876ca69e Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
krlmlr
April 9, 2026 10:28
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a comprehensive analysis and plan for upgrading the vendored igraph C library from version 0.10.17 to 1.0.1. The document is at
doc/c-core-upgrade-1.0.1-plan.md.Key Findings
Scope of Change
1.0.0-rc1→1.0.0→1.0.1)functions.yaml(the C function interface definitions)types.yaml(type system changes)igraph_attributeinrinterface_extra.cthat need updatingApproaches Analyzed
Recommended Strategy (Approach E)
Phase 1 — Preparatory PRs (on current 0.10.17):
Phase 2 — Vendor 1.0.1:
5. Single PR: vendor, fix compilation, skip failing tests
Phase 3 — Restore tests:
6–N. Fix skipped tests by category in individual PRs
Agentic History Rewrite Assessment
The idea of creating a synthetic series of commits between 0.10.17 and 1.0.1 where each builds and passes tests is not practical due to:
However, the concept is effectively captured by the preparatory PRs approach: each PR is a small, reviewable, independently-testable step toward the migration.
Effort Estimate
rinterface_extra.c