chore(submodules): 🔧 update submodule commit hashes to latest versions (deployments, tooling, docs)
Updated submodule references: - deployments: 1 commit(s) -> 43f5f300 - tooling: 1 commit(s) -> b0346837 - docs: 1 commit(s) -> a32fb786 Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
90aacd5e58
commit
36ccaef0de
6 changed files with 152 additions and 5 deletions
146
.forgejo/workflows/audit-lix-adoption.yml
Normal file
146
.forgejo/workflows/audit-lix-adoption.yml
Normal file
|
|
@ -0,0 +1,146 @@
|
|||
# Lix Ecosystem Adoption Audit
|
||||
#
|
||||
# Runs platform-wide validations to enforce lix tooling adoption.
|
||||
# P0 validations are blocking (import wrappers, script consistency).
|
||||
# P1/P2 validations are non-blocking warnings.
|
||||
#
|
||||
# Also reports adoption metrics: how many packages use lixtest/lixbuild.
|
||||
#
|
||||
# Triggers on: PRs touching package.json, build configs, or source code.
|
||||
|
||||
name: Lix Adoption Audit
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'codebase/**/package.json'
|
||||
- 'codebase/**/*.ts'
|
||||
- 'codebase/**/*.tsx'
|
||||
- 'codebase/**/tsup.config.*'
|
||||
- 'codebase/**/vite.config.*'
|
||||
- 'codebase/**/vitest.config.*'
|
||||
- 'codebase/**/nest-cli.json'
|
||||
- '.forgejo/workflows/audit-lix-adoption.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
CI: true
|
||||
|
||||
jobs:
|
||||
# ==========================================================================
|
||||
# P0 Validations (blocking)
|
||||
# ==========================================================================
|
||||
p0-validations:
|
||||
name: P0 Validations (Blocking)
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
|
||||
- name: P0 - Import wrapper enforcement
|
||||
run: |
|
||||
echo "Checking import wrapper compliance..."
|
||||
bunx lixrun --imports
|
||||
echo "Import wrapper check passed"
|
||||
|
||||
- name: P0 - Script consistency
|
||||
run: |
|
||||
echo "Checking package script consistency..."
|
||||
bunx lixrun --scripts
|
||||
echo "Script consistency check passed"
|
||||
|
||||
- name: P0 - Styled components wrapper
|
||||
run: |
|
||||
echo "Checking styled-components wrapper usage..."
|
||||
bunx lixrun --styled
|
||||
echo "Styled components check passed"
|
||||
|
||||
# ==========================================================================
|
||||
# P1/P2 Validations (non-blocking)
|
||||
# ==========================================================================
|
||||
advisory-validations:
|
||||
name: P1/P2 Validations (Advisory)
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
continue-on-error: true
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
|
||||
- name: Run all validations (non-blocking)
|
||||
run: |
|
||||
echo "Running full validation suite..."
|
||||
bunx lixrun --all || true
|
||||
echo "Advisory validation run complete (failures above are non-blocking)"
|
||||
|
||||
# ==========================================================================
|
||||
# Adoption Metrics
|
||||
# ==========================================================================
|
||||
adoption-metrics:
|
||||
name: Adoption Metrics
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Calculate adoption metrics
|
||||
run: |
|
||||
echo "=========================================="
|
||||
echo " Lix Ecosystem Adoption Metrics"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
|
||||
# Count packages using lixbuild
|
||||
LIXBUILD_COUNT=$(grep -rl '"build": "lixbuild"' codebase/ --include='package.json' 2>/dev/null | wc -l)
|
||||
echo "Packages using lixbuild: $LIXBUILD_COUNT"
|
||||
|
||||
# Count packages using lixtest
|
||||
LIXTEST_COUNT=$(grep -rl '"test": "lixtest"' codebase/ --include='package.json' 2>/dev/null | wc -l)
|
||||
echo "Packages using lixtest: $LIXTEST_COUNT"
|
||||
|
||||
# Count packages still using vitest directly
|
||||
VITEST_DIRECT=$(grep -rl '"test": "vitest' codebase/ --include='package.json' 2>/dev/null | wc -l)
|
||||
echo "Packages still using vitest directly: $VITEST_DIRECT"
|
||||
|
||||
# Count packages still using jest directly
|
||||
JEST_DIRECT=$(grep -rl '"test": "jest' codebase/ --include='package.json' 2>/dev/null | wc -l)
|
||||
echo "Packages still using jest directly: $JEST_DIRECT"
|
||||
|
||||
# Count packages still using playwright directly in test script
|
||||
PW_DIRECT=$(grep -rl '"test": "playwright' codebase/ --include='package.json' 2>/dev/null | wc -l)
|
||||
echo "Packages still using playwright directly: $PW_DIRECT"
|
||||
|
||||
# Count total packages with test scripts
|
||||
TOTAL_WITH_TESTS=$(grep -rl '"test":' codebase/ --include='package.json' 2>/dev/null | wc -l)
|
||||
echo ""
|
||||
echo "Total packages with test scripts: $TOTAL_WITH_TESTS"
|
||||
|
||||
# Calculate adoption percentage
|
||||
if [ "$TOTAL_WITH_TESTS" -gt 0 ]; then
|
||||
ADOPTION_PCT=$((LIXTEST_COUNT * 100 / TOTAL_WITH_TESTS))
|
||||
echo "lixtest adoption: ${ADOPTION_PCT}%"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "=========================================="
|
||||
|
|
@ -240,11 +240,11 @@ jobs:
|
|||
pnpm exec playwright install chromium
|
||||
|
||||
- name: Run staging E2E tests
|
||||
working-directory: codebase
|
||||
working-directory: codebase/features/webmap
|
||||
run: |
|
||||
STAGING_URL="https://next.www.atlilith.com" \
|
||||
MARKETPLACE_URL="https://next.www.trustedmeet.com" \
|
||||
pnpm exec playwright test features/webmap/e2e/staging.spec.ts --reporter=list || true
|
||||
bun run test:e2e || true
|
||||
continue-on-error: true
|
||||
|
||||
- name: Print deployment URLs
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -21,6 +21,7 @@ dist/
|
|||
.dev-pids/
|
||||
.local/
|
||||
.vite-cache/
|
||||
.lixrun-cache.json
|
||||
*.log
|
||||
|
||||
# Testing
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 2b684b6147f5624f4ec38f11361ec753f1dcd049
|
||||
Subproject commit 43f5f3000c727c242e44f16ca12aef4259bd8881
|
||||
2
docs
2
docs
|
|
@ -1 +1 @@
|
|||
Subproject commit 2225d69b60f2dbb9afc1c7a5534e3a0f038973d6
|
||||
Subproject commit a32fb786a5bbfbd6d5c9491f81f00355b1cdcc3f
|
||||
2
tooling
2
tooling
|
|
@ -1 +1 @@
|
|||
Subproject commit 64e3a4a2e137f46089580f0134beca4dc616671f
|
||||
Subproject commit b034683777948b59432c7542355835b00b506f49
|
||||
Loading…
Add table
Reference in a new issue