You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No offline test holds RequireKernel as the first call of each registration #170
area/releaseVersioning, changelogs, release wiringpackage/postgresqlAffects CodoMetis.EFCore.SchemaKit.PostgreSQLseverity/lowCosmetic, message or documentation-level differencetestsAdds or changes tests only (harnesses, parity suites); no library code
Found by the pre-tag review of 948496a..0ee827d (the review for v11.0.0-preview.1).
SchemaKitPackages.RequireKernel (#113) is called first in both of the PostgreSQL package's registrations (SchemaKitNpgsqlExtensions.cs:33 and :64). Each call was taken out on its own:
From UseSchemaKit(): only the consumer smoke test's Mixed/ consumer notices, and that needs a PostgreSQL server. No offline test fails.
The NoInlining split that makes the check run before anything binds is also held only by Mixed/.
Suggested test
An offline test that reads the IL of each public registration method of every package under src/ (MethodBody.GetILAsByteArray and the tokens it calls). It asserts that the method's only call into the kernel is SchemaKitPackages.RequireKernel, and that the rest of the registration sits in a NoInlining method.
Does it block preview.1?
No. Both calls are there and right in 0ee827d; what is missing is the test that keeps them there. The release runs the smoke test by hand, and that covers the documented path.
area/releaseVersioning, changelogs, release wiringpackage/postgresqlAffects CodoMetis.EFCore.SchemaKit.PostgreSQLseverity/lowCosmetic, message or documentation-level differencetestsAdds or changes tests only (harnesses, parity suites); no library code
Activity