Skip to content

feat(go worker): copy over a bit more logic from python#5312

Merged
michaelkedar merged 3 commits into
google:masterfrom
michaelkedar:👷🙅🐍🪛
May 11, 2026

Hidden character warning

The head ref may contain hidden characters: "\ud83d\udc77\ud83d\ude45\ud83d\udc0d\ud83e\ude9b"
Merged

feat(go worker): copy over a bit more logic from python#5312
michaelkedar merged 3 commits into
google:masterfrom
michaelkedar:👷🙅🐍🪛

Conversation

@michaelkedar
Copy link
Copy Markdown
Member

@michaelkedar michaelkedar commented May 7, 2026

  • Clear the ImportFindings in Datastore when import is successful
  • send a gcs_retry pub/sub message on (what will be) the failed-tasks topic when writing to GCS fails after writing datastore entities
  • log the task latency that we have a log-based metric set up for

@michaelkedar michaelkedar marked this pull request as ready for review May 11, 2026 01:26

var _ models.ImportFindingsStore = (*ImportFindingsStore)(nil)

func NewImportFindingsStore(client *datastore.Client) *ImportFindingsStore {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this being created anywhere?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems like it'll always be nil

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It will be created in the main function
spoilers for upcoming PR

@michaelkedar michaelkedar requested a review from another-rex May 11, 2026 02:46
@michaelkedar michaelkedar merged commit 1fbe26e into google:master May 11, 2026
22 checks passed
@michaelkedar michaelkedar deleted the 👷🙅🐍🪛 branch May 11, 2026 04:02
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