Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 46s
Every .sxbc shipped with `:bytecode (nil nil ...)` and `:arity nil`, so the WASM
kernel's vm.sx hit "VM: unknown opcode 0" on every module and fell back to .sx
source (slower, noisy console). Root cause: `raw_serialize` in the `compile-blob`
command (sx_server.ml) handles `Number` but not `Integer`, and bytecode opcodes +
arity/upvalue-count are `Integer`s — so they fell through to the `_ -> "nil"`
catch-all and serialized as nil. Same class of bug as the value_to_js Integer gap
(689dae7d). It went unnoticed because source-fallback masks it. Add the Integer
case and regenerate: the web stack now loads entirely from bytecode (0 unknown-
opcode warnings, 0 source fallbacks), boost + SPA unchanged. compiler.sx in the
bundle was also stale — re-synced to the canonical lib/compiler.sx.
Verified: native host conformance 271/271; chromium boots with 0 unknown-opcode
warnings + 0 source-fallback loads; spa-check still passes (boost 6/6, fragment
swap). Prereq for content-addressing the assets (caching real bytecode, not nil).
4 lines
10 KiB
Plaintext
4 lines
10 KiB
Plaintext
(sxbc 1 "dccd45d53305a4be"
|
|
(code
|
|
:constants ("special-form-category-map" "defmacro" "Functions & Components" "for-each" "Higher-Order Forms" "defpage" "Domain Definitions" "let" "Binding" "filter" "shift" "Continuations" "and" "Control Flow" "set!" "map-indexed" "dynamic-wind" "Guards" "reduce" "cond" "defquery" "->" "Sequencing & Threading" "let*" "define" "reset" "case" "do" "map" "some" "letrec" "if" "quote" "Quoting" "every?" "defhandler" "fn" "defstyle" "lambda" "defaction" "or" "defcomp" "quasiquote" "when" "begin" "extract-define-kwargs" {:upvalue-count 0 :arity 1 :constants (2 "slice" {:upvalue-count 3 :arity 1 :constants (1 "nth" "type-of" "keyword" "keyword-name" "list" "(" " " "serialize" "map" "join" ")" "str" "dict-set!") :bytecode (16 0 1 0 0 160 18 0 165 6 33 17 0 5 18 1 16 0 52 1 0 2 52 2 0 1 1 3 0 164 33 87 0 18 1 16 0 52 1 0 2 52 4 0 1 17 1 18 1 16 0 1 0 0 160 52 1 0 2 17 2 18 2 16 1 16 2 52 2 0 1 1 5 0 164 33 29 0 1 6 0 1 7 0 20 8 0 16 2 52 9 0 2 52 10 0 2 1 11 0 52 12 0 3 32 6 0 16 2 52 12 0 1 52 13 0 3 32 1 0 2 50)} 0 "range" "for-each") :bytecode (65 0 0 17 1 16 0 1 0 0 52 1 0 2 17 2 16 2 168 17 3 51 2 0 1 3 1 2 1 1 1 3 0 16 3 52 4 0 2 52 5 0 2 5 16 1 50)} "categorize-special-forms" {:upvalue-count 0 :arity 1 :constants ({:upvalue-count 1 :arity 1 :constants ("type-of" "list" 2 ">=" "symbol" "symbol-name" "define-special-form" 1 "nth" "extract-define-kwargs" "category" "get" "special-form-category-map" "Other" "has-key?" "dict-set!" "doc" "" "example" "tail-position" "syntax" "name" "append!") :bytecode (16 0 52 0 0 1 1 1 0 164 6 33 43 0 5 16 0 168 1 2 0 52 3 0 2 6 33 28 0 5 16 0 169 52 0 0 1 1 4 0 164 6 33 12 0 5 16 0 169 52 5 0 1 1 6 0 164 33 185 0 16 0 1 7 0 52 8 0 2 17 1 20 9 0 16 0 48 1 17 2 16 2 1 10 0 52 11 0 2 6 34 18 0 5 20 12 0 16 1 52 11 0 2 6 34 4 0 5 1 13 0 17 3 18 0 16 3 52 14 0 2 167 33 15 0 18 0 16 3 52 1 0 0 52 15 0 3 32 1 0 2 5 18 0 16 3 52 11 0 2 1 16 0 16 2 1 16 0 52 11 0 2 6 34 4 0 5 1 17 0 1 18 0 16 2 1 18 0 52 11 0 2 6 34 4 0 5 1 17 0 1 19 0 16 2 1 19 0 52 11 0 2 6 34 4 0 5 1 17 0 1 20 0 16 2 1 20 0 52 11 0 2 6 34 4 0 5 1 17 0 1 21 0 16 1 65 5 0 52 22 0 2 32 1 0 2 50)} "for-each") :bytecode (65 0 0 17 1 51 0 0 1 1 16 0 52 1 0 2 5 16 1 50)} "build-ref-items-with-href" {:upvalue-count 0 :arity 4 :constants ({:upvalue-count 3 :arity 1 :constants (3 0 "nth" 1 2 "href" {:upvalue-count 1 :arity 1 :constants () :bytecode (16 0 18 0 164 50)} "some" "str" "exists" "desc" "name") :bytecode (18 0 1 0 0 164 33 90 0 16 0 1 1 0 52 2 0 2 17 1 16 0 1 3 0 52 2 0 2 17 2 16 0 1 4 0 52 2 0 2 17 3 1 5 0 16 3 6 33 12 0 5 51 6 0 1 1 18 1 52 7 0 2 33 11 0 18 2 16 1 52 8 0 2 32 1 0 2 1 9 0 16 3 1 10 0 16 2 1 11 0 16 1 65 4 0 32 64 0 16 0 1 1 0 52 2 0 2 17 1 16 0 1 3 0 52 2 0 2 17 2 1 5 0 51 6 0 1 1 18 1 52 7 0 2 33 11 0 18 2 16 1 52 8 0 2 32 1 0 2 1 10 0 16 2 1 11 0 16 1 65 3 0 50)} "map") :bytecode (51 0 0 1 3 1 2 1 1 16 0 52 1 0 2 50)} "build-reference-data" {:upvalue-count 0 :arity 3 :constants ("attributes" "=" "req-attrs" "build-ref-items-with-href" "get" "/geography/hypermedia/reference/attributes/" 3 "beh-attrs" "uniq-attrs" "headers" "req-headers" "/geography/hypermedia/reference/headers/" "resp-headers" "events" "events-list" "/geography/hypermedia/reference/events/" 2 "js-api" "js-api-list" {:upvalue-count 0 :arity 1 :constants ("desc" 1 "nth" "name" 0) :bytecode (1 0 0 16 0 1 1 0 52 2 0 2 1 3 0 16 0 1 4 0 52 2 0 2 65 2 0 50)} "map") :bytecode (16 0 6 1 0 0 52 1 0 2 33 82 0 5 1 2 0 20 3 0 16 1 1 2 0 52 4 0 2 1 5 0 16 2 1 6 0 48 4 1 7 0 20 3 0 16 1 1 7 0 52 4 0 2 1 5 0 16 2 1 6 0 48 4 1 8 0 20 3 0 16 1 1 8 0 52 4 0 2 1 5 0 16 2 1 6 0 48 4 65 3 0 32 227 0 6 1 9 0 52 1 0 2 33 57 0 5 1 10 0 20 3 0 16 1 1 10 0 52 4 0 2 1 11 0 16 2 1 6 0 48 4 1 12 0 20 3 0 16 1 1 12 0 52 4 0 2 1 11 0 16 2 1 6 0 48 4 65 2 0 32 159 0 6 1 13 0 52 1 0 2 33 32 0 5 1 14 0 20 3 0 16 1 1 14 0 52 4 0 2 1 15 0 16 2 1 16 0 48 4 65 1 0 32 116 0 6 1 17 0 52 1 0 2 33 26 0 5 1 18 0 51 19 0 16 1 1 18 0 52 4 0 2 52 20 0 2 65 1 0 32 79 0 5 1 2 0 20 3 0 16 1 1 2 0 52 4 0 2 1 5 0 16 2 1 6 0 48 4 1 7 0 20 3 0 16 1 1 7 0 52 4 0 2 1 5 0 16 2 1 6 0 48 4 1 8 0 20 3 0 16 1 1 8 0 52 4 0 2 1 5 0 16 2 1 6 0 48 4 65 3 0 50)} "build-attr-detail" {:upvalue-count 0 :arity 2 :constants ("nil?" "attr-not-found" "attr-handler" "handler" "get" "attr-title" "attr-example" "example" "attr-description" "description" "attr-demo" "demo" "attr-wire-id" "has-key?" "ref-wire-" ":" "-" "replace" "*" "star" "str") :bytecode (16 1 52 0 0 1 33 10 0 1 1 0 3 65 1 0 32 108 0 1 2 0 16 1 1 3 0 52 4 0 2 1 5 0 16 0 1 6 0 16 1 1 7 0 52 4 0 2 1 1 0 2 1 8 0 16 1 1 9 0 52 4 0 2 1 10 0 16 1 1 11 0 52 4 0 2 1 12 0 16 1 1 3 0 52 13 0 2 33 32 0 1 14 0 16 0 1 15 0 1 16 0 52 17 0 3 1 18 0 1 19 0 52 17 0 3 52 20 0 2 32 1 0 2 65 7 0 50)} "build-header-detail" {:upvalue-count 0 :arity 2 :constants ("nil?" "header-not-found" "header-description" "description" "get" "header-demo" "demo" "header-title" "header-example" "example" "header-direction" "direction") :bytecode (16 1 52 0 0 1 33 10 0 1 1 0 3 65 1 0 32 60 0 1 2 0 16 1 1 3 0 52 4 0 2 1 5 0 16 1 1 6 0 52 4 0 2 1 1 0 2 1 7 0 16 0 1 8 0 16 1 1 9 0 52 4 0 2 1 10 0 16 1 1 11 0 52 4 0 2 65 6 0 50)} "build-event-detail" {:upvalue-count 0 :arity 2 :constants ("nil?" "event-not-found" "event-example" "example" "get" "event-demo" "demo" "event-description" "description" "event-title") :bytecode (16 1 52 0 0 1 33 10 0 1 1 0 3 65 1 0 32 48 0 1 2 0 16 1 1 3 0 52 4 0 2 1 5 0 16 1 1 6 0 52 4 0 2 1 7 0 16 1 1 8 0 52 4 0 2 1 1 0 2 1 9 0 16 0 65 5 0 50)} "build-component-source" {:upvalue-count 0 :arity 1 :constants ("type" "get" "name" "params" "has-children" "body-sx" "affinity" "not-found" ";; component " " not found" "str" "empty?" "&rest" "children" "list" "&key" "append" "(" " " "join" ")" "island" "defisland" "defcomp" "component" "nil?" "auto" " :affinity " "" "\n ") :bytecode (16 0 1 0 0 52 1 0 2 17 1 16 0 1 2 0 52 1 0 2 17 2 16 0 1 3 0 52 1 0 2 17 3 16 0 1 4 0 52 1 0 2 17 4 16 0 1 5 0 52 1 0 2 17 5 16 0 1 6 0 52 1 0 2 17 6 16 1 1 7 0 164 33 15 0 1 8 0 16 2 1 9 0 52 10 0 3 32 190 0 16 3 52 11 0 1 33 25 0 16 4 33 13 0 1 12 0 1 13 0 52 14 0 2 32 4 0 52 14 0 0 32 34 0 16 4 33 23 0 1 15 0 16 3 172 1 12 0 1 13 0 52 14 0 2 52 16 0 2 32 6 0 1 15 0 16 3 172 17 7 1 17 0 1 18 0 16 7 52 19 0 2 1 20 0 52 10 0 3 17 8 16 1 1 21 0 164 33 6 0 1 22 0 32 3 0 1 23 0 17 9 16 1 1 24 0 164 6 33 20 0 5 16 6 52 25 0 1 167 6 33 8 0 5 16 6 1 26 0 164 167 33 12 0 1 27 0 16 6 52 10 0 2 32 3 0 1 28 0 17 10 1 17 0 16 9 1 18 0 16 2 1 18 0 16 8 16 10 1 29 0 16 5 1 20 0 52 10 0 10 50)} "build-bundle-analysis" {:upvalue-count 0 :arity 6 :constants ("list" {:upvalue-count 3 :arity 1 :constants ("needed-names" "get" 0 100 "round" "list" {:upvalue-count 5 :arity 1 :constants ("get" "nil?" "is-pure" 1 {:upvalue-count 1 :arity 1 :constants ({:upvalue-count 1 :arity 1 :constants () :bytecode (16 0 18 0 164 50)} "some" "append!") :bytecode (51 0 0 1 0 18 0 52 1 0 2 167 33 11 0 18 0 16 0 52 2 0 2 32 1 0 2 50)} "io-refs" "list" "for-each" "render-target" "deps" "source" "name" "affinity" "append!") :bytecode (18 0 16 0 52 0 0 2 17 1 16 1 52 1 0 1 167 33 167 0 16 1 1 2 0 52 0 0 2 33 11 0 18 1 1 3 0 160 19 1 32 36 0 18 2 1 3 0 160 19 2 5 51 4 0 0 3 16 1 1 5 0 52 0 0 2 6 34 5 0 5 52 6 0 0 52 7 0 2 5 18 4 1 5 0 16 1 1 5 0 52 0 0 2 6 34 5 0 5 52 6 0 0 1 8 0 16 1 1 8 0 52 0 0 2 1 9 0 16 1 1 9 0 52 0 0 2 6 34 5 0 5 52 6 0 0 1 10 0 16 1 1 10 0 52 0 0 2 1 11 0 16 0 1 2 0 16 1 1 2 0 52 0 0 2 1 12 0 16 1 1 12 0 52 0 0 2 65 7 0 52 13 0 2 32 1 0 2 50)} "for-each" "pure-in-page" "io-refs" "direct" "needed" "io-in-page" "components" "savings" "pct" "path" "name" "append!") :bytecode (16 0 1 0 0 52 1 0 2 17 1 16 1 168 17 2 18 0 1 2 0 166 33 16 0 16 2 18 0 163 1 3 0 162 52 4 0 1 32 3 0 1 2 0 17 3 1 3 0 16 3 161 17 4 1 2 0 17 5 1 2 0 17 6 52 5 0 0 17 7 52 5 0 0 17 8 51 6 0 0 1 1 5 1 6 1 7 1 8 16 1 52 7 0 2 5 18 2 1 8 0 16 5 1 9 0 16 7 168 1 10 0 16 0 1 10 0 52 1 0 2 1 11 0 16 2 1 12 0 16 6 1 13 0 16 8 1 14 0 16 4 1 15 0 16 3 1 16 0 16 0 1 16 0 52 1 0 2 1 17 0 16 0 1 17 0 52 1 0 2 65 10 0 52 18 0 2 50)} "for-each" "total-macros" "pages" "io-count" "pure-count" "total-components") :bytecode (52 0 0 0 17 6 51 1 0 1 2 1 1 1 6 16 0 52 2 0 2 5 1 3 0 16 3 1 4 0 16 6 1 5 0 16 5 1 6 0 16 4 1 7 0 16 2 65 5 0 50)} "build-routing-analysis" {:upvalue-count 0 :arity 1 :constants ("list" 0 {:upvalue-count 3 :arity 1 :constants ("data" "get" "nil?" "content-src" "" "server" "Has :data expression — needs server IO" 1 "empty?" "No content expression" "client" "reason" "mode" "content-expr" 80 0 "slice" "..." "str" "has-data" "path" "name" "append!") :bytecode (16 0 1 0 0 52 1 0 2 52 2 0 1 167 17 1 16 0 1 3 0 52 1 0 2 6 34 4 0 5 1 4 0 17 2 2 17 3 1 4 0 17 4 16 1 33 23 0 1 5 0 17 3 5 1 6 0 17 4 5 18 0 1 7 0 160 19 0 32 46 0 16 2 52 8 0 1 33 23 0 1 5 0 17 3 5 1 9 0 17 4 5 18 0 1 7 0 160 19 0 32 14 0 1 10 0 17 3 5 18 1 1 7 0 160 19 1 5 18 2 1 11 0 16 4 1 12 0 16 3 1 13 0 16 2 168 1 14 0 166 33 22 0 16 2 1 15 0 1 14 0 52 16 0 3 1 17 0 52 18 0 2 32 2 0 16 2 1 19 0 16 1 1 20 0 16 0 1 20 0 52 1 0 2 1 21 0 16 0 1 21 0 52 1 0 2 65 6 0 52 22 0 2 50)} "for-each" "pages" "total-pages" "server-count" "client-count") :bytecode (52 0 0 0 17 1 1 1 0 17 2 1 1 0 17 3 51 2 0 1 3 1 2 1 1 16 0 52 3 0 2 5 1 4 0 16 1 1 5 0 16 2 16 3 160 1 6 0 16 3 1 7 0 16 2 65 4 0 50)} "build-affinity-analysis" {:upvalue-count 0 :arity 2 :constants ("components" "page-plans") :bytecode (1 0 0 16 0 1 1 0 16 1 65 2 0 50)} {:library (web page-helpers) :op "import"}) :bytecode (1 1 0 1 2 0 1 3 0 1 4 0 1 5 0 1 6 0 1 7 0 1 8 0 1 9 0 1 4 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 1 8 0 1 15 0 1 4 0 1 16 0 1 17 0 1 18 0 1 4 0 1 19 0 1 13 0 1 20 0 1 6 0 1 21 0 1 22 0 1 23 0 1 8 0 1 24 0 1 8 0 1 25 0 1 11 0 1 26 0 1 13 0 1 27 0 1 22 0 1 28 0 1 4 0 1 29 0 1 4 0 1 30 0 1 8 0 1 31 0 1 13 0 1 32 0 1 33 0 1 34 0 1 4 0 1 35 0 1 6 0 1 36 0 1 2 0 1 37 0 1 6 0 1 38 0 1 2 0 1 39 0 1 6 0 1 40 0 1 13 0 1 41 0 1 2 0 1 42 0 1 33 0 1 43 0 1 13 0 1 44 0 1 22 0 65 35 0 128 0 0 5 51 46 0 128 45 0 5 51 48 0 128 47 0 5 51 50 0 128 49 0 5 51 52 0 128 51 0 5 51 54 0 128 53 0 5 51 56 0 128 55 0 5 51 58 0 128 57 0 5 51 60 0 128 59 0 5 51 62 0 128 61 0 5 51 64 0 128 63 0 5 51 66 0 128 65 0 5 1 67 0 112 50)))
|