Skip to content

upd/global#2

Open
SUNsung wants to merge 8 commits into
mainfrom
upd/global
Open

upd/global#2
SUNsung wants to merge 8 commits into
mainfrom
upd/global

Conversation

@SUNsung

@SUNsung SUNsung commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

SUNsung added 3 commits July 5, 2026 06:18
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.
@SUNsung SUNsung self-assigned this Jul 9, 2026
SUNsung added 5 commits July 10, 2026 01:45
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant