Closed Bug 1599764 Opened 6 years ago Closed 5 years ago

Glinter: Warn if the expiry date is too far in the future

Categories

(Data Platform and Tools :: Glean: SDK, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chutten, Assigned: brizental)

Details

Attachments

(1 file)

The expires key can be a date in the Glean SDK. What if someone transposes some characters and asks for an expiry of "2200-05-01"?

I think we could do a quick bit of math and warn if any expiry date is more than, say, 24 months from now.

Summary: Glinter: Warn if the expiry date isn't too far in the future → Glinter: Warn if the expiry date is too far in the future
Priority: -- → P3
Whiteboard: [telemetry:glean-rs:m?]

(and maybe we should warn about expired metrics too, to incentivise a clean metrics.yaml?)

Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
Priority: P3 → P2
Whiteboard: [telemetry:glean-rs:backlog]
Assignee: nobody → mdroettboom
Assignee: mdroettboom → nobody
Assignee: nobody → brizental
Priority: P2 → P1
Attached file GitHub Pull Request
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: