What I'm saying is read the fine print in your truck's warranty. GM warranties various parts of the vehicle for various amounts of time or miles. When they replace a part, it does not reset the warranty. ln some cases, when your vehicle is near the warranty ending, GM will extend the warranty on that specific part, but it will not equal the original warranty.
So in the hypothetical case of replacing an engine with 99,998 miles, the replacement engine will come with a warranty, but it won't be 5 years, 100,000 miles. Probably 2 years, 24,000 - but I'm not sure on that exact number.
REP: the verbiage you are quoting is in the event you walked into a dealer and bought an engine, not when a dealer replaces one under a warranty claim. Nor do l believe that amount of mileage coverage is still offered. A new vehicle comes with a 60k engine warranty, so it's doubtful GM would sell the same engine but warranty it for 100k instead. Unless you're talking kilometers instead of miles since 60k miles is pretty close to 100k kilometers. If l recall properly, these engines have 3 year 36k warranty, but l would have to check to be sure.
Lastly, do not believe what a service rep may tell you unless it's written on paper. Verbal promises aren't worth the paper they're written on.