Files
stack/.gitignore
kert cb530c25d9 chore: snapshot WIP + fix cross-test conf pollution
Bundled commit across unrelated threads: perf collector/meter/logs/export
updates, SSO bootstrap and traefik/nginx/gitea infra, dev backend scripts
(gitea/github/woodpecker), diag test updates, and misc config.

Also fix test pollution: five tests were doing raw sys.modules.pop("conf")
to simulate ImportError on `import conf`, but raw dict mutation isn't
tracked by monkeypatch and leaked the eviction into subsequent tests.
Downstream tests that did `from conf import secret` at module level held
references to the pre-eviction conf, while re-imports inside tests got a
fresh conf, so patches to conf.cfg._data didn't land on the secret()
closure's cfg — causing tests/conf/test_conf.py::TestSecret and
tests/conf/test_connect.py::TestDuckdb::test_custom_db_name to fail.

Fix: use monkeypatch.delitem(sys.modules, "conf", raising=False) so the
eviction is reverted on teardown. Applied to test_diag_ci.py, test_init.py,
test_tracer.py, and test_resource.py (two sites).
2026-04-10 13:09:14 -04:00

53 lines
861 B
Plaintext

# Virtual environment
.venv/
# Bootstrap state (credentials, OAuth2 tokens)
.state/
# Data directories (user data, not tracked)
data/*
!data/.gitkeep
data/zotero/data/
!data/zotero/data/styles/
!data/zotero/data/translators/CMS 4innovation.js
data/zotero/profiles/
tuva/
logs/**
# Generated DAB SQL (regenerate via gen_config.py --dab-sql)
bundle/sql/
# Marimo cache
notebooks/__marimo__/
# Secrets and keys
.deploy_key
.deploy_key.pub
.env
.env.bak
infra/cloudflared/*.json
infra/cloudflared/cert.pem
# Python build artifacts
__pycache__/
*.pyc
.coverage
dist/
*.egg-info/
htmlcov/
# IDE / tool settings
.claude/settings.local.json
notebooks/aco.duckdb
# Package mirrors (local cache, not tracked)
mirrors/
# Docs (auto-generated at build time)
docs/docs/api/
docs/static/library.json
docs/node_modules/
docs/build/
docs/.docusaurus/
hw/node_modules/