Skip to content

fix(dss|properties): inconsistent deleted at#1202

Merged
whutchinson98 merged 8 commits intomainfrom
hutch/fix-inconsistent-deleted-at
Jan 27, 2026
Merged

fix(dss|properties): inconsistent deleted at#1202
whutchinson98 merged 8 commits intomainfrom
hutch/fix-inconsistent-deleted-at

Conversation

@whutchinson98
Copy link
Copy Markdown
Member

This PR addresses the inconsistency issues around handling deleted item access in properties service. It also adds the deletedAt field to DocumentMetadata

@claude
Copy link
Copy Markdown
Contributor

claude bot commented Jan 27, 2026

Code review

I found 1 issue that needs attention:

Missing err attribute in tracing::instrument

File: rust/cloud-storage/macro_db_client/src/item_access/get.rs:6

According to CLAUDE.md line 300:

Include err when adding the tracing::instrument attribute to functions. Never include level = "info".

The #[tracing::instrument(skip(db))] attribute should include err since this function returns a Result type.

Suggested fix:

#[tracing::instrument(skip(db), err)]

Review summary: Checked for bugs and CLAUDE.md compliance. Found 1 CLAUDE.md violation. No bugs detected.

@whutchinson98 whutchinson98 requested a review from a team as a code owner January 27, 2026 18:09
@claude
Copy link
Copy Markdown
Contributor

claude bot commented Jan 27, 2026

I found one CLAUDE.md compliance issue in this PR.

In rust/cloud-storage/macro_db_client/src/item_access/get.rs at line 6, the tracing::instrument attribute is missing the err parameter. Functions that return Result types should include err in their tracing instrumentation per CLAUDE.md guidelines.

The function should use:
#[tracing::instrument(skip(db), err)]

Reference:

- Include `err` when adding the `tracing::instrument` attribute to functions. Never include `level = "info"`.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 27, 2026

@whutchinson98 whutchinson98 merged commit 637d4ac into main Jan 27, 2026
36 of 38 checks passed
@whutchinson98 whutchinson98 deleted the hutch/fix-inconsistent-deleted-at branch January 27, 2026 19:02
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.

1 participant