From 57d9eb62ac4d4f2c74395ee23e04c992e7da7dbd Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Sat, 3 Jan 2026 00:03:18 +0000 Subject: [PATCH] refactor: remove tools-based scripts and update workflows to reflect changes --- .github/workflows/ci/cpp-build.yml | 4 +- .github/workflows/ci/detect-stubs.yml | 6 +- .github/workflows/gated-ci-atomic.yml | 28 ++++----- .github/workflows/quality/quality-metrics.yml | 58 +++++++++---------- .github/workflows/quality/size-limits.yml | 2 +- .github/workflows/todo-to-issues.yml | 2 +- 6 files changed, 49 insertions(+), 51 deletions(-) diff --git a/.github/workflows/ci/cpp-build.yml b/.github/workflows/ci/cpp-build.yml index 1b68f4ed8..d0b18a1aa 100644 --- a/.github/workflows/ci/cpp-build.yml +++ b/.github/workflows/ci/cpp-build.yml @@ -151,7 +151,7 @@ jobs: CMAKE_BUILD_TYPE: ${{ matrix.build_type }} run: | if [ "${{ matrix.build_type }}" = "Debug" ]; then - node dbal/shared/tools/cpp-build-assistant.cjs full --debug + echo "skipping dbal/shared/tools cpp build assistant (tools/ removed)" else bun run cpp:full fi @@ -206,7 +206,7 @@ jobs: shell: bash run: | if [ "${{ matrix.build_type }}" = "Debug" ]; then - node dbal/shared/tools/cpp-build-assistant.cjs full --debug + echo "skipping dbal/shared/tools cpp build assistant (tools/ removed)" else bun run cpp:full fi diff --git a/.github/workflows/ci/detect-stubs.yml b/.github/workflows/ci/detect-stubs.yml index 1053b7f57..209e03126 100644 --- a/.github/workflows/ci/detect-stubs.yml +++ b/.github/workflows/ci/detect-stubs.yml @@ -53,19 +53,19 @@ jobs: # Pattern-based stub detection - name: Detect stub patterns id: detect-patterns - run: bunx tsx ../../tools/detect-stub-implementations.ts > stub-patterns.json + run: echo "skipping tools-based stub pattern detection (tools/ removed)" > stub-patterns.json continue-on-error: true # Implementation completeness analysis - name: Analyze implementation completeness id: analyze-completeness - run: bunx tsx ../../tools/analyze-implementation-completeness.ts > implementation-analysis.json + run: echo "skipping tools-based implementation completeness analysis (tools/ removed)" > implementation-analysis.json continue-on-error: true # Generate detailed report - name: Generate stub report id: generate-report - run: bunx tsx ../../tools/generate-stub-report.ts > stub-report.md + run: echo "skipping tools-based stub report generation (tools/ removed)" > stub-report.md continue-on-error: true # Check for unimplemented TODOs in changed files (PR only) diff --git a/.github/workflows/gated-ci-atomic.yml b/.github/workflows/gated-ci-atomic.yml index a57f2bd64..d6487c808 100644 --- a/.github/workflows/gated-ci-atomic.yml +++ b/.github/workflows/gated-ci-atomic.yml @@ -125,7 +125,7 @@ jobs: - name: Run atomic TypeScript strict checker run: | cd ../.. - tsx tools/quality/code/check-typescript-strict.ts > gate-artifacts/typescript-strict.json || true + echo "skipping tools-based TypeScript strict check (tools/ removed)" > gate-artifacts/typescript-strict.json || true continue-on-error: true - name: Record validation result @@ -176,11 +176,11 @@ jobs: mkdir -p ../../gate-artifacts/gate-1 cd ../.. - # Find any types - tsx tools/misc/lint/find-any-types.ts > gate-artifacts/gate-1/any-types.json || true + # Find any types (skipped - tools/ removed) + echo "skipping tools-based find-any-types" > gate-artifacts/gate-1/any-types.json || true - # Find ts-ignore comments - tsx tools/misc/lint/find-ts-ignores.ts > gate-artifacts/gate-1/ts-ignores.json || true + # Find ts-ignore comments (skipped - tools/ removed) + echo "skipping tools-based find-ts-ignores" > gate-artifacts/gate-1/ts-ignores.json || true continue-on-error: true - name: Record validation result @@ -221,7 +221,7 @@ jobs: run: | mkdir -p ../../gate-artifacts/gate-1 cd ../.. - tsx tools/security/security-scanner.ts > gate-artifacts/gate-1/security-scan.json || true + echo "skipping tools-based security scanner" > gate-artifacts/gate-1/security-scan.json || true continue-on-error: true - name: Run dependency audit @@ -233,7 +233,7 @@ jobs: - name: Parse audit results run: | cd ../.. - tsx tools/misc/metrics/parse-npm-audit.ts gate-artifacts/gate-1/audit-results.json > gate-artifacts/gate-1/audit-summary.json || true + echo "skipping tools-based npm-audit parsing" > gate-artifacts/gate-1/audit-summary.json || true continue-on-error: true - name: Record validation result @@ -274,7 +274,7 @@ jobs: run: | mkdir -p ../../gate-artifacts/gate-1 cd ../.. - tsx tools/quality/files/check-file-sizes.ts > gate-artifacts/gate-1/file-sizes.json || true + echo "skipping tools-based file size check" > gate-artifacts/gate-1/file-sizes.json || true continue-on-error: true - name: Record validation result @@ -315,7 +315,7 @@ jobs: run: | mkdir -p ../../gate-artifacts/gate-1 cd ../.. - tsx tools/quality/code/check-code-complexity.ts > gate-artifacts/gate-1/complexity.json || true + echo "skipping tools-based code complexity check" > gate-artifacts/gate-1/complexity.json || true continue-on-error: true - name: Record validation result @@ -356,7 +356,7 @@ jobs: run: | mkdir -p ../../gate-artifacts/gate-1 cd ../.. - tsx tools/detection/detect-stub-implementations.ts > gate-artifacts/gate-1/stubs.json || true + echo "skipping tools-based stub detection" > gate-artifacts/gate-1/stubs.json || true continue-on-error: true - name: Record validation result @@ -478,13 +478,13 @@ jobs: run: | mkdir -p ../../gate-artifacts/gate-2 cd ../.. - node tools/generation/generate-test-coverage-report.js > gate-artifacts/gate-2/coverage-report.json || true + echo "skipping tools-based test coverage report generation" > gate-artifacts/gate-2/coverage-report.json || true continue-on-error: true - name: Check function coverage run: | cd ../.. - node tools/quality/code/check-function-coverage.js > gate-artifacts/gate-2/function-coverage.json || true + echo "skipping tools-based function coverage check" > gate-artifacts/gate-2/function-coverage.json || true continue-on-error: true - name: Upload coverage report @@ -721,7 +721,7 @@ jobs: run: | mkdir -p ../../gate-artifacts/gate-3 cd ../.. - tsx tools/analysis/bundle/analyze-bundle-size.ts > gate-artifacts/gate-3/bundle-size.json || true + echo "skipping tools-based bundle analysis" > gate-artifacts/gate-3/bundle-size.json || true continue-on-error: true - name: Upload build artifacts @@ -795,7 +795,7 @@ jobs: run: | mkdir -p ../../gate-artifacts/gate-3 cd ../.. - tsx tools/generation/generate-quality-summary.ts > gate-artifacts/gate-3/quality-summary.json || true + echo "skipping tools-based quality summary generation" > gate-artifacts/gate-3/quality-summary.json || true continue-on-error: true - name: Record validation result diff --git a/.github/workflows/quality/quality-metrics.yml b/.github/workflows/quality/quality-metrics.yml index abe0e605f..39987e03a 100644 --- a/.github/workflows/quality/quality-metrics.yml +++ b/.github/workflows/quality/quality-metrics.yml @@ -53,26 +53,24 @@ jobs: - name: Check code complexity id: complexity run: | - bun install --dev --no-save ts-morph @swc/core - bunx tsx ../../tools/check-code-complexity.ts > complexity-report.json - cat complexity-report.json + echo "skipping tools-based code complexity check (tools/ removed)" continue-on-error: true # Function metrics - name: Analyze function metrics id: metrics - run: bunx tsx ../../tools/analyze-function-metrics.ts > function-metrics.json + run: echo "skipping tools-based function metrics (tools/ removed)" > function-metrics.json continue-on-error: true # Maintainability Index - name: Calculate maintainability index id: maintainability - run: bunx tsx ../../tools/check-maintainability.ts > maintainability-report.json + run: echo "skipping tools-based maintainability check (tools/ removed)" > maintainability-report.json continue-on-error: true - name: Detect stub implementations id: stub-detection - run: bunx tsx ../../tools/detect-stub-implementations.ts > stub-report.json + run: echo "skipping tools-based stub detection (tools/ removed)" > stub-report.json continue-on-error: true - name: Upload quality reports @@ -139,7 +137,7 @@ jobs: - name: Extract coverage metrics id: coverage-extract - run: bunx tsx ../../tools/extract-coverage-metrics.ts + run: echo "skipping tools-based coverage extraction (tools/ removed)" continue-on-error: true - name: Upload coverage artifacts @@ -192,13 +190,13 @@ jobs: id: npm-audit run: | bun audit --json > npm-audit.json || true - bunx tsx ../../tools/parse-npm-audit.ts + echo "skipping tools-based npm-audit parsing (tools/ removed)" continue-on-error: true # Check for security anti-patterns - name: Scan for security issues id: security-scan - run: bunx tsx ../../tools/security-scanner.ts > security-report.json + run: echo "skipping tools-based security scan (tools/ removed)" > security-report.json continue-on-error: true # OWASP Dependency Check (if configured) @@ -260,27 +258,27 @@ jobs: - name: Check JSDoc coverage id: jsdoc - run: bunx tsx ../../tools/check-jsdoc-coverage.ts > jsdoc-report.json + run: echo "skipping tools-based jsdoc check (tools/ removed)" > jsdoc-report.json continue-on-error: true - name: Validate README files id: readme - run: bunx tsx ../../tools/validate-readme-quality.ts > readme-report.json + run: echo "skipping tools-based README validation (tools/ removed)" > readme-report.json continue-on-error: true - name: Validate markdown links id: markdown-links - run: bunx tsx ../../tools/validate-markdown-links.ts > markdown-links-report.json + run: echo "skipping tools-based markdown link validation (tools/ removed)" > markdown-links-report.json continue-on-error: true - name: Check API documentation id: api-docs - run: bunx tsx ../../tools/validate-api-docs.ts > api-docs-report.json + run: echo "skipping tools-based API docs validation (tools/ removed)" > api-docs-report.json continue-on-error: true - name: Verify code examples id: code-examples - run: bunx tsx ../../tools/validate-code-examples.ts > code-examples-report.json + run: echo "skipping tools-based code examples validation (tools/ removed)" > code-examples-report.json continue-on-error: true - name: Upload documentation reports @@ -338,22 +336,22 @@ jobs: - name: Analyze bundle size id: bundle - run: bunx tsx ../../tools/analyze-bundle-size.ts > bundle-analysis.json + run: echo "skipping tools-based bundle analysis (tools/ removed)" > bundle-analysis.json continue-on-error: true - name: Check performance budget id: perf-budget - run: bunx tsx ../../tools/check-performance-budget.ts > performance-budget.json + run: echo "skipping tools-based performance budget check (tools/ removed)" > performance-budget.json continue-on-error: true - name: Lighthouse audit id: lighthouse - run: bunx tsx ../../tools/run-lighthouse-audit.ts > lighthouse-report.json + run: echo "skipping tools-based lighthouse audit (tools/ removed)" > lighthouse-report.json continue-on-error: true - name: Analyze render performance id: render-perf - run: bunx tsx ../../tools/analyze-render-performance.ts > render-performance.json + run: echo "skipping tools-based render performance analysis (tools/ removed)" > render-performance.json continue-on-error: true - name: Upload performance reports @@ -402,22 +400,22 @@ jobs: - name: Check source file sizes id: file-sizes - run: bunx tsx ../../tools/check-file-sizes.ts > file-sizes-report.json + run: echo "skipping tools-based file size check (tools/ removed)" > file-sizes-report.json continue-on-error: true - name: Analyze directory structure id: dir-structure - run: bunx tsx ../../tools/analyze-directory-structure.ts > directory-structure.json + run: echo "skipping tools-based directory structure analysis (tools/ removed)" > directory-structure.json continue-on-error: true - name: Check for code duplication id: duplication - run: bunx tsx ../../tools/detect-code-duplication.ts > duplication-report.json + run: echo "skipping tools-based duplication detection (tools/ removed)" > duplication-report.json continue-on-error: true - name: Analyze import chains id: imports - run: bunx tsx ../../tools/analyze-import-chains.ts > import-analysis.json + run: echo "skipping tools-based import chain analysis (tools/ removed)" > import-analysis.json continue-on-error: true - name: Upload size reports @@ -469,17 +467,17 @@ jobs: - name: License compliance check id: licenses - run: bunx tsx ../../tools/check-license-compliance.ts > license-report.json + run: echo "skipping tools-based license compliance check (tools/ removed)" > license-report.json continue-on-error: true - name: Analyze dependency tree id: tree - run: bunx tsx ../../tools/analyze-dependency-tree.ts > dependency-tree.json + run: echo "skipping tools-based dependency tree analysis (tools/ removed)" > dependency-tree.json continue-on-error: true - name: Check for circular dependencies id: circular - run: bunx tsx ../../tools/detect-circular-dependencies.ts > circular-deps.json + run: echo "skipping tools-based circular dependency check (tools/ removed)" > circular-deps.json continue-on-error: true - name: Upload dependency reports @@ -533,24 +531,24 @@ jobs: - name: TypeScript strict check id: ts-strict - run: bunx tsx ../../tools/check-typescript-strict.ts > ts-strict-report.json + run: echo "skipping tools-based TypeScript strict check (tools/ removed)" > ts-strict-report.json continue-on-error: true - name: ESLint detailed report id: eslint run: | bunx eslint . --format json > eslint-report.json || true - bunx tsx ../../tools/parse-eslint-report.ts + echo "skipping tools-based ESLint parse (tools/ removed)" continue-on-error: true - name: Check for @ts-ignore usage id: ts-ignore - run: bunx tsx ../../tools/find-ts-ignores.ts > ts-ignore-report.json + run: echo "skipping tools-based ts-ignore check (tools/ removed)" > ts-ignore-report.json continue-on-error: true - name: Check for any types id: any-types - run: bunx tsx ../../tools/find-any-types.ts > any-types-report.json + run: echo "skipping tools-based any-types check (tools/ removed)" > any-types-report.json continue-on-error: true - name: Upload type reports @@ -617,7 +615,7 @@ jobs: - name: Generate quality summary id: summary - run: bunx tsx ../../tools/generate-quality-summary.ts > quality-summary.md + run: echo "skipping tools-based quality summary generation (tools/ removed)" > quality-summary.md continue-on-error: true - name: Post summary as PR comment diff --git a/.github/workflows/quality/size-limits.yml b/.github/workflows/quality/size-limits.yml index 2ba2a4a5f..731ed4bf0 100644 --- a/.github/workflows/quality/size-limits.yml +++ b/.github/workflows/quality/size-limits.yml @@ -40,7 +40,7 @@ jobs: run: bun install --frozen-lockfile - name: Check code size limits - run: bunx tsx ../../tools/enforce-size-limits.ts + run: echo "skipping tools-based size limits enforcement (tools/ removed)" - name: Upload report if: always() diff --git a/.github/workflows/todo-to-issues.yml b/.github/workflows/todo-to-issues.yml index 27ed1e751..e743ab8bb 100644 --- a/.github/workflows/todo-to-issues.yml +++ b/.github/workflows/todo-to-issues.yml @@ -116,7 +116,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - python3 tools/project-management/populate-kanban.py ${{ steps.args.outputs.args }} + echo "skipping tools-based populate-kanban (tools/ removed)" - name: Upload JSON export (if applicable) if: inputs.mode == 'export-json'