Skip to content

ops: capture worker cgroup memory evidence - #725

Merged
seonghobae merged 9 commits into
feat/dashboard-case-metricsfrom
codex/postgres-worker-capacity-evidence
Aug 26, 2026
Merged

ops: capture worker cgroup memory evidence#725
seonghobae merged 9 commits into
feat/dashboard-case-metricsfrom
codex/postgres-worker-capacity-evidence

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • attributes worker OOM only from Docker OOMKilled or cgroup v2 oom_kill, never exit 137 alone
  • captures unchanged-container memory.current, memory.peak, memory.max, and local pressure events in non-identifying JSON
  • records PostgreSQL cumulative WAL/checkpoint evidence while retaining ADR 0227 aligned-plan/apply boundary
  • adds ADR 0247, APA 7 references, operator procedure, and exact feat(dashboard): quantify cases and preserve project journeys #640 gap snapshot

Verification

  • uv run --extra dev coverage run -m pytest -q tests/test_worker_memory_evidence.py (15 passed)
  • uv run --extra dev coverage report -m scripts/capture_worker_memory_evidence.py (100%)
  • uv run --extra dev pytest -q tests/test_worker_memory_evidence.py tests/test_postgres_tuning_plan.py tests/test_public_docstrings.py tests/test_documentation_hygiene.py (62 passed)
  • docker compose -p lineageweave config --quiet
  • canonical one-second aggregate observation: healthy, no configured worker service memory limit/reservation, no new local pressure/OOM event; idle evidence only, not capacity acceptance

Safety

  • no record content, record identifiers, container identifiers, or credentials are persisted
  • no PostgreSQL or Compose setting is changed
  • no arbitrary headroom multiplier or memory-limit proposal is emitted

Open in Devin Review

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6d9cbf6d-d486-4b05-8cdf-40cfa4fefc08

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Open in Devin Review

Comment thread scripts/capture_worker_memory_evidence.py
@seonghobae
seonghobae merged commit ebfe60a into feat/dashboard-case-metrics Aug 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant