|
Some checks failed
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 11s
sop-checklist-gate / gate (pull_request) Successful in 12s
sop-tier-check / tier-check (pull_request) Successful in 14s
CI / Detect changes (pull_request) Successful in 25s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 5s
CI / Canvas (Next.js) (pull_request) Successful in 6s
CI / Python Lint & Test (pull_request) Successful in 5s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
sop-checklist / all-items-acked (pull_request) bootstrap-ok: tier:low, pure test/fix PR
CI / Platform (Go) (pull_request) Failing after 4m27s
CI / all-required (pull_request) Successful in 9s
audit-force-merge / audit (pull_request) Successful in 13s
Adds three new test files covering untested pure helpers:
- workspace_crud_validators_test.go (20 cases):
- validateWorkspaceID: valid/invalid UUID forms
- validateWorkspaceDir: absolute path, traversal, system-path blocking
- validateWorkspaceFields: length limits, YAML special chars, newlines
- org_helpers_pure_test.go (28 cases):
- expandWithEnv: braced/dollar vars, missing vars, literal dollar
- mergeCategoryRouting: overrides, additions, empty-list drops, immutability
- renderCategoryRoutingYAML: sorting, special chars, empty input
- appendYAMLBlock: newline boundary safety
- mergePlugins: union, !/- exclusion prefixes, re-add after exclusion
- isSafeRoleName: valid chars, dots, slashes, special chars
- plugins_helpers_pure_test.go (11 cases):
- pluginInfo.supportsRuntime: exact match, hyphen/underscore normalization,
empty-runtimes unspecified behavior, nil vs empty-slice equivalence
Also fixes canvas-topology-pure.test.ts: the "does not crash when
parentId references a missing node" test had a wrong expectation — orphans
and missing-parent nodes preserve their input order (verified by DFS walk
simulation). Updated to expect ["orphan", "root"].
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| cmd | ||
| internal | ||
| migrations | ||
| pkg/provisionhook | ||
| .air.toml | ||
| .ci-force | ||
| .gitignore | ||
| .golangci.yaml | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| Dockerfile.tenant | ||
| entrypoint-tenant.sh | ||
| go.mod | ||
| go.sum | ||