upd/global#2
Open
SUNsung wants to merge 8 commits into
Open
Conversation
downgrade diagnostic emission to structured warn logs Emit zerolog warn entries alongside RaiseDiagnostic for the composer_name_collision and releases_truncated paths so operators see the conflicting key, component, and code without relying on diagnostic state alone. Add server test coverage for missing artifacts on existing versions returning 503 unavailable, and introduce the storeFor test helper.
serve dynamic OpenAPI spec from config Build the OpenAPI spec using runtime configuration instead of a static body: - pass depsObj.Config into newOpenAPISpec so the spec reflects actual server settings - add route and stconf dependencies for spec generation - switch to encoding/json with errors/fmt for spec marshaling and error handling
Harden ingest handling and release workflows Track deterministic ingest failures in SQLite and skip unchanged failing refs. Add per-host upstream rate limits and cap concurrent cache builds. Move maintenance, rebuild-cache, and self-test logic into mod/maintenance. Update brother sync, public mirror fallback, Atom/sitemap size caps, and CI/release workflows.
Accept tar record padding and add gzip padding cap: - rename archive test to cover record-padding acceptance - bound tar zero-block padding drained from gzip member via cGzipPaddingCap, treating larger or non-zero tails as abuse - wrap composer package handlers in cachedObj for ETag caching
show per-listener hashes on alternate download blocks Emit each host-sensitive archive block only with its own listener hashes instead of filtering out non-matching entries, so the alternate entry surfaces its own SHA variants. - resolve alternate entry via ctxObj.Alternate before iterating - build artifact entries with per-entry name, kind, size and hashes - gate rendering on listener match rather than skipping entries - update tests to assert alt downloads use the alt artifact SHA
Clean up comments and documentation Remove internal code comments and client-served comments. Refresh README and YAML/OpenAPI text for current CLI flags, routes, config validation, and verification behavior.
ship go.sum in release tag for buildable source archive The release source archive omits go.work and firststart, so a plain `go build` on the tag needs go.sum committed. Force-add it alongside target and tmp, and document why in the workflow.
replace hot-read verify gating with invalid-file discard - Remove shouldVerifyHotRead sampling/never/always branching in favor of explicit discardInvalidHotFile handling for rejected hot files - Route retained active files through pending-release deletion and transient shared files through cleanup on discard - Update storage tests to assert rejected shared hot files are closed and corrupt hot files are removed
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.
No description provided.