diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-20 07:00:00 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-20 07:28:42 +0900 |
| commit | 1748a1e046cf6dd4ac02536c0f7fa26b3368e025 (patch) | |
| tree | 985bc5f37d227f4030eb7ec24350f8dc60309714 /crates/shirabe/tests/repository | |
| parent | 335c9c079b9215beb509bc298719733057aafd03 (diff) | |
| download | php-shirabe-1748a1e046cf6dd4ac02536c0f7fa26b3368e025.tar.gz php-shirabe-1748a1e046cf6dd4ac02536c0f7fa26b3368e025.tar.zst php-shirabe-1748a1e046cf6dd4ac02536c0f7fa26b3368e025.zip | |
fix(github-driver): defer get_branches until tags search misses
PHP's `?:` chain in getComposerInformation short-circuits, so
getBranches() only runs when the tags search is falsy. The eager port
issued an extra git/refs/heads API request that PHP never makes.
Un-ignore test_public_repository_archived, which this fixes.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/repository')
| -rw-r--r-- | crates/shirabe/tests/repository/vcs/github_driver_test.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/shirabe/tests/repository/vcs/github_driver_test.rs b/crates/shirabe/tests/repository/vcs/github_driver_test.rs index 8b30a796..dfdbb01e 100644 --- a/crates/shirabe/tests/repository/vcs/github_driver_test.rs +++ b/crates/shirabe/tests/repository/vcs/github_driver_test.rs @@ -613,7 +613,6 @@ fn test_funding_format() { } } -#[ignore = "funding/archived parsing differs from PHP; not date-related"] #[test] fn test_public_repository_archived() { let SetUp { home, config } = set_up(); |
