Repository navigation
feat: link 3,310 CPUs to their socket record - #442
Merged
Merged
Conversation
A CPU's socket is free text as the source wrote it ("LGA 1700", "FCLGA1700", "Socket AM4"), so it cannot be joined to the socket records. The optional socket_slug carries the link: when set it must be the slug of an existing socket. The socket text is not touched.
socket_slug is set where the CPU's socket text names exactly one socket record by its name, slug or an alias, allowing for spelling (LGA1700, FCLGA1700, Socket AM4, AM4) and a PGA package whose pin count only one socket has (FCPGA946, PPGA604). The socket text itself is unchanged. Left unlinked: revisions that share a base socket record (LGA1151v2, S1g2, FS1r2), BGA packages and modules, texts naming several sockets, 478-pin and 988-pin PGA packages that fit more than one socket, a bare 940, sockets without a record (LGA 2011-1, SP7, SP8, sWRX90) and CPUs of another maker than the socket's. Slot B, PAC418, PAC611 and LGA 1248 come from the second table of the Wikipedia CPU socket article and are unverified.
This was referenced Nov 27, 2026
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.
What
Pins TechEngine
c625de4(GetTechAPI/TechEngine#145, #146) and links CPUs to their socket record.Rule (bundled validator matches the engine)
A CPU may carry
socket_slug, which must be the slug of a socket record. The free-textsocketfield is unchanged. The API serves the field and filters the CPU list with?socket_slug=.Data
socket_slugis set where the text names exactly one socket record by name, slug or alias, allowing for spelling (LGA1700,FCLGA1700,Socket AM4,AM4) and for a PGA package whose pin count only one socket has. Each CPU file gains that one line.socketis now 82.Left unlinked
AM2+/AM3, a bare940).The pin also brings the verification tools merged in TechEngine #144 and #146.
Checks
python3 -m app.validate, TechEngineapp.validate --changed-since origin/developandintegrity_check.py ../data --strictpass with the new pin.Refs #295, #297