Skip to content

Docs/442 ci troubleshooting guide - #513

Merged
El-swaggerito merged 2 commits into
Axionvera:mainfrom
habnark:docs/442-ci-troubleshooting-guide
Jul 29, 2026
Merged

Docs/442 ci troubleshooting guide#513
El-swaggerito merged 2 commits into
Axionvera:mainfrom
habnark:docs/442-ci-troubleshooting-guide

Conversation

@habnark

@habnark habnark commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #

Test Plan and Evidence

Self-Assessment

Complete the
Contributor Self-Assessment before
requesting review. Include concise evidence below; use
Not applicable — <reason> instead of leaving a required area unexplained.

  • Scope: The change matches the linked issue and contains no unrelated
    or unfinished work.
  • Tests: Appropriate automated and manual evidence is included above,
    or a no-test justification is provided.
  • CI: Relevant local checks pass and required CI checks pass on the
    latest commit.
  • Documentation: Affected documentation, comments, examples,
    screenshots, and links are updated, or no update is needed.
  • Known limitations: Limitations, assumptions, risks, skipped checks,
    and follow-up work are disclosed below.
  • Acceptance criteria: Each issue criterion is mapped to implementation
    or verification evidence below.

CI Status

Documentation

Known Limitations

Acceptance Criteria

Acceptance criterion Implementation or evidence Status
Pass / Not applicable

Screenshots or Recordings

habnark and others added 2 commits July 28, 2026 18:11
Closes Axionvera#442

Contributors hitting a failing check (TypeScript, lint, tests, Expo
config, dependency install) had no single place documenting the local
command to reproduce it or how to fix it.

- Add docs/ci-troubleshooting.md: the four local commands that mirror
  CI (npm install --legacy-peer-deps, npm run typecheck, npm run lint,
  npm test), plus fixes for the failure patterns actually reproduced
  while writing this guide in this repo:
  - Peer dependency conflicts requiring --legacy-peer-deps
  - Multiple lock files (pnpm-lock.yaml/bun.lock alongside
    package-lock.json) causing Expo tooling to pick the wrong package
    manager, observed as `spawn bun ENOENT` when `expo lint` tried to
    auto-install eslint via bun
  - TypeScript syntax-error cascades (JSX parent element / unclosed
    brace errors)
  - Jest "Unexpected token 'export'" from an untransformed ESM
    dependency (lucide-react-native) missing from
    transformIgnorePatterns
  - Empty test files ("must contain at least one test")
  - Async test timeouts from unmocked dependencies
  - expo-doctor's network-dependent config-schema check failing in
    offline/sandboxed environments
  - A "clean install" recovery sequence
  - What reviewers/GrantFox evaluators expect from a green PR
- Add "lint": "expo lint" to package.json so the guide (and
  CONTRIBUTING.md) can reference npm run lint consistently with
  npm run typecheck / npm test, instead of a bare npx invocation.
- Link the guide from README.md, CONTRIBUTING.md's PR checklist, and
  mobile-onboarding-checklist.md's new "Common CI Failures" pointer.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@El-swaggerito
El-swaggerito merged commit f322625 into Axionvera:main Jul 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants