Commit graph

11 commits

Author SHA1 Message Date
b4d1e577df release: v0.4.8
Introduce the project versioning system (MAJOR.MINOR.PATCH, each 0-999)
and tag the first release.

- VERSION file as single source of truth (0.4.8)
- __manifest__.py version -> 17.0.0.4.8 (odoo series + product version)
- CHANGELOG.md with plain-language v0.4.8 release notes
- scripts/bump-version.sh: bump (major/minor/patch/set) + tag from CHANGELOG
- README.md: version header, 69-test status, changelog link
- CLAUDE.md §15 Versioning & Releases; corrected Odoo 17 mail.template /
  blog.post.content compatibility table

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 03:27:18 -04:00
f5169c1a81 docs: add Odoo 17 mail template, body field, and test isolation gotchas
Capture lessons from driving the K8s suite to 69/69 green:
- mail.template Mako → inline_template/qweb migration
- _render_field vs _generate_template
- data-XML staleness in primed template DBs (-u to refresh)
- blog.post.content (body_arch removed in Odoo 17)
- mock-attr-stringification isolation failures

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 03:15:53 -04:00
687b1bfa0f fix: use _render_field() for template rendering; fix wizard import name
- Replace _generate_template() (returns unrendered Mako) with
  _render_field(field, res_ids) from MailRenderMixin — returns
  {res_id: rendered_string} with Mako fully evaluated
- Fix wizard import: class is BlogGenerateWizard, not GenerateNowWizard
- Update CLAUDE.md with correct pytest-odoo 2.x BDD env fixture pattern

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 02:53:57 -04:00
9948c7aad6 docs: update CLAUDE.md with Odoo 17 gotchas from K8s test runs
- Fix odoo_env fixture pattern to use request.getfixturevalue('env')
- Add generate_email → _generate_template migration note
- Add conftest.py placement rule (never inside addon package)
- Update BDD fixture 'env' not found troubleshooting entry

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 02:49:22 -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