RC-1
release-tag / release-image (push) Failing after 1m18s

This commit is contained in:
2026-08-10 05:48:55 +02:00
parent 4f0ac14c49
commit 005fd6ca51
52 changed files with 9020 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
package artifact
import _ "embed"
// styleReferenceJPEG is the bundled fallback style used for tasks that do not
// have their own uploaded style reference. In the RIFT v2.8 pipeline it is no
// longer used to define the global character identity: character_anchor.png is
// generated independently, while every card receives the global character
// anchor plus a task-specific (or this default) style reference.
//
//go:embed assets/style_reference.jpg
var styleReferenceJPEG []byte
// DefaultStyleReferenceJPEG returns a copy of the bundled fallback reference so
// the authenticated/admin and public task-style preview handlers can render the
// same fallback that the image worker will use.
func DefaultStyleReferenceJPEG() []byte {
out := make([]byte, len(styleReferenceJPEG))
copy(out, styleReferenceJPEG)
return out
}