Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
e2db389
Repo migration
wallstop May 16, 2026
619e0bd
CI fixes?
wallstop May 16, 2026
a4fa6f2
CI fixes
wallstop May 17, 2026
d866f43
PR feedback
wallstop May 17, 2026
c1ce535
CI fixes
wallstop May 17, 2026
a366725
Update cspell
wallstop May 17, 2026
90b064d
CI fixes?
wallstop May 17, 2026
2468dc2
Git fixes
wallstop May 18, 2026
f50f5fc
GitHook fixes
wallstop May 18, 2026
156acf4
CI fixes
wallstop May 18, 2026
e8a423e
GitHook fixes
wallstop May 18, 2026
67b098f
Formatting
wallstop May 18, 2026
527a876
Even more GitHook fixes
wallstop May 18, 2026
dd9d363
CI fixes
wallstop May 19, 2026
6056ca0
CI fixes
wallstop May 19, 2026
62ff302
GitHook fixes
wallstop May 19, 2026
371a056
CI fixes
wallstop May 19, 2026
9c6656f
Update spelling
wallstop May 19, 2026
1435cd9
GitHook fixes
wallstop May 20, 2026
05f6dcf
CI fixes
wallstop May 20, 2026
33ab078
CI fixes
wallstop May 20, 2026
2b78765
CI fixes
wallstop May 20, 2026
f272764
Cool new build speed
wallstop May 20, 2026
912cc9b
Fix spelling
wallstop May 20, 2026
4610211
CI fixes
wallstop May 21, 2026
c78c39f
CI fixes
wallstop May 21, 2026
2a8006f
PR feedback
wallstop May 21, 2026
5d44ac7
License tech upgrades
wallstop May 22, 2026
9b722dc
CI fixes
wallstop May 22, 2026
80849d4
GitHook fixes
wallstop May 22, 2026
1439311
GitHook fixes
wallstop May 23, 2026
a2dac98
Even more GitHook fixes?
wallstop May 23, 2026
ec0b3bc
CI fixes
wallstop May 23, 2026
e43d959
CI fixes
wallstop May 23, 2026
6e16e8d
CI fixes
wallstop May 23, 2026
8dfecac
CI fixes
wallstop May 24, 2026
5807e4d
PR feedback
wallstop May 24, 2026
8984e1b
CI fixes
wallstop May 24, 2026
500e560
Update spelling
wallstop May 24, 2026
d8e74d1
CI fixes
wallstop May 24, 2026
c4e6d9d
Update spelling
wallstop May 24, 2026
8f26407
CI fixes?
wallstop May 25, 2026
5630cb4
Even more CI fixes
wallstop May 25, 2026
1ce2362
CI fixes?
wallstop May 25, 2026
36e6266
GitHook fixes
wallstop May 25, 2026
be7278a
More robust Unity installation
wallstop May 26, 2026
b4dd2c3
Bootstrap CI
wallstop May 26, 2026
13d866e
Updated CI
wallstop May 26, 2026
c5d33cb
Runner fixes
wallstop May 26, 2026
9698918
GitHook fixes
wallstop May 27, 2026
7fb9e0d
GitHook fixes
wallstop May 27, 2026
f393715
Fix spelling
wallstop May 27, 2026
243e3ac
More progress
wallstop May 27, 2026
fdc5b11
Update dlls
wallstop May 28, 2026
8339cec
More CI fixes
wallstop May 28, 2026
71c978f
Potential CI fixes
wallstop May 30, 2026
716f9fb
GitHook fixes
wallstop May 30, 2026
5899f07
CI fixes
wallstop May 30, 2026
9ab6e28
GitHook fixes
wallstop May 30, 2026
4cd1062
Potential CI fixes
wallstop May 31, 2026
fde1e1a
NPM fixes
wallstop May 31, 2026
97dd630
Rework perf auto-run + auto-update-markdown (fix adversarial findings)
wallstop May 31, 2026
85e0df6
CI fixes: verify action, 2021 analyzer deps, standalone test guard, 6…
wallstop May 31, 2026
f5e345a
WIP checkpoint: CI failure-class fixes (analyzer dup, log-flood, perf…
wallstop May 31, 2026
07c8e68
Re-apply adversarial-review fixes (standalone timeout-honors-file, pe…
wallstop May 31, 2026
6aeb1f3
Update workflow-shape test for new perf shape (push trigger, comment …
wallstop Jun 1, 2026
b15477f
Fix stale 'commit onto PR branch' prose in 6 files; defensive stale-r…
wallstop Jun 1, 2026
822bfc4
Update skills
wallstop Jun 1, 2026
fd3d484
GitHook fixes
wallstop Jun 1, 2026
15684fc
Potential CI fixes
wallstop Jun 1, 2026
8c28cf5
CI fixes
wallstop Jun 1, 2026
ac8725d
IL2CPP fixes
wallstop Jun 2, 2026
885d91e
Deterministic dll builds
wallstop Jun 2, 2026
4120bbf
Formatting
wallstop Jun 2, 2026
98b7da1
Formatting
wallstop Jun 2, 2026
76cedab
PR feedback
wallstop Jun 3, 2026
9160a30
CI fixes
wallstop Jun 3, 2026
42f8763
PR feedback
wallstop Jun 3, 2026
88d3b1c
PR feedback
wallstop Jun 3, 2026
a6f5a36
Merge remote-tracking branch 'origin/master' into dev/wallstop/swap
wallstop Jun 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/scripts/hooks/preflight-before-push-guard.js\""
}
]
}
],
"PostToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/scripts/hooks/yaml-line-length-guard.js\""
},
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/scripts/hooks/post-edit-validate-guard.js\""
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/scripts/hooks/preflight-on-stop.js\""
}
]
}
]
}
}
96 changes: 95 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
".gitattributes",
".vale/styles/Vocab/**/reject.txt",
"*.meta",
"**/*.asset",
"Samples~/**",
"package-lock.json",
"**/packages-lock.json",
"Library/**",
"**/Library/**",
"Temp/**",
"Logs/**",
"obj/**",
Expand All @@ -39,10 +41,29 @@
"words": [
"DxMessaging",
"dxmessaging",
"DxUnsafe",
"UnsafeUtility",
"greppable",
"hermeticity",
"HKLM",
"Interp",
"intree",
"msvc",
"napi",
"choco",
"cygdrive",
"MSYS",
"noconfirm",
"nohup",
"unrs",
"jestrc",
"metas",
"mtimes",
"mvid",
"nofilter",
"relitigate",
"reparented",
"reparents",
"DDOL",
"Reemit",
"reemit",
Expand All @@ -56,6 +77,7 @@
"untargeted",
"UNTARGETED",
"dereg",
"dxgi",
"retarget",
"Retarget",
"Retargets",
Expand Down Expand Up @@ -139,10 +161,15 @@
"PROCS",
"tokei",
"TOKEI",
"TOCTOU",
"UAF",
"CWE",
"venv",
"ifne",
"nographics",
"batchmode",
"emcc",
"Emscripten",
"shellcheck",
"actionlint",
"csharpier",
Expand Down Expand Up @@ -202,6 +229,12 @@
"PTVS",
"ACMR",
"regen",
"regenerable",
"refixed",
"EPERM",
"EBUSY",
"EACCES",
"ENOTDIR",
"conv",
"Hspec",
"Pspec",
Expand Down Expand Up @@ -246,6 +279,7 @@
"Ldstr",
"materialised",
"misaligning",
"mojibake",
"monomorphization",
"normalise",
"Normalise",
Expand All @@ -254,6 +288,7 @@
"recognised",
"recompiles",
"reentrancy",
"preflight",
"serialisable",
"unconfigured",
"unrecognised",
Expand All @@ -270,7 +305,66 @@
"integ",
"Integ",
"jlumbroso",
"kubepods"
"kubepods",
"unanalyzable",
"rprivate",
"unblanked",
"GHAEXPR",
"pscustomobject",
"gameci",
"abfp",
"programw",
"commonprogramw",
"strs",
"incomment",
"vcredist",
"VCRedist",
"VCRUNTIME",
"VCRuntime",
"vcruntime",
"msvcp",
"MSVCP",
"MSVCP100",
"MSVCR100",
"msvcr",
"MSVCR",
"vcmodern",
"Redistributables",
"redistributables",
"redists",
"UCRT",
"Ucrt",
"ucrt",
"redist",
"Redist",
"prereq",
"Prereq",
"prereqs",
"Prereqs",
"NTSTATUS",
"Cmdletization",
"CUDA",
"DISM",
"HRESULT",
"HRESULTs",
"IATRVA",
"PSNCUEAP",
"eventvwr",
"reimage",
"reimaging",
"nirsoft",
"dllme",
"psnc",
"libfbxsdk",
"ispc",
"ntdll",
"optix",
"tcompress",
"ucrtbase",
"gflags",
"Dbgview",
"Ldrp",
"tiledatamodelsvc"
],
"ignoreRegExpList": [
"/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/g",
Expand Down
8 changes: 5 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FROM mcr.microsoft.com/devcontainers/dotnet:1-9.0-bookworm
ARG TARGETARCH=amd64

# Container labels
LABEL org.opencontainers.image.source="https://github.com/wallstop/DxMessaging"
LABEL org.opencontainers.image.source="https://github.com/Ambiguous-Interactive/DxMessaging"
LABEL org.opencontainers.image.description="DxMessaging development container"
LABEL org.opencontainers.image.licenses="MIT"
LABEL unity.support="docker-outside-of-docker"
Expand Down Expand Up @@ -417,16 +417,18 @@ RUN git config --system core.longpaths true \
# correct ownership ensures the vscode user owns them on first run; rebuilds
# of an existing volume are repaired by post-create.sh / post-start.sh.
#
# Targets here MUST stay aligned with cache-contract.sh (4 entries).
# Targets here MUST stay aligned with cache-contract.sh (5 entries).
# ------------------------------------------------------------------------------
RUN mkdir -p /home/vscode/.nuget \
&& mkdir -p /home/vscode/.dotnet/tools \
&& mkdir -p /home/vscode/.local/share/powershell \
&& mkdir -p /home/vscode/.cache/pip \
&& mkdir -p /workspaces/com.wallstop-studios.dxmessaging/node_modules \
Comment thread
cursor[bot] marked this conversation as resolved.
Resolved
&& chown -R vscode:vscode /home/vscode/.nuget \
&& chown -R vscode:vscode /home/vscode/.dotnet \
&& chown -R vscode:vscode /home/vscode/.local \
&& chown -R vscode:vscode /home/vscode/.cache
&& chown -R vscode:vscode /home/vscode/.cache \
&& chown -R vscode:vscode /workspaces

# ------------------------------------------------------------------------------
# Configure shell aliases for bash
Expand Down
43 changes: 43 additions & 0 deletions .devcontainer/cache-contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# 2. dxm-dotnet-tools -> Global dotnet tools (csharpier, etc.)
# 3. dxm-powershell-modules -> PowerShell module cache
# 4. dxm-python-cache -> pip wheel/download cache
# 5. dxm-node-modules -> Linux devcontainer node_modules tree
#
# Unity Library caches are owned by scripts/unity/run-tests.sh and
# scripts/unity/run-tests.ps1 because they must be keyed by Unity image tag and
Expand All @@ -21,18 +22,50 @@
[[ "${_DXM_CACHE_CONTRACT_LOADED:-}" == "1" ]] && return 0
_DXM_CACHE_CONTRACT_LOADED=1

# Workspace root resolution. Prefer the explicit WORKSPACE_FOLDER (set by
# devcontainer.json remoteEnv == ${containerWorkspaceFolder}). When it is unset
# -- e.g. during postCreateCommand, which runs BEFORE remoteEnv is applied --
# derive it from THIS script's own location: cache-contract.sh lives in
# <workspaceRoot>/.devcontainer/, so the parent of its directory is the
# workspace root and equals ${containerWorkspaceFolder} by construction. This is
# robust to repo path/name migration; never hardcode an absolute fallback (a
# stale literal silently diverges from the real mount target). Enforced by
# scripts/__tests__/devcontainer-cache-contract.test.js.
CACHE_WORKSPACE_ROOT="${WORKSPACE_FOLDER:-}"
if [[ -z "${CACHE_WORKSPACE_ROOT}" ]]; then
# ${BASH_SOURCE[0]:?...} fails LOUDLY rather than deriving a wrong root from
# the caller's CWD if this file is ever sourced without a resolvable path
# (every real consumer sources by absolute path, so this never trips). Never
# silently default to a permissive/incorrect path.
#
# Normalize backslashes to forward slashes BEFORE deriving the directory.
# GNU `dirname` splits only on `/`, so a Windows-native BASH_SOURCE path
# (`D:\repo\.devcontainer\cache-contract.sh`, as produced when a Windows
# bash flavor is handed a native path) would yield `.` and then resolve the
# WRONG root relative to the shell CWD. `cd` accepts the forward-slash form
# on every bash flavor (Git-Bash/MSYS/Cygwin/WSL), so normalizing first is
# robust everywhere; on Linux/macOS the substitution is a no-op.
_dxm_cache_contract_source="${BASH_SOURCE[0]:?cache-contract.sh must be sourced by path so the workspace root can be derived}"
_dxm_cache_contract_source="${_dxm_cache_contract_source//\\//}"
CACHE_WORKSPACE_ROOT="$(cd -- "$(dirname -- "${_dxm_cache_contract_source}")/.." && pwd)"
unset _dxm_cache_contract_source
fi
readonly CACHE_WORKSPACE_ROOT

readonly CACHE_MOUNT_SOURCES=(
"dxm-nuget-cache"
"dxm-dotnet-tools"
"dxm-powershell-modules"
"dxm-python-cache"
"dxm-node-modules"
)

readonly CACHE_MOUNT_TARGETS=(
"/home/vscode/.nuget"
"/home/vscode/.dotnet/tools"
"/home/vscode/.local/share/powershell"
"/home/vscode/.cache/pip"
"${CACHE_WORKSPACE_ROOT}/node_modules"
)

cache_contract_validate_shape() {
Expand All @@ -45,6 +78,16 @@ cache_contract_validate_shape() {
return 0
}

# Emit a one-line diagnostic describing how CACHE_WORKSPACE_ROOT was resolved.
# Consumers (validate-caching.sh) call this explicitly; sourcing stays silent.
cache_contract_describe_workspace_root() {
if [[ -n "${WORKSPACE_FOLDER:-}" ]]; then
echo "CACHE_WORKSPACE_ROOT=${CACHE_WORKSPACE_ROOT} (from WORKSPACE_FOLDER env)"
else
echo "CACHE_WORKSPACE_ROOT=${CACHE_WORKSPACE_ROOT} (derived from script location; WORKSPACE_FOLDER unset)"
fi
}

cache_contract_get_owner_uid() {
local target="$1"
local owner_uid
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"source=dxm-nuget-cache,target=/home/vscode/.nuget,type=volume",
"source=dxm-dotnet-tools,target=/home/vscode/.dotnet/tools,type=volume",
"source=dxm-powershell-modules,target=/home/vscode/.local/share/powershell,type=volume",
"source=dxm-python-cache,target=/home/vscode/.cache/pip,type=volume"
"source=dxm-python-cache,target=/home/vscode/.cache/pip,type=volume",
"source=dxm-node-modules,target=${containerWorkspaceFolder}/node_modules,type=volume"
],
// -------------------------------------------------------------------------
// Container Environment
Expand Down
Loading
Loading