Add library upgrade smoke test mapping document#48949
Draft
sharon-fdm wants to merge 2 commits into
Draft
Conversation
Adds a new handbook page listing all direct external dependencies across every module in the repo (server, fleetctl, Orbit, tools, frontend), organized by functional area. Smoke test and risk columns are stubbed with TODO for follow-up work in #48943.
6 tasks
Define concrete smoke tests and risk levels for 21 libraries across the three highest-risk sections: - Database/SQL (11 libs): mysql driver, sqlx, goqu, sqlmw, mysqlerr, mymysql, sqlite3, pq, rdsmysql, otelsql, go-sqlmock - Redis/Caching (3 libs): redigo, redisc, go-cache - HTTP/Routing (7 libs): go-kit, gorilla/mux, gorilla/websocket, sockjs-go, throttled, realclientip, netbug Each entry includes numbered smoke test steps and a risk rating (Critical/High/Medium/Low). Section headers include guidance notes for reviewers. Part of #48943.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: Relates to #48943
Closes #48943
Checklist for submitter
changes/,orbit/changes/oree/fleetd-chrome/changes.N/A - internal handbook page, no user-visible changes.
Summary
Adds
handbook/engineering/library-upgrade-smoke-tests.md-- a comprehensive inventory of all ~353 direct external dependencies across every module in the repo, organized by functional area:go.mod) -- 182 deps across 22 categories (Cloud/AWS, HTTP, Database, Redis, MDM, Auth, SCIM, Vuln scanning, Osquery, Observability, NATS, etc.)package.jsondependencies) -- 49 depspackage.jsondevDependencies) -- ~60 deps (grouped)Each library entry has a Smoke tests and Risk column stubbed with
TODO. The next step (tracked in #48943) is to fill in the smoke tests by analyzing import usage and mapping each library to testable surface areas.Test plan
N/A -- documentation-only change, no code modifications.