Skip to content

docs(aliyun): record live disk-alarm identity and polymarket known issues - #751

Merged
proerror77 merged 2 commits into
mainfrom
codex/docs-monitor-alarms-known-issues-20260808
Aug 8, 2026
Merged

proerror77 merged 2 commits into
mainfrom
codex/docs-monitor-alarms-known-issues-20260808

Conversation

@proerror77

@proerror77 proerror77 commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Change contract

Document the live Cloud Monitor disk-alarm identity for the collector host
and land two known-issue write-ups from the 2026-08-05/06 Aliyun disk-full
incident follow-ups:

  • deployment/aliyun/README.md records the readback-verified Cloud Monitor
    alarm rules monday-collector-disk-warn (Average > 75%, Warn) and
    monday-collector-disk-critical (Average > 90%, Critical) on
    acs_ecs_dashboard/diskusage_utilization for instance
    i-6we6afeqsvv8uo1ixmyo (3 consecutive 60s periods, contact group
    云账号报警联系人, recovery notification on), the 60s-period deviation from
    the representative JSON, and the two open gaps (no CloudMonitor guest-agent
    datapoints yet; monday-oncall email + DingTalk contact group not yet
    created).
  • docs/reports/2026-08-08-polymarket-parity-high-rate-tapes-known-issue.md
    the shadow parity validator's all-or-nothing stable read of the live
    baseline spool fails closed on high-rate tapes; follow-up fix in polymarket parity validator cannot validate high-rate tapes: stable-read race on the live baseline spool #747.
  • docs/reports/2026-08-08-polymarket-raw-ops-gate-recover-known-issue.md
    the raw-ops gate recover admission pins systemd ActiveState == inactive
    and refuses failed-state contained units with no governed remediation;
    follow-up fix in bug(polymarket-release): gate recover refuses failed-state contained units, no governed remediation #748.

One behavior: documentation of already-verified live state and already-filed
defects. No code, configuration, or runtime change.

Issue relationship

Refs #747

Out of scope

Dependencies and merge order

None.

Focused validation

Rollout and rollback

None. Documentation only; no production impact. Rollback is reverting the
merge commit.

Scope exception

None.

Summary by CodeRabbit

  • Documentation
    • Added live Cloud Monitor alarm details for collector host disk utilization, including thresholds, evaluation periods, contacts, and recovery notifications.
    • Documented deployment gaps involving missing guest-agent metrics and unconfigured on-call notifications.
    • Added a known-issue report covering high-rate Polymarket parity validation failures and proposed validator improvements.
    • Added a known-issue report for raw-ops recovery failures involving systemd units in a failed state, with safety requirements and acceptance criteria.

…sues

Document the readback-verified Cloud Monitor disk alarm rules
monday-collector-disk-warn/-critical on i-6we6afeqsvv8uo1ixmyo,
including the 60s-period deviation and the two open gaps (missing
CloudMonitor guest agent datapoints, missing monday-oncall contact
group). Add known-issue write-ups for the shadow parity validator
stable-read race (refs #747) and the gate recover failed-state
admission refusal (refs #748).
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The PR documents live Cloud Monitor alarms and two Polymarket known issues. The reports describe parity validation failures and raw-ops recovery admission behavior, then define proposed fixes, acceptance criteria, and scope boundaries.

Changes

Cloud Monitor documentation

Layer / File(s) Summary
Alarm configuration and deployment gaps
deployment/aliyun/README.md
Documents disk-utilization alarm rules, thresholds, evaluation periods, recovery notifications, missing guest-agent metrics, and missing on-call webhook configuration.

Polymarket parity known issue

Layer / File(s) Summary
Failure mechanism and impact
docs/reports/2026-08-08-polymarket-parity-high-rate-tapes-known-issue.md
Describes stable-read failures, whole-spool parsing, memory retention, candidate causes, and fail-closed effects.
Validator redesign and acceptance criteria
docs/reports/2026-08-08-polymarket-parity-high-rate-tapes-known-issue.md
Proposes append-tolerant snapshots, window-scoped parsing, bounded-memory comparison, and compatibility criteria.

Polymarket raw-ops recovery known issue

Layer / File(s) Summary
Recovery defect and evidence
docs/reports/2026-08-08-polymarket-raw-ops-gate-recover-known-issue.md
Documents failed-state admission rejection, containment evidence, lock timing, and systemd identity handling.
Safety behavior and recovery precedent
docs/reports/2026-08-08-polymarket-raw-ops-gate-recover-known-issue.md
Records fail-closed behavior, operational effects, and comparison with governed restore behavior.
Governed recovery proposal and criteria
docs/reports/2026-08-08-polymarket-raw-ops-gate-recover-known-issue.md
Proposes governed failed-unit recovery, durable admission evidence, regression criteria, and scope boundaries.

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

Possibly related issues

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the live Aliyun disk-alarm documentation and the Polymarket known-issue documentation added by the pull request.
Description check ✅ Passed The description completes every template section and clearly states the documentation scope, issue links, validation, dependencies, and rollback plan.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/docs-monitor-alarms-known-issues-20260808

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.

@coderabbitai coderabbitai 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.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/reports/2026-08-08-polymarket-parity-high-rate-tapes-known-issue.md`:
- Around line 175-184: Update the streaming per-lane comparison proposed in the
bounded-memory section to preserve record_id multiplicity: use a count-aware
accumulator or explicitly detect duplicate identities before digest comparison.
Ensure duplicate record_id values still fail closed, while preserving the
existing evidence metrics and policy compatibility requirements.
- Around line 156-165: Update the validator’s stream_stable_rows flow to retain
the initial path device/inode metadata, read only complete rows within the
snapshot boundary when it ends mid-line, then re-stat the path and require the
same device/inode with size at least the snapshot size. Preserve fail-closed
behavior for truncation, replacement, rename, and other identity changes.

In `@docs/reports/2026-08-08-polymarket-raw-ops-gate-recover-known-issue.md`:
- Around line 211-214: Update recover_gate to serialize the precondition reads,
governed reset, admission evidence writing, and gate start under one
CONTROL_LOCK critical section without invoking start_gate’s lock acquisition
recursively. Pass the held lock descriptor through or call a helper that
performs gate start without flock -x 9, while preserving the existing admission
flow.
- Around line 197-210: Update the governed reset admission flow to verify that
failed units have no pending activation jobs and no queued activation source
before accepting them. Document these checks alongside the reset procedure, and
add a harness case covering a retriggered or pending-start unit to ensure it is
rejected or handled safely before recording the post-reset snapshot.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 64540977-e292-4896-9001-7cb3dee307f8

📥 Commits

Reviewing files that changed from the base of the PR and between b02c1dd and c05942e.

📒 Files selected for processing (3)
  • deployment/aliyun/README.md
  • docs/reports/2026-08-08-polymarket-parity-high-rate-tapes-known-issue.md
  • docs/reports/2026-08-08-polymarket-raw-ops-gate-recover-known-issue.md

@proerror77
proerror77 enabled auto-merge (squash) August 8, 2026 06:04
@proerror77
proerror77 merged commit d0f9fc9 into main Aug 8, 2026
44 checks passed
@proerror77
proerror77 deleted the codex/docs-monitor-alarms-known-issues-20260808 branch August 8, 2026 06:11
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