Skip to content

Migrate workflow_memo_test.go to TestEnv#9671

Open
chaptersix wants to merge 2 commits intotemporalio:mainfrom
chaptersix:workflow-memo-test-env
Open

Migrate workflow_memo_test.go to TestEnv#9671
chaptersix wants to merge 2 commits intotemporalio:mainfrom
chaptersix:workflow-memo-test-env

Conversation

@chaptersix
Copy link
Contributor

Summary

  • Migrate workflow_memo_test.go from legacy FunctionalTestBase + testify suite to testcore.NewEnv(t) pattern
  • Replace old TaskPoller struct with s.TaskPoller().PollAndHandleWorkflowTask
  • Remove debug logging and unused imports

Test plan

  • go test -tags "disable_grpc_modules,test_dep" -run TestWorkflowMemoTestSuite -count=1 -v ./tests/ passes locally

Replace legacy FunctionalTestBase + testify suite pattern with
testcore.NewEnv(t) following the established migration pattern.

- Remove WorkflowMemoTestSuite struct and suite.Run
- Convert test methods to standalone functions with t.Run subtests
- Replace old TaskPoller struct with s.TaskPoller().PollAndHandleWorkflowTask
- Update handler signature to return RespondWorkflowTaskCompletedRequest
- Remove debug Logger.Info calls and unused imports
@chaptersix chaptersix marked this pull request as ready for review March 26, 2026 20:38
@chaptersix chaptersix requested review from a team as code owners March 26, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant