[TT-17817] Keeping Tyk Dependencies Up To Date - Building The Alerting and Update Mechanism - #148
[TT-17817] Keeping Tyk Dependencies Up To Date - Building The Alerting and Update Mechanism#148buraksezer wants to merge 6 commits into
Conversation
|
This PR introduces a new, scheduled GitHub Action, "Dependency EoL Notifier," designed to proactively monitor dependency end-of-life (EoL) dates. It queries the The notifier is a self-contained Go application packaged as a composite GitHub Action. It runs daily and checks for two types of events:
To manage state, the action uses a Files Changed AnalysisThis PR is entirely additive, introducing 26 new files and over 3,700 lines of code to create the
Architecture & Impact Assessment
System FlowsequenceDiagram
participant GHA as GitHub Actions Runner
participant Git
participant EoL Notifier as eol-notifier Action
participant EoL API as endoflife.date API
participant Slack
GHA->>Git: Fetch state branch (eol-notifier-state)
GHA->>EoL Notifier: Execute with config and state.json
EoL Notifier->>EoL API: Fetch lifecycle data for each product
EoL API-->>EoL Notifier: Return product releases and dates
EoL Notifier->>EoL Notifier: Compare with state.json and thresholds
alt Has Alerts
EoL Notifier->>Slack: Post formatted digest message
Slack-->>EoL Notifier: Acknowledge message
EoL Notifier->>GHA: Write updated state.json
GHA->>Git: Commit and push new state to state branch
else No Alerts
EoL Notifier->>GHA: Exit without writing state
end
Scope Discovery & Context ExpansionThe impact of this PR is focused on the repository's developer and operational tooling. It establishes a new, automated process for dependency management that was previously manual.
Metadata
Powered by Visor from Probelabs Last updated: 2026-08-13T08:34:45.136Z | Triggered by: pr_updated | Commit: ed51f92 💡 TIP: You can chat with Visor using |
Architecture Issues (1)
Architecture Issues (1)
Quality Issues (1)
Powered by Visor from Probelabs Last updated: 2026-08-13T08:34:29.128Z | Triggered by: pr_updated | Commit: ed51f92 💡 TIP: You can chat with Visor using |
PR for https://tyktech.atlassian.net/browse/TT-17817
A scheduled job that reads the endoflife.date API and
posts one Slack message to a configured channel.
It sends two kinds of alert:
This tool only sends alerts. Adding or removing a version from a test matrix
still needs a manual PR.
How it works
Daily at 07:00 UTC, or by hand with
workflow_dispatch:state.jsonfrom theeol-notifier-statebranch.state.jsonback, but only if it changed.State management
To find a new version, the job needs to know what the last run saw. It keeps a
state.jsonthat maps each product slug to the versions the API listed.mainneeds a reviewed PR and the job cannot push there.Notes for reviewers
upstream_proxycovers GCP MemoryStore, GCP Cloud SQL and Azure DocumentDB, which endoflife.date does not track. They follow the upstream engine, and the message says the date must be confirmed with the provider.