Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(backend): Add graph/node id & execution id on CreditTransaction table #9217

Open
wants to merge 68 commits into
base: dev
Choose a base branch
from

Conversation

majdyz
Copy link
Contributor

@majdyz majdyz commented Jan 8, 2025

We need to be able to determine the cost of graph/node execution.

Changes πŸ—οΈ

  • Add these columns into CreditTransaction metadata column:
    • graph_id
    • node_id
    • graph_exec_id
    • node_exec_id
    • block_id
  • Drop the blockId column and backfill the dropped value into metadata->>block_id.
  • Frequent queries on these values will require an index created on demand through a migration, depending on the use case.

kcze and others added 30 commits December 11, 2024 18:05
…y-implement-transactions-snapshotting' into zamilmajdy/secrt-1014-scalability-implement-transactions-snapshotting
@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Jan 13, 2025
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

Pwuts
Pwuts previously approved these changes Jan 14, 2025
…ement-top-up-flow' into zamilmajdy/secrt-1015-phase-2-add-agentnodeexecution-id-in-userblockcredit
@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Jan 14, 2025
Copy link
Contributor

Conflicts have been resolved! πŸŽ‰ A maintainer will review the pull request shortly.

Base automatically changed from kpczerwinski/secrt-1012-mvp-implement-top-up-flow to dev January 16, 2025 00:01
@majdyz majdyz dismissed stale reviews from Pwuts, kcze, and aarushik93 January 16, 2025 00:01

The base branch was changed.

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Jan 16, 2025
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

…milmajdy/secrt-1015-phase-2-add-agentnodeexecution-id-in-userblockcredit
@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Jan 16, 2025
Copy link
Contributor

Conflicts have been resolved! πŸŽ‰ A maintainer will review the pull request shortly.

@majdyz majdyz requested a review from Pwuts January 16, 2025 00:36
Copy link

netlify bot commented Jan 16, 2025

βœ… Deploy Preview for auto-gpt-docs canceled.

Name Link
πŸ”¨ Latest commit fd0b39c
πŸ” Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/678856bca913780008fdf31e

@majdyz majdyz enabled auto-merge January 16, 2025 00:37
Copy link

netlify bot commented Jan 16, 2025

βœ… Deploy Preview for auto-gpt-docs-dev canceled.

Name Link
πŸ”¨ Latest commit fd0b39c
πŸ” Latest deploy log https://app.netlify.com/sites/auto-gpt-docs-dev/deploys/678856bc22d6960008749eb8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants