-
-
Notifications
You must be signed in to change notification settings - Fork 730
Run completed at fix and engine API rate limit whitelist #1899
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
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request updates several components to improve timestamp handling and control flow. In the timeline, it now prioritizes Changes
Sequence Diagram(s)sequenceDiagram
participant TC as Timeline Component
participant BT as buildTimelineItems
participant FD as formatDuration
TC->>BT: Provide run data
BT->>FD: Calculate title for "executing" (using run.completedAt then run.updatedAt)
BT->>FD: Calculate title for "legacy-executing" (using run.completedAt then run.updatedAt)
BT->>TC: Return timeline items with updated titles and date
sequenceDiagram
participant TR as TaskRunsTable Component
participant Env as Environment (isManagedCloud)
TR->>Env: Check managed cloud status
Env-->>TR: Return isManagedCloud flag
TR->>TR: Determine showCompute (based solely on isManagedCloud)
TR->>UI: Render compute info if enabled
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
We've been using the run
updatedAt
for completed because we didn't used to have that column. This worked well in general but metadata updates can come through after the run is complete if you usetrigger()
combined withmetadata.root.set()
.Added a whitelist for
/engine/v1/worker-actions/
to the engine rate limiter.Summary by CodeRabbit
New Features
Chores