Skip to content

fix(deps): remove deprecated OpenPGP from the CI dependency path - #4267

Merged
Quick104 merged 1 commit into
mainfrom
fix/ci-failures-5
Nov 15, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/ci-failures-5

Conversation

@Quick104

@Quick104 Quick104 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Problem

CI fails its reachable-vulnerability scan because Sigstore’s test CA imports the deprecated OpenPGP implementation through Rekor 1.5.2. Upgrade Rekor to 1.5.4, which uses the maintained ProtonMail implementation and supports the existing Go version.

Related issue: N/A
Validation tasks: none (dependency maintenance; no acceptance behavior changes)
Other clients: N/A (no client-visible change)

Approach

Update Rekor and the dependencies its release requires. Use Redis 9.23.0 because 9.22.0 fails the existing stalled-connection deadline test. Move explicit 0s Sentinel timeouts into the existing rejection cases: the updated parser treats them as disabled timeouts, which Silo already rejects. Existing signature verification and Redis tests exercise both paths.

Validation

  • Go 1.26.11 vulnerability scan: passed, zero reachable vulnerabilities.
  • Plugin signatures, Redis configuration/cache/deadlines, and query attribution race tests: passed.
  • Web lint, formatting, production build, bundle budget, and all 7,513 tests in 885 files: passed.
  • Generated API/settings/playback artifacts, route inventory, contract checks, repository hygiene, workflow/shell lint, and Prometheus rule tests: passed.
  • Go build, vet, changed-line lint, and router recovery lint: passed.
  • Full Go suite: failed only TestRunStatsWithRealFFmpeg and TestCopyRemuxSubtitleRenditionRealFFmpeg; both failures reproduce with the original module files on this machine. The first reports a frame at 11.003s outside its window; the second misses the middle subtitle cue after seeking. These FFmpeg failures are outside this dependency fix.
  • Database integration checks were not run locally because no disposable PostgreSQL service is configured. Docker is unavailable; Prometheus rules passed with the checksum-verified 3.5.0 promtool binary.

Evidence

Verified commit: 95d5da01caa0c87e58029dc9a6e550808f340707.

Before: main CI run fails Scan reachable Go vulnerabilities with GO-2026-5932 through pluginsigtest → sigstore-go/pkg/testing/ca → rekor/pkg/pki/pgp.

After: GOTOOLCHAIN=go1.26.11 govulncheck -scan=symbol ./... exits 0 and reports zero reachable vulnerabilities and zero vulnerabilities in imported packages. The advisory remains at module level because Silo still uses other packages from golang.org/x/crypto. go mod why golang.org/x/crypto/openpgp confirms the package is no longer needed.

Verification output:

$ GOTOOLCHAIN=go1.26.11 govulncheck -scan=symbol ./...
No vulnerabilities found.
Your code is affected by 0 vulnerabilities.

$ make test-web WEBTEST_ARGS='--maxWorkers=1 --vmMemoryLimit=512MB'
Test Files  885 passed (885)
Tests  7513 passed (7513)

$ make lint-changed
0 issues.

Risks

Rekor also raises shared AWS, Redis, Prometheus, protobuf, and OpenAPI dependency versions. Live deployment behavior was not exercised. The existing stalled-connection test passes with Redis 9.23.0.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets “Decide what to test” in CONTRIBUTING.md (existing regression cases updated).
  • The Evidence section shows how I checked a change nobody sees.

AI Disclosure

  • Harness: T3 Code, Codex harness
  • Tool(s): Codex
  • Model(s): gpt-6.1-sol
  • Involvement: AI-assisted
  • Adversarial review: Codex reviewed the dependency graph, upstream OpenPGP migration, Go compatibility, production and test imports, and complete module diff. The review caught Redis 9.22.0 retaining a stalled connection; selecting 9.23.0 makes the existing deadline test pass. Existing signature tests and the CI-equivalent vulnerability scan pass.

Note

Remove deprecated OpenPGP from CI dependency path via dependency updates

  • Updates dependency versions in go.mod and go.sum, including AWS SDK, Prometheus, Redis, and Sigstore, to drop the deprecated OpenPGP package from the CI dependency path
  • Updates TestParseRedisURLSentinel and TestParseRedisURLRejectsInvalid in redis_url_test.go so zero read and dial timeouts with duration units are now expected to be rejected by ParseRedisURL instead of parsing with defaults
  • Behavioral Change: ParseRedisURL now rejects zero read and dial timeouts; the test covering default-timeout parsing for zero values was removed

Macroscope summarized 95d5da0.

@silo-triage silo-triage Bot added the size/L 200–499 added + deleted lines (all files); change volume, not priority. label Nov 15, 2026
@coderabbitai

coderabbitai Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9c302a0e-601e-48e2-b752-cda273962db2
Commits

Reviewing files that changed from the base of the PR and between 229a719 and 95d5da0.

Files ignored due to path filters: 1

  • go.sum is excluded by !**/*.sum
Files selected for processing: 2

  • go.mod
  • internal/config/redis_url_test.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@silo-kody

silo-kody Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T02:44:34.498712Z 95d5da0 PR opened
🔒 Security Review ✅ Completed 2026-11-15T02:47:13.638979Z 95d5da0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@silo-triage silo-triage Bot added dependencies Pull requests that update a dependency file priority: P2 Limited scope, workaround exists, or polish labels Nov 15, 2026
@Quick104
Quick104 merged commit 4126597 into main Nov 15, 2026
18 checks passed
@Quick104
Quick104 deleted the fix/ci-failures-5 branch November 15, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file priority: P2 Limited scope, workaround exists, or polish size/L 200–499 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant