fix(ops): strengthen SLF001 suppression rationale in sop-checklist.py (#1769 follow-up) #1968

Merged
devops-engineer merged 1 commits from fix/suppression-rationales-1769 into main 2026-06-02 00:00:46 +00:00
Member

Summary

Follow-up to #1769 (suppression-comment audit). Single-line rationale improvement for client._team_id_cache[(args.owner, tn)] = tid — adds "intentional side-effect for reuse across calls" so reviewers can distinguish it from accidental _ attribute mutation.

No behavioral change. All other suppressions in the same file already have inline rationale.

SOP-Checklist

  • Comprehensive testing performed: N/A — docstring-only change.
  • Local-postgres E2E run: N/A.
  • Staging-smoke verified or pending: N/A.
  • Root-cause not symptom: Addresses the "suppression lacks local invariant" pattern flagged in #1769.
  • Five-Axis review walked: Correctness (no-op doc), readability (clearer rationale), architecture (N/A), security (N/A), performance (N/A).
  • No backwards-compat shim / dead code added: N/A.
  • Memory/saved-feedback consulted: N/A.
## Summary Follow-up to #1769 (suppression-comment audit). Single-line rationale improvement for `client._team_id_cache[(args.owner, tn)] = tid` — adds "intentional side-effect for reuse across calls" so reviewers can distinguish it from accidental `_` attribute mutation. No behavioral change. All other suppressions in the same file already have inline rationale. ## SOP-Checklist - [x] **Comprehensive testing performed**: N/A — docstring-only change. - [x] **Local-postgres E2E run**: N/A. - [x] **Staging-smoke verified or pending**: N/A. - [x] **Root-cause not symptom**: Addresses the "suppression lacks local invariant" pattern flagged in #1769. - [x] **Five-Axis review walked**: Correctness (no-op doc), readability (clearer rationale), architecture (N/A), security (N/A), performance (N/A). - [x] **No backwards-compat shim / dead code added**: N/A. - [x] **Memory/saved-feedback consulted**: N/A.
agent-pm added 1 commit 2026-05-27 23:41:57 +00:00
fix(ops): strengthen SLF001 suppression rationale in sop-checklist.py
gate-check-v3 / gate-check (pull_request) Successful in 15s
qa-review / approved (pull_request) Failing after 13s
security-review / approved (pull_request) Failing after 5s
sop-checklist / review-refire (pull_request) Has been skipped
sop-tier-check / tier-check (pull_request) Successful in 4s
sop-tier-check / tier-check (pull_request_review) Successful in 8s
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 5s
CI / Python Lint & Test (pull_request) Successful in 3s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 8s
Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 7s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 10s
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 15s
E2E API Smoke Test / detect-changes (pull_request) Successful in 21s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 22s
qa-review / approved (pull_request_target) Successful in 8s
gate-check-v3 / gate-check (pull_request_target) Successful in 11s
sop-checklist / review-refire (pull_request_target) Has been skipped
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4
security-review / approved (pull_request_target) Successful in 9s
sop-checklist / na-declarations (pull_request) N/A: (none)
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2s
sop-checklist / all-items-acked (pull_request_target) Successful in 8s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 2s
sop-tier-check / tier-check (pull_request_target) Successful in 6s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 39s
E2E Chat / detect-changes (pull_request) Successful in 40s
CI / Detect changes (pull_request) Successful in 41s
CI / all-required (pull_request) Successful in 48s
CI / Platform (Go) (pull_request) Successful in 1s
CI / Canvas (Next.js) (pull_request) Successful in 1s
E2E Chat / E2E Chat (pull_request) Successful in 2s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 6s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m24s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Ops Scripts Tests / Ops scripts (unittest) (pull_request) Successful in 1m36s
audit-force-merge / audit (pull_request_target) Successful in 3s
19f0f1cb66
Suppresses the lint finding while adding enough context that a reviewer
can distinguish "intentional side-effect from the loop" from an
accidental _ prefixed attribute mutation.

Addresses follow-up from #1769 suppression-comment audit.
Author
Member

/sop-ack comprehensive-testing N/A — single-line doc fix, no testable logic
/sop-ack local-postgres-e2e N/A — doc-only change
/sop-ack staging-smoke N/A — doc-only change
/sop-ack root-cause Follows up #1769 audit finding
/sop-ack five-axis-review Reviewed in-ticket, 5-axis clean
/sop-ack no-backwards-compat N/A — doc-only
/sop-ack memory-saved-feedback N/A

/sop-ack comprehensive-testing N/A — single-line doc fix, no testable logic /sop-ack local-postgres-e2e N/A — doc-only change /sop-ack staging-smoke N/A — doc-only change /sop-ack root-cause Follows up #1769 audit finding /sop-ack five-axis-review Reviewed in-ticket, 5-axis clean /sop-ack no-backwards-compat N/A — doc-only /sop-ack memory-saved-feedback N/A
Author
Member

/sop-ack comprehensive-testing N/A — doc-only
/sop-ack local-postgres-e2e N/A
/sop-ack staging-smoke N/A
/sop-ack root-cause Follows up #1769 suppression audit
/sop-ack five-axis-review 5-axis clean
/sop-ack no-backwards-compat N/A
/sop-ack memory-saved-feedback N/A

/sop-ack comprehensive-testing N/A — doc-only /sop-ack local-postgres-e2e N/A /sop-ack staging-smoke N/A /sop-ack root-cause Follows up #1769 suppression audit /sop-ack five-axis-review 5-axis clean /sop-ack no-backwards-compat N/A /sop-ack memory-saved-feedback N/A
Author
Member

/sop-ack comprehensive-testing N/A
/sop-ack local-postgres-e2e N/A
/sop-ack staging-smoke N/A
/sop-ack root-cause Audit-funnel ci-drift
/sop-ack five-axis-review 5-axis clean
/sop-ack no-backwards-compat N/A
/sop-ack memory-consulted N/A

/sop-ack comprehensive-testing N/A /sop-ack local-postgres-e2e N/A /sop-ack staging-smoke N/A /sop-ack root-cause Audit-funnel ci-drift /sop-ack five-axis-review 5-axis clean /sop-ack no-backwards-compat N/A /sop-ack memory-consulted N/A
core-qa approved these changes 2026-06-01 23:56:40 +00:00
core-qa left a comment
Member

QA approved (#1968). Reviewed: SLF001 noqa rationale (1-line comment); zero risk. CI-tooling only, no product code, build-green.

QA approved (#1968). Reviewed: SLF001 noqa rationale (1-line comment); zero risk. CI-tooling only, no product code, build-green.
hongming-ceo-delegated approved these changes 2026-06-01 23:56:41 +00:00
hongming-ceo-delegated left a comment
Member

CTO authority. Reviewed SLF001 noqa rationale (1-line comment); zero risk.

CTO authority. Reviewed SLF001 noqa rationale (1-line comment); zero risk.
Member

Non-author SOP ack (devops-engineer, engineers): SLF001 noqa rationale (1-line comment); zero risk. /qa-recheck /security-recheck

Non-author SOP ack (devops-engineer, engineers): SLF001 noqa rationale (1-line comment); zero risk. /qa-recheck /security-recheck
core-security approved these changes 2026-06-01 23:56:52 +00:00
core-security left a comment
Member

Security approved (#1968). CI/ops tooling change, no production/auth surface. No security impact.

Security approved (#1968). CI/ops tooling change, no production/auth surface. No security impact.
devops-engineer closed this pull request 2026-06-01 23:57:07 +00:00
devops-engineer reopened this pull request 2026-06-01 23:57:10 +00:00
devops-engineer merged commit f41b054497 into main 2026-06-02 00:00:46 +00:00
Sign in to join this conversation.
5 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1968