Repository navigation
Package checks, Source Link, Dependabot, SECURITY.md - #5
Merged
Merged
Conversation
…stic builds PgFreshCache.Lite now, like the PgOutput2Json packages: - tracks its public API with PublicApiAnalyzers, in PublicAPI.Shipped.txt (the API of 2.0.0-rc.1) and PublicAPI.Unshipped.txt (the optional sqliteOptionsAction of UseSqlite since then); a public change fails the build until it is listed - is validated against 2.0.0-rc.1 on nuget.org, and between its target frameworks (EnablePackageValidation) - publishes the repository URL and embeds untracked sources, so the symbols map to the commit with Source Link - builds deterministically in Release (ContinuousIntegrationBuild) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MHH4BHxqjhJ2E5wzZY15Tr
Major versions of NuGet packages are left to be done by hand (EF Core 9 must stay on net8.0/net9.0), and Microsoft.Extensions.Hosting.Abstractions stays at the lowest version for each target framework. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MHH4BHxqjhJ2E5wzZY15Tr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MHH4BHxqjhJ2E5wzZY15Tr
Like PgOutput2Json's: refuses a dirty working tree, warns when HEAD is not tagged v<version>, removes a stale package first, and asks for the API key without writing it anywhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MHH4BHxqjhJ2E5wzZY15Tr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MHH4BHxqjhJ2E5wzZY15Tr
enadzan
force-pushed
the
package-checks
branch
from
November 20, 2026 23:08
9b00701 to
5c80ab3
Compare
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.
Brings PgFreshCache in line with what PgOutput2Json added for package safety and repeatable builds.
Package (
PgFreshCache.Lite.csproj)PublicAPI.Shipped.txtholds the API of2.0.0-rc.1, generated from the tag.PublicAPI.Unshipped.txtholds the one change since then:UseSqlite's optionalsqliteOptionsAction. A public change now fails the build (RS0016/RS0017) until it's listed.2.0.0-rc.1on nuget.org, and its target frameworks with each other. To check it, I renamed a public method temporarily: the Release build failed on net8.0, net9.0 and net10.0./_/*toraw.githubusercontent.com/PgOutput2Json/PgFreshCache/<commit>/*, and the nuspec records the repository, branch and commit. No local paths leak into the PDB.ContinuousIntegrationBuild.Repository
Microsoft.Extensions.Hosting.Abstractionsstays at the lowest version for each target framework.SECURITY.md: private reports go through the Security tab. In scope: writes through the read-only cache context, SQL injection, a cache getting the wrong options, and leaked secrets. Out of scope: the cache holding a copy of the published data, and file cache permissions. Issues in the replication itself go to PgOutput2Json.publish.sh: builds the package in Release (so validation runs) and pushes it, like PgOutput2Json's. It refuses a dirty tree, warns when HEAD isn't taggedv<version>, and doesn't store the API key.AGENTS.md: commands, tests, and the package and release workflow: how to update the API lists, and when the baseline moves.Repository settings (already applied, matching PgOutput2Json)
Turned on: private vulnerability reporting (the target of
SECURITY.md), Dependabot security updates, secret scanning with push protection, and CodeQL default setup for actions and csharp. The defaultGITHUB_TOKENis now read-only, and Actions can no longer approve pull requests. A tag ruleset makesv*release tags impossible to move or delete, whichpublish.shand Source Link depend on.Testing
The Release build is clean, and all 35 tests pass on net8.0 and net10.0.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MHH4BHxqjhJ2E5wzZY15Tr