Skip to content

[ENG-2914] feat(salesforce): Batch Unit Tests#2255

Merged
Cobalt0s merged 2 commits into
mainfrom
cobalt0s/batch-salesforce-batch-unit-tests
Nov 19, 2025
Merged

[ENG-2914] feat(salesforce): Batch Unit Tests#2255
Cobalt0s merged 2 commits into
mainfrom
cobalt0s/batch-salesforce-batch-unit-tests

Conversation

@Cobalt0s
Copy link
Copy Markdown
Contributor

@Cobalt0s Cobalt0s commented Nov 3, 2025

Description.

Existing behaviour of salesforce is documented with unit tests.

@linear
Copy link
Copy Markdown

linear Bot commented Nov 3, 2025

ENG-2914 Batch write MVP

Copy link
Copy Markdown
Contributor Author

Cobalt0s commented Nov 3, 2025

@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-write-update branch from d9a5e07 to c1ec2b4 Compare November 3, 2025 22:25
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-batch-unit-tests branch from 24dd75f to 90d2d19 Compare November 3, 2025 22:25
@Cobalt0s Cobalt0s self-assigned this Nov 3, 2025
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-batch-unit-tests branch from 90d2d19 to b7d63a9 Compare November 4, 2025 22:57
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-write-update branch from c1ec2b4 to 27d2659 Compare November 4, 2025 22:57
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-batch-unit-tests branch from b7d63a9 to 85830b9 Compare November 5, 2025 00:51
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-write-update branch 2 times, most recently from 6f3df60 to 39b8eca Compare November 5, 2025 01:06
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-batch-unit-tests branch from 85830b9 to d5c1ba1 Compare November 5, 2025 01:06
Base automatically changed from cobalt0s/batch-salesforce-write-update to main November 5, 2025 01:10
@Cobalt0s Cobalt0s changed the base branch from main to graphite-base/2255 November 7, 2025 21:21
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-batch-unit-tests branch from d5c1ba1 to 1e6cacf Compare November 7, 2025 21:21
@Cobalt0s Cobalt0s changed the base branch from graphite-base/2255 to cobalt0s/unit-tests-batch-write November 7, 2025 21:21
Copy link
Copy Markdown
Contributor

@anushat05 anushat05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the build failed. Good to merge after we fix this.

@Cobalt0s Cobalt0s changed the base branch from cobalt0s/unit-tests-batch-write to graphite-base/2255 November 11, 2025 20:25
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-batch-unit-tests branch from 9afdc77 to 131a878 Compare November 11, 2025 23:46
@Cobalt0s Cobalt0s changed the base branch from graphite-base/2255 to main November 11, 2025 23:46
Copy link
Copy Markdown
Contributor Author

@Cobalt0s Cobalt0s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anushat05
PR is primarily about unit tests.
Some minor Salesforce changes include:

  • Include counrers where they were previously forgotten.
  • Rare edge case of error format is interpreted to surface the problem instead of returning empty WriteResult.

Comment thread providers/salesforce/internal/crm/batch/write.go
Comment thread providers/salesforce/internal/crm/batch/write.go
@Cobalt0s Cobalt0s requested a review from anushat05 November 12, 2025 00:01
@Cobalt0s Cobalt0s force-pushed the cobalt0s/batch-salesforce-batch-unit-tests branch from 131a878 to 3b80a6b Compare November 19, 2025 20:09
@Cobalt0s Cobalt0s merged commit d64cd69 into main Nov 19, 2025
6 checks passed
@Cobalt0s Cobalt0s deleted the cobalt0s/batch-salesforce-batch-unit-tests branch November 19, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants