Skip to content

Conversation

@XingY
Copy link
Contributor

@XingY XingY commented Oct 24, 2025

Rationale

This PR enhances the transaction audit logging by adding detailed transaction metadata tracking. The changes introduce a new TransactionDetails field to capture contextual information about requests, including the source of requests, client libraries used, import options, and data iterator usage.

Related Pull Requests

Changes

  • Added TransactionDetail enum to capture structured metadata about transactions
  • Refactored audit event constructors to use TransactionAuditEvent object instead of just rowIds
  • Updated update services to flag when DataIterator is used
  • Enhanced HTTP utility methods to extract client and product information from requests

@XingY XingY requested a review from Copilot October 29, 2025 03:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the transaction audit logging system by adding detailed transaction metadata tracking. The changes introduce a new TransactionDetails field to capture contextual information about database transactions, including the source of requests, client libraries used, import options, and data iterator usage.

  • Added TransactionDetail enum to capture structured metadata about transactions
  • Refactored audit event constructors to use TransactionAuditEvent objects instead of just IDs
  • Updated update services across the codebase to flag when DataIterator is used
  • Enhanced HTTP utility methods to extract client and product information from requests

Reviewed Changes

Copilot reviewed 37 out of 37 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
TransactionAuditProvider.java Added TransactionDetail enum and transactionDetails field/methods to TransactionAuditEvent
BaseViewAction.java Added utility methods to extract transaction audit details from view context
HttpUtil.java Added public methods to extract client library and referer information from requests
AbstractQueryUpdateService.java Added overload of createTransactionAuditEvent accepting transaction details
Multiple UpdateService files Added logic to flag DataIteratorUsed in configParameters
Multiple AuditEvent files Replaced setTransactionId() with setTransactionEvent() calls
QueryController.java Added auditDetails extraction and propagation through JSON commands
AssayRunCreator.java Updated interface signature to accept transactionDetails parameter
Various implementation files Updated method signatures and calls to propagate transactionDetails

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@XingY XingY requested a review from cnathe October 30, 2025 18:40
_forceSaveBatchProps = true;
}

// Do all the real work of the import
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: seems like this comment above should stay with (come right before) the call to saveExperimentRun

@XingY XingY merged commit 5022c9a into develop Nov 2, 2025
9 of 10 checks passed
@XingY XingY deleted the fb_transactionAuditDetails branch November 2, 2025 15:36
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.

3 participants