Skip to content

feat(answer): upgrade apache answer to 2.0.2 - #860

Merged
mberlofa merged 1 commit into
mainfrom
chore/answer-2.0.2
Jul 30, 2026
Merged

feat(answer): upgrade apache answer to 2.0.2#860
mberlofa merged 1 commit into
mainfrom
chore/answer-2.0.2

Conversation

@mberlofa

@mberlofa mberlofa commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • upgrades the official Apache Answer image from 2.0.1 to 2.0.2
  • exposes the new-question email queue size and send interval as typed chart values
  • validates the new values with unit, schema, template, and behavioral k3d scenarios
  • updates the chart README and synchronizes the site documentation in docs(answer): document 2.0.2 notification controls site#458

Closes #831.

Upstream review

Answer 2.0.2 adds reasoning content in AI chat, optional email verification, recovery middleware, configurable new-question email delivery, and several authorization and account-hardening fixes. The release does not change the chart's port, storage path, or database contract.

User impact

The upgrade is backward compatible with the existing defaults. Operators may now configure:

  • answer.notifications.newQuestionEmail.queueSize (1 to 65536, default 1024)
  • answer.notifications.newQuestionEmail.sendIntervalSeconds (0 to 300, default 0)

Validation

  • make image-verify IMAGE=docker.io/apache/answer:2.0.2
  • make deps-check CHART=answer
  • make validate-chart CHART=answer
    • 19 layers passed
    • 10 behavioral k3d scenarios passed
    • all workloads Ready, zero restarts, clean crash/fatal log scan
    • default, backup, external database, External Secrets, Gateway API, Ingress, MySQL, PostgreSQL, and new email-worker scenarios covered
  • schema rejection verified for queue size 0 and interval 301
  • make standards-check CHART=answer
  • node scripts/charts/template-standards-check.js --chart answer
  • make site-sync-check CHART=answer
  • make release-check REPO=charts
  • make attribution-check REPO=charts
  • make preflight

Self-review

  • reviewed every changed line against main
  • confirmed the image and appVersion match the latest stable upstream release
  • confirmed no chart package version was edited
  • confirmed the new schema bounds match the upstream constants
  • confirmed the new values render the exact upstream environment variables
  • confirmed no stale 2.0.1 reference remains under charts/answer
  • confirmed the diff contains no unrelated changes or attribution trailers

Summary by CodeRabbit

  • New Features

    • Added configuration for new-question email delivery, including queue capacity and sending intervals.
    • Added support for disabling email throttling by setting the interval to zero.
    • Exposed the new settings through Helm chart values and deployment configuration.
  • Documentation

    • Updated chart documentation with the new notification settings.
  • Chores

    • Updated the application image and chart version to 2.0.2.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ace1f052-c6dc-4fbc-82a0-55dde2269e48

📥 Commits

Reviewing files that changed from the base of the PR and between b8371ed and 3d7e976.

📒 Files selected for processing (7)
  • charts/answer/Chart.yaml
  • charts/answer/README.md
  • charts/answer/ci/new-question-email-worker.yaml
  • charts/answer/templates/deployment.yaml
  • charts/answer/tests/deployment_test.yaml
  • charts/answer/values.schema.json
  • charts/answer/values.yaml

📝 Walkthrough

Walkthrough

The Answer Helm chart adds configurable new-question email queue and throttling settings, renders them as container environment variables, validates and documents them, and adds CI/test coverage. The chart and default image version are updated from 2.0.1 to 2.0.2.

Changes

Answer chart updates

Layer / File(s) Summary
New-question email configuration
charts/answer/values.yaml, charts/answer/values.schema.json, charts/answer/templates/deployment.yaml, charts/answer/ci/new-question-email-worker.yaml, charts/answer/tests/deployment_test.yaml, charts/answer/README.md
Adds queueSize and sendIntervalSeconds defaults, strict schema validation, deployment environment variables, CI values, documentation, and rendering tests.
Answer image version update
charts/answer/Chart.yaml, charts/answer/values.yaml, charts/answer/tests/deployment_test.yaml
Updates chart metadata, the default image tag, and the expected test image from 2.0.1 to 2.0.2.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly states the main change: upgrading Apache Answer to 2.0.2.
Linked Issues check ✅ Passed The PR updates the image tag and appVersion, and adds the documented config changes for the new release.
Out of Scope Changes check ✅ Passed No clear unrelated changes are introduced; the added config, schema, tests, and docs all support the upgrade.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/answer-2.0.2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Standards Check (GR-079) — PASS

Every changed chart fully passes standards-check.

@github-actions

Copy link
Copy Markdown
Contributor

🟢 Security Scan: answer

Framework Score
MITRE + NSA + SOC2 88.60029%

✅ Security posture acceptable.

mberlofa added a commit to helmforgedev/site that referenced this pull request Jul 30, 2026
## Summary

- updates the Apache Answer image reference to `2.0.2`
- documents the new typed settings for the new-question email worker
- keeps the complete values reference aligned with the chart defaults
and schema

## User impact

Users can see the supported queue-size and send-interval controls
introduced with Answer 2.0.2 directly in the chart documentation.

## Validation

- `npm run lint`
- `npm run format:check`
- `npm run build` (162 pages generated; 158 indexed by Pagefind)
- `make site-sync-check CHART=answer`
- `make release-check REPO=site`
- `make attribution-check REPO=site`

## Self-review

- reviewed the complete diff against `main`
- confirmed only the Answer chart page changed
- confirmed documented defaults and bounds match the chart values and
upstream behavior
- confirmed no stale Answer image version remains in the changed
reference

Companion chart PR: helmforgedev/charts#860.

Related to helmforgedev/charts#831.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Updated the Apache Answer Helm chart documentation to reference
container image tag `2.0.2`.
* Added documentation for notification queue size and email send
interval settings.
* Retained existing configuration references for site details, language,
contact email, installation, logging, and environment variables.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@mberlofa
mberlofa merged commit a471333 into main Jul 30, 2026
17 checks passed
@mberlofa
mberlofa deleted the chore/answer-2.0.2 branch July 30, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(answer): upstream image update available (2.0.1 → 2.0.2)

1 participant