Skip to content

Create auction releases from imported gifts with complete upgrade pools - #181

Merged
iamxvbaba merged 7 commits into
iamxvbaba:mainfrom
xirogram:codex/upstream-imported-gift-auctions
Nov 18, 2026
Merged

iamxvbaba merged 7 commits into
iamxvbaba:mainfrom
xirogram:codex/upstream-imported-gift-auctions

Conversation

@clockerka

@clockerka clockerka commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Operators can now select an imported gift when creating an auction, including disabled templates, instead of uploading its animation again. A new gift identity and its complete collectible pool are published atomically: models (including crafted rarities), patterns, backdrops and upgrade pricing are copied while the source's inventory and issued gifts stay intact.

The scrollable authoring dialog previews the selected gift and exposes release supply, bidding rounds, opening bid, upgrade price, released-by author, per-user limits, Premium/birthday flags and sort order. Dry-run fingerprints prevent confirming changed source assets/settings; stable execution IDs prevent duplicate submissions. New releases reserve a separate auction/collectible namespace. Custom round duration now survives PostgreSQL writes and catalog reloads.

Disabled gifts are hidden from the regular catalog, issuance and auction lists, and remain accessible through “All imported gifts”.

Official auction templates such as UFC Strike and Khabib’s Papakha retain their complete attribute pools when the snapshot has a zero upgrade fee. Explicit zero import overrides are preserved; omitted overrides inherit the snapshot price. Free upgrades use the same atomic issuance and replay protections as paid ones, while paid pools still require the exact locked price. Free saved gifts do not advertise paid sponsorship links. A paired migration permits zero fees and preserves purchase options in immutable command receipts.

Scheduled auctions also accept early bids and increases before their start date, while settlement still waits for the configured first-round deadline. PostgreSQL coverage checks reservation/replay, delta charging, insufficient-balance rollback, cancelled/finished rejection, the start transition, winner settlement and loser refunds.

Validation:

  • go test ./... -count=1, go vet ./...
  • Focused admin, BFF, API and translation tests after final form changes
  • PostgreSQL regressions for complete imported upgrade-pool copying, independent inventory and persisted round duration
  • PostgreSQL coverage for free direct/form minting, replay, paid-pool bypass rejection, existing paid lifecycle flows and import inventory
  • TypeScript/Vite production build; rebuilt embedded assets committed
  • Browser inspection of template selection, release settings and dialog scrolling

Copilot AI balanced review requested due to automatic review settings November 17, 2026 16:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@clockerka clockerka changed the title Create auctions from imported gifts with complete upgrade pools Create auction releases from imported gifts with complete upgrade pools Nov 17, 2026
@iamxvbaba
iamxvbaba merged commit 8c972be into iamxvbaba:main Nov 18, 2026
4 checks passed
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.

3 participants