sqlc
This document provides essential information for working with the sqlc codebase, including testing, development workflow, and code structure.
## Quick Start
### Prerequisites
- **Go 1.26.4+** - Required for building and testing
- **Docker
No other project uses it yet
18k7mo agoReviewMountCreate a free account to mount
iTermBrowserTemplateLoader.swift
- Don't create dependency cycles. Use delegates or closures instead.
- To run unit tests in ModernTests, use tools/run_tests.expect. It takes an argument naming the test or tests, such
No other project uses it yet
18k5d agoReviewMountCreate a free account to mount
field at a time until we have done
everything.
## Practices
* Use TDD. Write tests, ensure they fail, then write code, then ensure tests pass.
* Use async/await when appropriate. Avoid completion
No other project uses it yet
18k5d agoReviewMountCreate a free account to mount
bash
cargo build --workspace --lib # Must compile (use --lib if exe is locked)
cargo test --workspace # All tests must pass (currently 1744+)
cargo clippy --workspace --all-targets -- -D warnings # Zero
No other project uses it yet
18k9mo agoReviewMountCreate a free account to mount
services
- **Website** (`apps/web/`) - Next.js site for both the marketing site and authenticated webapp
- **E2E Tests** (`apps/e2e/`) - End-to-end test suite for HTTP and MCP gateway requests
- **Shared Packages** (`packages
18k18mo agoReviewMountCreate a free account to mount
lint
npm run lint:check
# TypeScript type checking
npm run typecheck
# Run all tests, or only spec files whose path matches a regex
npm test
npm test -- --spec-file-pattern
No other project uses it yet
18k12d agoReviewMountCreate a free account to mount
Claude Code (claude.ai/code) when working with code in this repository.
## Build and Test Commands
```bash
# Build all binaries
go install ./...
# Run all tests
go test ./...
# Run tests with race
Steady9 mentions in 2 weeks
No other project uses it yet
18k2mo agoReviewMountCreate a free account to mount
Caffeine
High-performance, near-optimal caching library for Java 11+.
## Build & Test
```bash
./gradlew :caffeine:build # Full build
./gradlew :caffeine:test --tests 'ClassName' # Single test class
./gradlew :caffeine:test --tests
No other project uses it yet
18k10d agoReviewMountCreate a free account to mount
what gets published to npm (`src/` is not part of the package).
- `test/` - mirrors `src/` structure, TypeScript, run with `node --import tsx --test`. Most suites spin up real `smtp-server
No other project uses it yet
18k14mo agoReviewMountCreate a free account to mount
Typst syntax via the `markdown` library (`renderer/templater/markdown_parser.py`).
## Commands
```bash
just sync # Install dependencies
just test # Run tests (parallel via pytest-xdist)
just check # Lint (ruff) + type-check (ty) + pre-commit
Surging1 mention in 2 weeks
1 project uses a version of this
18k9mo agoReviewMountCreate a free account to mount
library (produces libbrpc.a and libbrpc.so/dylib)
make -j$(nproc)
# Build debug version (with UNIT_TEST flag, no NDEBUG)
make debug
```
Config options: `--with-glog`, `--with-thrift`, `--with-rdma`, `--with-asan
No other project uses it yet
18k20mo agoReviewMountCreate a free account to mount
position should point at the specific
offending character, not the start of the expression.
## Testing
Write the tests while developing the change; do not leave test cases for review
No other project uses it yet
18k27d agoReviewMountCreate a free account to mount
accepted by user, use plan mode.
2. After implementation, update related `dev/*.html` test cases and `doc/*.md` documentation if necessary.
3. Update both `CHANGELOG.md` (English) and `CHANGELOG_CN.md` (Chinese) under
No other project uses it yet
18k6y agoReviewMountCreate a free account to mount
that reads STDIN and writes STDOUT becomes a WebSocket server.
## Build
```bash
go build
```
## Test
```bash
go test ./...
```
Unit tests are in `libwebsocketd/`. Integration tests are in `qa/integration/`. `.github/workflows/test.yml
Steady2 mentions in 2 weeks
No other project uses it yet
17k3mo agoReviewMountCreate a free account to mount
main` for all entries; other execution refs are rejected for new release work. Select `test` (default, DEV templates) or `stable` (prod templates). Blank test versions use short workflow-counter `test.N
1 project uses a version of this
17k20d agoReviewMountCreate a free account to mount
ways:
1. **Reproduce and fix it**, with a regression test that fails without the fix and passes with it.
2. **Reproduce it, commit a failing (red) test that pins
No other project uses it yet
17k3mo agoReviewMountCreate a free account to mount
A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.
Where does it go?
At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.
What should it contain?
Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.
CLAUDE.md or AGENTS.md?
Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.