-
Notifications
You must be signed in to change notification settings - Fork 8
feat: Deploy & Run History follow-ups — polling, metrics, deep-links, DB columns, server-side filters #64
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
Open
abhizipstack
wants to merge
16
commits into
main
Choose a base branch
from
feat/deploy-runhistory-followups
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9ab3ae6
feat: deep-link success toast to Run History + auto-expand latest run
abhizipstack 349a442
feat: pre-fill create-job form from Quick Deploy 0-candidates CTA
abhizipstack 09fd9b5
feat: promote trigger + scope to real DB columns on TaskRunHistory
abhizipstack 04db1af
feat: server-side Run History filtering by trigger, scope, status
abhizipstack 0ff6aa0
feat: live deploy progress polling on Quick Deploy button
abhizipstack b607842
feat: capture runtime metrics from BASE_RESULT into TaskRunHistory
abhizipstack f1f3f93
fix: toast JSX links not rendering — add renderMarkdown: false
abhizipstack e8465cb
fix: hide metrics bar when result has no model data
abhizipstack 4009b8b
fix: extract clean model name from class repr in run metrics
abhizipstack 40ddbbc
fix: use class name for metrics instead of module name
abhizipstack 2eedc37
fix: filter out Source classes from run metrics
abhizipstack bede6a9
fix: Source classes start with Source, not end with it
abhizipstack 3c44484
fix: address PR #64 review — pagination filters, stale global, closur…
abhizipstack 8d25507
fix: prettier formatting for toast deep-link JSX
abhizipstack 4b223a1
fix: address Greptile review — BASE_RESULT ordering + pagination deps
abhizipstack 31c02df
fix: use filterQueries.job instead of envInfo.id in pagination
abhizipstack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
backend/backend/core/scheduler/migrations/0002_taskrunhistory_trigger_scope.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ("job_scheduler", "0001_initial"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name="taskrunhistory", | ||
| name="trigger", | ||
| field=models.CharField( | ||
| choices=[("scheduled", "Scheduled"), ("manual", "Manual")], | ||
| default="scheduled", | ||
| help_text="How the run was initiated: cron/interval schedule or manual dispatch.", | ||
| max_length=20, | ||
| ), | ||
| ), | ||
| migrations.AddField( | ||
| model_name="taskrunhistory", | ||
| name="scope", | ||
| field=models.CharField( | ||
| choices=[("job", "Full job"), ("model", "Single model")], | ||
| default="job", | ||
| help_text="Whether the run executed all job models or a single model.", | ||
| max_length=20, | ||
| ), | ||
| ), | ||
| migrations.AddIndex( | ||
| model_name="taskrunhistory", | ||
| index=models.Index( | ||
| fields=["trigger"], name="job_schedul_trigger_idx" | ||
| ), | ||
| ), | ||
| migrations.AddIndex( | ||
| model_name="taskrunhistory", | ||
| index=models.Index( | ||
| fields=["scope"], name="job_schedul_scope_idx" | ||
| ), | ||
| ), | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.