naxodev
OSS
naxodev/oss
Sign in / Sign up
Open main menu
naxodev/oss
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Failed
feat/gonx-static-analysis-dependency-detection
8593782f feat(gonx): use static analysis as sole dependency strategy Why? ==== The go-runtime strategy required Go to be installed and a go.work file to function, making it unusable in CI environments or for frontend developers. The static-analysis strategy (tree-sitter) has no such requirements and produces equivalent results. Maintaining three strategies (go-runtime, static-analysis, auto) added complexity without meaningful benefit. How? ==== - Removed go-runtime strategy, auto strategy, and the dependencyStrategy option entirely - Made static analysis the only code path in createDependencies - Deleted all go-runtime utility files and associated types - Added unit tests for the static-analysis index module - Simplified e2e tests to remove strategy-specific describe blocks - Updated docs and README to reflect the single approach
9 days ago
by chadxz
c
Failed
feat/gonx-static-analysis-dependency-detection
986b837c feat(gonx): use static analysis as sole dependency strategy Why? ==== The go-runtime strategy required Go to be installed and a go.work file to function, making it unusable in CI environments or for frontend developers. The static-analysis strategy (tree-sitter) has no such requirements and produces equivalent results. Maintaining three strategies (go-runtime, static-analysis, auto) added complexity without meaningful benefit. How? ==== - Removed go-runtime strategy, auto strategy, and the dependencyStrategy option entirely - Made static analysis the only code path in createDependencies - Deleted all go-runtime utility files and associated types - Added unit tests for the static-analysis index module - Simplified e2e tests to remove strategy-specific describe blocks - Updated docs and README to reflect the single approach
21 days ago
by chadxz
c
Failed
feat/gonx-static-analysis-dependency-detection
2d42788e feat(gonx): add static analysis dependency detection Why? ==== The existing go-runtime dependency detection requires Go to be installed and a go.work file to be configured. This is problematic for teams where not everyone has Go installed (e.g., frontend devs) or CI environments without Go. This adds a static-analysis strategy that uses tree-sitter WASM to parse Go source files directly, requiring no Go toolchain. How? ==== - Chose web-tree-sitter (WASM) over tree-sitter (native) to avoid native compilation requirements — the WASM build runs everywhere Node.js does with no platform-specific binaries. - Investigated web-tree-sitter's module export shape across environments (native Node.js vs ts-jest). Found that ts-jest returns the raw Emscripten Module instead of the expected named exports. Solved with a static import in production code and a jest.mock normalizing the module shape in tests, keeping type assertions out of production code entirely. - Validated go.mod parsing against the Go module reference spec, covering quoted/unquoted module paths, single-line and block replace directives, versioned replacements, and inline/multi-line comments. - Verified import extraction handles all Go import patterns: single, grouped, aliased, dot, blank, raw string literals, and cgo pseudo-import filtering. - Used longest-prefix matching for import resolution with per-project replace directive scoping and caching. - Adopted jest.mock('fs/promises') patterns matching the rest of the gonx test suite instead of introducing memfs as a new dependency. - 206 unit tests and E2E tests pass locally; format and build checks clean. ---- Addresses https://github.com/naxodev/oss/issues/98.
21 days ago
by chadxz
c
Failed
feat/gonx-static-analysis-dependency-detection
a5f19a3b refactor(gonx): remove duplication in parseGoMod regex handling Select regex based on inReplaceBlock first, then use single extraction block to avoid duplicating the match/extract logic.
1 month ago
by chadxz
c
Failed
feat/gonx-static-analysis-dependency-detection
a5730e6e fix(gonx): resolve lint errors in static analysis tests
1 month ago
by chadxz
c
Failed
feat/gonx-static-analysis-dependency-detection
f20cf261 feat(gonx): add static analysis dependency detection Why? ==== The existing go-runtime dependency detection requires Go to be installed and a go.work file to be configured. This is problematic for teams where not everyone has Go installed (e.g., frontend devs) or CI environments without Go. This adds a new `static-analysis` strategy that uses tree-sitter WASM to parse Go source files directly, requiring no Go toolchain. Addresses https://github.com/naxodev/oss/issues/98 How? ==== - Added `dependencyStrategy` option: 'go-runtime' | 'static-analysis' | 'auto' - Implemented tree-sitter based import extraction (parser-init.ts, extract-imports.ts) - Implemented go.mod parsing for module paths and replace directives (parse-go-mod.ts) - Built import map with per-project replace directive scoping (build-import-map.ts) - Used longest-prefix matching for import resolution with caching (resolve-import.ts) - Added 'auto' strategy that tries go-runtime first, falls back to static-analysis with warning logging - 206 unit tests covering all components - E2E tests for full integration - Documentation in docs/static-analysis.md
1 month ago
by chadxz
c
Succeeded
main
3a4c4295 chore(release): publish - project: nx-cloudflare 6.0.0
2 months ago
by NachoVazquez
N
Succeeded
nx-cloudflare@v6.0.0
3a4c4295 chore(release): publish - project: nx-cloudflare 6.0.0
2 months ago
by NachoVazquez
N
Succeeded
gonx@v3.0.0
6929e86f chore(release): publish - project: gonx 3.0.0
2 months ago
by NachoVazquez
N
Succeeded
main
6929e86f chore(release): publish - project: gonx 3.0.0
2 months ago
by NachoVazquez
N
Succeeded
chore/update-nx-22
8404d30b fix: format issues
2 months ago
by NachoVazquez
N
Succeeded
chore/update-nx-22
8404d30b fix: format issues
2 months ago
by NachoVazquez
N
Failed
chore/update-nx-22
8404d30b fix: format issues
2 months ago
by NachoVazquez
N
Succeeded
chore/update-nx-22
314670ce fix: format issues
2 months ago
by NachoVazquez
N
Failed
chore/update-nx-22
2a4e9b66 fix: another attempt to fix the e2e tests
2 months ago
by NachoVazquez
N
Failed
chore/update-nx-22
8052fc85 fix: another attempt to fix the e2e tests
2 months ago
by NachoVazquez
N
Succeeded
chore/update-nx-22
b96ccbdd fix: use build every time
2 months ago
by NachoVazquez
N
Failed
chore/update-nx-22
ffbcbdf8 ci: always say yes to commands
2 months ago
by NachoVazquez
N
Failed
chore/update-nx-22
ffbcbdf8 ci: always say yes to commands
2 months ago
by NachoVazquez
N
Succeeded
chore/update-nx-22
57b3f4be fix: e2e tests
2 months ago
by NachoVazquez
N
Previous page
Previous
Next
Next page