Repository navigation
Conversation
…s workflow - Dynamically detect ThreadSanitizer support in Taskfile.yml to avoid VMA range crashes on ARM64 Linux kernels while preserving -race on CI. - Add bin/ and node_modules/ to .gitignore. - Protect both master and main branches in .pre-commit-config.yml and use portable -short test flag. - Update .github/workflows/examples.yml to trigger on master and compile all examples directly from module root.
Contributor
|
👋 Thanks for opening this PR, @adcondev! Here's what will happen next:
Please make sure:
|
Contributor
⚡ Benchmark Results📈 Performance Comparison📊 Click to expand detailed resultsCurrent Branch ResultsBase Branch Results💡 Note: Use 🎯 Summary
|
…cure path validation - Resolve symlinks on baseAbs before joining target in SecureFilepath. - Use filepath.Rel for robust containment checking across operating systems. - Canonicalize tempDir in TestSecureFilepath to prevent false failures on macOS (/var -> /private/var) and Windows short paths.
Contributor
|
This pull request has been automatically marked as stale because it has not had recent activity. |
Contributor
|
This pull request has been automatically closed due to inactivity. |
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.
Overview
Housekeeping improvements to developer tooling, git hygiene, pre-commit configuration, and CI examples validation.
Key Changes
go test -race ./internal/calculate) sotask testandtask buildrun smoothly on ARM64 Linux kernels with 47-bit VMA while preserving-raceon 48-bit VMA and x86_64 CI runners.bin/andnode_modules/to avoid untracked build artifacts and optional npm tool caches.no-commit-to-mainhook in.pre-commit-config.ymlto protectmaster(the repository's default branch) as well asmain, and relaxed localgo-testshook from hardcoded-raceto portable-short..github/workflows/examples.ymlto trigger onmasterand build all examples withgo build -v ./examples/...directly from repository root instead of attempting invalid submodule downloads.Verification
task test: Passed (all packages tested with coverage)task lint: Passed (0 issues)task build: Passed (produces./bin/postercleanly)go build ./examples/...: Passed (all 9 examples compile cleanly)