test(idris2): port 5 Deno + 1 JS test files to Idris2 (estate port 8/11)#61
Merged
Conversation
Full sweep of the panic-free TS test suite: - tests/unit/container_types_test.ts -> ContainerTypesTest (26/26) - tests/property/nickel_config_properties_test.ts -> NickelConfigPropertiesTest (15/15) - tests/aspect/security_test.ts -> SecurityAspectTest (16/16) - tests/property/layer_invariants_test.ts -> LayerInvariantsTest (27/27) - tests/e2e/container_lifecycle_test.ts -> ContainerLifecycleTest (7/7) - tests/stapeln.test.js -> StapelnTest (16/16) Total: 107 / 107 PASS under Idris2 0.8.0. Drives test runtime onto the same Test.Spec harness used across the estate (gossamer / boj-server / a2ml-showcase / awesome-nickel / format-registrations / julia-professional-registry / ubicity). Removes the Deno+Node dependency from the test path. Build: IDRIS2_PREFIX=... idris2 --build stapeln-tests.ipkg ./build/exec/stapeln-tests Refs the estate test-rollout campaign (8 of 11 panic-free repos now on Idris2; 3 unit-logic repos still need per-repo strategy review). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- tests/idris2/README.adoc — new: quickstart, module→source map, porting conventions, file index. - tests/README.md — points readers at the canonical Idris2 suite first; keeps the legacy Deno/Node docs for cross-check until the estate migration completes. - TEST-NEEDS.md — adds an "Idris2 (tests/idris2/)" section with the full 107-test counts per module. - .machine_readable/6a2/STATE.a2ml — last-updated bumped to 2026-05-20; session-history entry recording the port. Companion to 556065c. No code changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
🔍 Hypatia Security ScanFindings: 238 issues detected
View findings[
{
"reason": "Issue in quality.yml",
"type": "missing_workflow",
"file": "quality.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in security-policy.yml",
"type": "missing_workflow",
"file": "security-policy.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action denoland/setup-deno@v2 needs attention",
"type": "unpinned_action",
"file": "e2e.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action denoland/setup-deno@v2 needs attention",
"type": "unpinned_action",
"file": "e2e.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/stapeln/stapeln/container-stack/vordr/src/mcp-adapter/src/ipv6_bridge.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/stapeln/stapeln/container-stack/vordr/src/mcp-adapter/http-server.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/stapeln/stapeln/tests/unit/container_types_test.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/stapeln/stapeln/tests/aspect/security_test.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/stapeln/stapeln/tests/e2e/container_lifecycle_test.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
tests/idris2/, behindstapeln-tests.ipkgand the shared estateTest.Specharness.Module → source map
ContainerTypesTesttests/unit/container_types_test.tsNickelConfigPropertiesTesttests/property/nickel_config_properties_test.tsSecurityAspectTesttests/aspect/security_test.tsLayerInvariantsTesttests/property/layer_invariants_test.tsContainerLifecycleTesttests/e2e/container_lifecycle_test.tsStapelnTesttests/stapeln.test.jsContext
Estate test-rollout campaign, port 8 of 11. Companion repos already on Idris2: a2ml-showcase (#21), awesome-nickel (#19), format-registrations (#10), julia-professional-registry (#11), ubicity (#55 partial), gossamer.
Test plan
idris2 --build stapeln-tests.ipkg(Idris2 0.8.0) — clean build./build/exec/stapeln-tests—=== Total: 107 passed, 0 failed ===🤖 Generated with Claude Code