Commit graph

9 commits

Author SHA1 Message Date
5ed2851ee5 chore: make versioning series-aware for multi-Odoo-version branches
Prepares for the odoo/odoo-style branch-per-Odoo-release model (19.0, 14.0).

- bump-version.sh resolves the Odoo series from .odoo-series file > branch
  name > 17.0 fallback; manifest version becomes <series>.<product>; release
  tags are namespaced as <series>-v<product> (e.g. 19.0-v0.5.0).
- CLAUDE.md §15: new "Odoo version branches" subsection + series-aware
  sources-of-truth table, release process, and rules.
- README: branch-model pointer (19.0 latest stable, 14.0 ITSulu).

main stays the 17.0 baseline; 19.0 and 14.0 branches are created from here.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 11:14:12 -04:00
c039b5f0cb release: v0.4.8 — CI pipeline green + Odoo 17 fixes (squash of !1)
Squash-merge of fix/ci-pipeline-corrections. Drives the full test suite
to 69/69 green on the ITSulu K8s cluster and fixes two production bugs.

Production fixes:
- Email template migrated from dead Odoo Mako (${}/% for) to Odoo 17
  inline_template ({{ }}) + qweb body (type="html", t-out/t-foreach/t-if).
  Notification emails previously rendered raw code in the subject/body.
- _create_blog_post now writes 'content': llm_response.body_html — every
  auto-generated post was publishing empty.
- Removed duplicate itsulu_social_id field (startup warning).

Testing & infra:
- CI pipeline corrected (stage order, DB auth, junit artifact, addons path).
- E2E moved to ephemeral jobs in the itsulu-testing K8s namespace.
- Test code brought up to Odoo 17 (mail rendering, blog.post.content,
  pytest-bdd env fixture, _render_field).

Versioning:
- Introduce MAJOR.MINOR.PATCH scheme, VERSION file, scripts/bump-version.sh,
  CHANGELOG.md; first release v0.4.8. CLAUDE.md §15 documents the process.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 10:58:57 -04:00
11918da2ea docs: add E2E testing and performance SLO documentation to CLAUDE.md
Added comprehensive sections documenting Phase 3 testing:

Section 7.4 - Runboat Integration:
- Explanation of Runboat (ephemeral preview instances)
- Cold-start polling pattern with 180s timeout
- CI/CD integration example with buildenv artifact
- E2E test invocation against Runboat URL

Section 13 - Performance SLO Targets:
- Test infrastructure SLOs (pipeline times, test coverage, flakiness)
- Generation performance targets:
  * Latency P50: <30s, P99: <60s
  * Token efficiency: 800-1200 per post
  * Query count: <50 per generation
  * Concurrent posts: 5+
  * Email latency: <5s
  * Template DB prime: <60s
- Measurement tools and patterns:
  * time.monotonic() for latency profiling
  * assertQueryCount() for N+1 detection
  * Token usage logging and assertions

These targets are verified by test_performance.py and E2E tests.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-05-30 00:52:37 -04:00
d1346642be docs: update CLAUDE.md with BDD fixture pattern and troubleshooting
Added section 6.2 note about pytest-bdd requiring odoo_env fixture wrapper
instead of direct pytest-odoo env fixture. Updated fixture example to use
odoo_env parameter throughout. Added troubleshooting entry for 'fixture
odoo_env not found' error with reference to the fixture wrapper solution.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-05-30 00:38:12 -04:00
33cba1fe32 docs: add LLM router testing patterns to CLAUDE.md 2026-05-30 00:28:02 -04:00
f26f896fe4 docs: add TransactionCase commit safety and mock call inspection patterns to CLAUDE.md 2026-05-30 00:20:29 -04:00
577f1acbb3 docs: add Odoo 17 compatibility and email template rendering troubleshooting to CLAUDE.md 2026-05-30 00:14:09 -04:00
34647c3742 docs: add Kubernetes test infrastructure documentation
- Add comprehensive K8s test setup guide to CLAUDE.md (section 8)
- Document K8s architecture, Docker image requirements, and job execution
- Update ARCHITECTURE.md with CI/CD infrastructure details
- Fix Dockerfile to use python3 -m pip and proper non-root user handling
- Upgrade addon to Odoo 17.0 and update XML view syntax
2026-05-29 18:13:32 -04:00
1c8cfa21cb Added SKILL_odoo_testing_framework.md which is the Odoo Testing Framework Skill 2026-05-29 12:05:57 -04:00