Skip to content

feature: map assets are built for every seeded map and any other map some mode enables, so prophunt overlays are skipped - #648

Merged
lukepolo merged 1 commit into
mainfrom
feature/map-assets-enabled-maps
Oct 16, 2026
Merged

lukepolo merged 1 commit into
mainfrom
feature/map-assets-enabled-maps

Conversation

@lukepolo

@lukepolo lukepolo commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

The map-assets job built every row in maps, including the prophunt overlays (disabled in every mode, only loaded by public-server rotations) and soft-deleted maps. Builds run only on 5stack.gg and every instance reads them, so 5stack.gg's own mode toggles must not decide the seeded maps.

  • New maps.seeded column (migration); hasura/enums/maps.sql sets it on every mode row of a map it ships and clears it on maps it stops shipping
  • knownMaps builds seeded OR (enabled AND deleted_at IS NULL), and prefers an enabled row's workshop id
  • SQL tests pin the rule (a disabled seeded map is still built, a disabled custom map is not) and the seed's marking

@lukepolo
lukepolo force-pushed the feature/map-assets-enabled-maps branch from 65053b3 to 20970ee Compare October 16, 2026 16:45
@lukepolo lukepolo changed the title feature: map assets are only built for maps some mode has enabled, so prophunt overlays and deleted maps are skipped feature: map assets are built for every seeded map and any other map some mode enables, so prophunt overlays are skipped Oct 16, 2026
…some mode enables, so prophunt overlays are skipped
@lukepolo
lukepolo force-pushed the feature/map-assets-enabled-maps branch from 20970ee to 24d620c Compare October 16, 2026 16:51
@lukepolo
lukepolo merged commit 87fc08f into main Oct 16, 2026
7 checks passed
@lukepolo
lukepolo deleted the feature/map-assets-enabled-maps branch October 16, 2026 17:54
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