temporalio / temporalio/samples-go

[Bug] Trying to run a cron schedule to fetch some data from database

Open
#173 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
749
Forks
248
Avg merge
4d 2h
Merged PRs (30d)
8

Description

What are you really trying to do?

I am just trying to run the cron workflow in GoLang by following the steps mentioned in the Readme.md.

Describe the bug

In worker, main.go when I am trying to register activity as cron.DoSomething , the error is that DoSomething is not declared by package cron.
error

Environment/Versions
  • OS and processor: Windows
  • Temporal Version: SDK version
  • Are you using Docker or Kubernetes or building Temporal from source?
  • Using temporal on docker compose

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the cron workflow steps in README.md and worker/main.go, where cron.DoSomething is registered, then inspect the related activity declarations. Reproduce the compile error using the documented Docker Compose setup; done means the sample builds and the cron workflow runs as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.