Fix retention, failure tracking, notifications, and DX hygiene - #21
Open
fishygeek91 wants to merge 4 commits into
Open
Fix retention, failure tracking, notifications, and DX hygiene#21fishygeek91 wants to merge 4 commits into
fishygeek91 wants to merge 4 commits into
Conversation
Prune now uses a Datetime bind and runs in a Queueable so cascade deletes cannot roll back test enqueue. Failures key on class+method, Skip is not counted, and tests assert the real product behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
Exclude namespaced classes from SOSL, store parent job IDs as long text, and surface Queued/Processed/Failed/Abandoned on Test_Run__c. Tabs, list views, layouts, and permission-set FLS make the package usable after install. Co-authored-by: Cursor <cursoragent@cursor.com>
Ship a Draft record-triggered Flow with a PRIORVALUE guard and an owner-based email alert. The VF template is UTF-8, caps rows at 200, and uses org-domain URLs. Deploy with sf project deploy start. Co-authored-by: Cursor <cursoragent@cursor.com>
Align metadata to API 59, document sf CLI and perm-set setup, ignore .sf/, turn off deploy-on-save, and add a scratch-org GitHub Action. Co-authored-by: Cursor <cursoragent@cursor.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Remediation from the full package review. Deployed and tested only on mooserd (Org Id
00DgK00000RiIT7UAN).Datetimebind, Queueable cleanup). First-failure keys on class + method. Skip is not a failure. Tests assert the real behavior.Parent_Job_Ids__cis Long Text;Status__c/Error_Message__c; tabs, list views, layouts, perm-set FLS. Scale stretch (Batchable processor, Tooling discovery) is still out of scope.sfCLI docs, API 59, MITpackage.json,.sf/gitignored, deploy-on-save off, scratch def, GitHub Action (needsDEVHUB_AUTH_URL).Closes #17 #18 #20 #19
Test plan
sf project deploy start --source-dir force-app --target-org mooserdsf project deploy start --source-dir notifications/workflow-email --target-org mooserdTestRunSchedulerTest,TestRunProcessorTest,TestRunCleanupTest,TestRunEmailControllerTest)Test_Runnerperm set and confirm tabs / Unprocessed Runs / Failed MethodsTest Run Failure Notificationin a sandbox before any production useDEVHUB_AUTH_URLso CI can create a scratch orgNotes
Parent_Job_Ids__ccannot be unique, required, or filtered in SOQL.replace@me.com).Made with Cursor