← Back to Pull requests

fix: linter SA1019 error that shows Go stdlib deprecations #4218

Merged
szuecs merged 7 files (62 lines) on Aug 24, 2026 18:35 UTC
View on GitHub
szuecs szuecs commented on Aug 24, 2026 17:37 UTC
Author

We have net package error.Temporary in use, which is the last we need to get rid of

Diff: 62 lines (+45 / -17) across 7 files Reviewer: MustafaSaber Review duration: 58m
All Vouch review confidence checks passed
Residual risk 0.06 = Change Risk (0.37) × (1 − Review Confidence (0.83)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 62 lines diff across 7 files
0.37
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.74 · 3 substantive comment(s)
0.74
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
83%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.248
Real PR Conversation Timeline
5 items
MustafaSaber MustafaSaber approved these changes on Aug 24, 2026 17:40 UTC
Approved Reviewer

Approved these changes.

szuecs szuecs commented on Aug 24, 2026 18:35 UTC
Author

:+1:

AlexanderYastrebov AlexanderYastrebov commented on code on Aug 25, 2026 15:35 UTC
Code Review
config/config.go:1
@@ -1250,6 +1248,11 @@ func (c *Config) ToOptions() skipper.Options {
 		options.EditRoute = append(options.EditRoute, eskipEdit)
 	}
 
+	if c.MetricsListener != "" && c.SupportListener == "" {
+		log.Warn("Deprecated use of -metrics-listener found, please use -support-listener instead")

I remember I did https://github.com/zalando/skipper/pull/1807 to log deprecated flags. Maybe it could be improved to detect deprecated flags from the Deprecated marker in the flag description...

szuecs szuecs commented on code on Aug 25, 2026 19:06 UTC
Code Review
config/config.go:1
@@ -1250,6 +1248,11 @@ func (c *Config) ToOptions() skipper.Options {
 		options.EditRoute = append(options.EditRoute, eskipEdit)
 	}
 
+	if c.MetricsListener != "" && c.SupportListener == "" {
+		log.Warn("Deprecated use of -metrics-listener found, please use -support-listener instead")

interesting, but it does not support library users, but maybe we should somehow support this, too.
But on the other hand if I don't remember than maybe it does not make sense to have it generic.

Reviewers
Assignees
szuecs szuecs
Labels
risk: low confidence: 83.1% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 36.6% (MEDIUM) · Higher = larger blast radius
36.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 83.1% · Lower = rushed or shallow review
83.1%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 6.2% · Safe to merge
6.2%