Repository navigation
test: Record legacy-matrix deprecation snapshots under lifecycle errors - #3056
Merged
Merged
Conversation
The snapshot tests for the legacy edge-matrix deprecation added in #2700 lacked the `lifecycle_verbosity = "warning"` escape hatch, so the `IGRAPH_LIFECYCLE_ERRORS=true` rcc job turned the warning into an error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
schochastics
enabled auto-merge (squash)
December 3, 2026 21:07
auto-merge was automatically disabled
December 3, 2026 21:55
Repository rule violations found
schochastics
added a commit
to schochastics/rigraph
that referenced
this pull request
Dec 4, 2026
…rs (igraph#3056) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 82612f0)
schochastics
added a commit
to schochastics/rigraph
that referenced
this pull request
Dec 4, 2026
…rs (igraph#3056) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 82612f0)
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.
The
rcc: ubuntu-26.04 (4.6) with lifecycle errorsjob fails on two snapshot tests from #2700:test-interface.R: "add_edges warning for legacy matrices"test-make.R: "make_graph() warning for legacy matrices"With
IGRAPH_LIFECYCLE_ERRORS=true,setup-lifecycle.Rturns deprecations into errors, so the warning these tests snapshot is raised as an error instead. Both tests now setrlang::local_options(lifecycle_verbosity = "warning"), the escape hatch documented insetup-lifecycle.Rand used by the other deprecation snapshot tests. The snapshots themselves are unchanged.Checked locally:
IGRAPH_LIFECYCLE_ERRORS=true,devtools::test(filter = "^(interface|make)$")passes.🤖 Generated with Claude Code