-
-
Notifications
You must be signed in to change notification settings - Fork 9
Include links to jobs in product details #1384
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
FyreByrd
wants to merge
22
commits into
develop
Choose a base branch
from
feature/track-jobs
base: develop
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 13 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
fda7ea7
Add db migration
FyreByrd b869fe7
Write job records
FyreByrd ba477c6
Preserve transitions with associated records
FyreByrd b5eea92
Show queue records in UI
FyreByrd dffec51
Include records for workflow triggered actions
FyreByrd 47080f4
Move BullMQ types so types can be used in frontend
FyreByrd d91586d
Link to SystemStatus job from build engine statuses
FyreByrd 79d4d26
Correct transition search
FyreByrd 9c423a1
Fix # in url
FyreByrd 5962126
Use Queue/JobId as id for QueueRecords
FyreByrd b979742
Link more jobs for build/publish
FyreByrd 96fa038
Apply cursor-pointer style
FyreByrd 57562c0
Remove unnecessary string replace
FyreByrd cddb920
Include job records display in mobile
FyreByrd ca27e2b
Match deletion filter in Workflow
FyreByrd d103675
Log error in job
FyreByrd 333d257
Fix retries
FyreByrd d622d24
Fix transition update
FyreByrd 326d546
Create single record
FyreByrd 6f3c38e
Move record creation to be hopefully immediate
FyreByrd f7564b8
Add recovery to job record association
FyreByrd 87d45e2
Use transaction client
FyreByrd 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| export enum QueueName { | ||
| Builds = 'Builds', | ||
| System_Recurring = 'System (Recurring)', | ||
| System_Startup = 'System (Startup)', | ||
| Products = 'Products', | ||
| Projects = 'Projects', | ||
| Publishing = 'Publishing', | ||
| Polling = 'Polling', | ||
| UserTasks = 'User Tasks', | ||
| Emails = 'Emails', | ||
| SvelteSSE = 'Svelte SSE' | ||
| } | ||
|
|
||
| export enum JobType { | ||
| // Build Jobs | ||
| Build_Product = 'Build Product', | ||
| Build_PostProcess = 'Postprocess Build', | ||
| // Polling Jobs | ||
| Poll_Build = 'Check Product Build', | ||
| Poll_Project = 'Check Project Creation', | ||
| Poll_Publish = 'Check Product Publish', | ||
| // Product Jobs | ||
| Product_Create = 'Create Product - BuildEngine', | ||
| Product_Delete = 'Delete Product - BuildEngine', | ||
| Product_GetVersionCode = 'Get VersionCode for Uploaded Product', | ||
| Product_CreateLocal = 'Create Local Product', | ||
| // Project Jobs | ||
| Project_Create = 'Create Project', | ||
| Project_ImportProducts = 'Import Products for Project', | ||
| // Publishing Jobs | ||
| Publish_Product = 'Publish Product', | ||
| Publish_PostProcess = 'Postprocess Publish', | ||
| // System Jobs | ||
| System_CheckEngineStatuses = 'Check BuildEngine Statuses', | ||
| System_RefreshLangTags = 'Refresh langtags.json', | ||
| System_Migrate = 'Migrate Features from S1 to S2', | ||
| // UserTasks Job | ||
| UserTasks_Modify = 'Modify UserTasks', | ||
| // Email Jobs | ||
| Email_InviteUser = 'Invite User', | ||
| Email_SendNotificationToUser = 'Send Notification to User', | ||
| Email_SendNotificationToReviewers = 'Send Notification to Product Reviewers', | ||
| Email_SendNotificationToOrgAdminsAndOwner = 'Send Notification to Org Admins and Owners', | ||
| Email_SendBatchUserTaskNotifications = 'Send Batch User Task Notifications', | ||
| Email_NotifySuperAdminsOfNewOrganizationRequest = 'Notify Super Admins of New Organization Request', | ||
| Email_NotifySuperAdminsOfOfflineSystems = 'Notify Super Admins of Offline Systems', | ||
| Email_NotifySuperAdminsLowPriority = 'Notify Super Admins (Low Priority)', | ||
| Email_ProjectImportReport = 'Project Import Report', | ||
| // Svelte Project SSE | ||
| SvelteSSE_UpdateProject = 'Update Project', | ||
| SvelteSSE_UpdateUserTasks = 'Update UserTasks' | ||
| } | ||
|
|
||
| export enum JobSchedulerId { | ||
| SystemStatusEmail = 'SystemStatusEmail', | ||
| RefreshLangTags = 'RefreshLangTags', | ||
| CheckSystemStatuses = 'CheckSystemStatuses', | ||
| PruneUsers = 'PruneUsers' | ||
| } |
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
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,15 @@ | ||
| -- CreateTable | ||
| CREATE TABLE "QueueRecords" ( | ||
| "ProductTransitionId" INTEGER NOT NULL, | ||
| "Queue" TEXT NOT NULL, | ||
| "JobType" TEXT NOT NULL, | ||
| "JobId" TEXT NOT NULL, | ||
|
|
||
| CONSTRAINT "IX_QueueRecords_Queue_JobId" PRIMARY KEY ("Queue", "JobId") | ||
| ); | ||
|
|
||
| -- CreateIndex | ||
| CREATE INDEX "IX_QueueRecords_ProductTransitionId" ON "QueueRecords"("ProductTransitionId"); | ||
|
|
||
| -- AddForeignKey | ||
| ALTER TABLE "QueueRecords" ADD CONSTRAINT "FK_QueueRecords_ProductTransitions_ProductTransitionId" FOREIGN KEY ("ProductTransitionId") REFERENCES "ProductTransitions"("Id") ON DELETE CASCADE ON UPDATE NO ACTION; |
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
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.