Skip to content

refactor(gorilla-merger): import coldpart from asap-gorilla-go, drop internal copy - #338

Merged
zzylol merged 1 commit into
mainfrom
feat/coldpart-shared-lib
May 25, 2026
Merged

zzylol merged 1 commit into
mainfrom
feat/coldpart-shared-lib

Conversation

@zzylol

@zzylol zzylol commented May 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Second of a two-PR change. Merge the ASAPCollector PR (ProjectASAP/ASAPCollector#439) FIRST — it adds asap-gorilla-go/coldpart, which this PR imports.

  • Re-points the merger's cold part store (coldpartstore.go) and decode-on-read query path (coldquery.go, plus the store test) at github.com/ProjectASAP/asap-gorilla-go/coldpart instead of the in-repo internal/coldpart.
  • Deletes gorilla-merger/internal/coldpart (now duplicated in the shared lib).
  • The replace github.com/ProjectASAP/asap-gorilla-go => ../../ASAPCollector/asap-gorilla-go is unchanged; coldpart now resolves from that sibling checkout.

The cold Part wire format and the /ingest/coldpart StoreAPI are byte-for-byte identical — this is a pure relocation so the edge agent (a different module) can also import the format and produce parts.

Test plan

🤖 Generated with Claude Code

…e internal copy

The cold "Part" format moved to the shared asap-gorilla-go/coldpart package so
the edge agent can produce parts too. Re-point the merger's cold part store and
decode-on-read query path at github.com/ProjectASAP/asap-gorilla-go/coldpart
(resolved via the existing replace to the sibling asap-gorilla-go checkout) and
delete the now-duplicate internal/coldpart package. No behavior change; the wire
format and StoreAPI are byte-for-byte identical.

Depends on the ASAPCollector change that adds asap-gorilla-go/coldpart; merge
that PR first.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol
zzylol merged commit 7f84f1e into main May 25, 2026
@zzylol
zzylol deleted the feat/coldpart-shared-lib branch July 17, 2026 20:05
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