Skip to content

Rename Worker to SdkWorker#9558

Merged
stephanos merged 1 commit intomainfrom
stephanos/test-sdk-worker
Mar 18, 2026
Merged

Rename Worker to SdkWorker#9558
stephanos merged 1 commit intomainfrom
stephanos/test-sdk-worker

Conversation

@stephanos
Copy link
Copy Markdown
Contributor

@stephanos stephanos commented Mar 17, 2026

What changed?

Rename FunctionalTestBase's Worker to SdkWorker.

Why?

The new TestEnv uses SdkClient/SdkWorker; with this change the diff on individual suite migrations is greatly reduced.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@stephanos stephanos changed the title Rename Worker to sdkWorker Rename Worker to SdkWorker Mar 17, 2026
// Fields used by SDK based tests.
sdkClient sdkclient.Client
worker sdkworker.Worker
sdkWorker sdkworker.Worker
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Change (1)


func (s *FunctionalTestBase) Worker() sdkworker.Worker {
return s.worker
func (s *FunctionalTestBase) SdkWorker() sdkworker.Worker {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Change (2)

@stephanos stephanos marked this pull request as ready for review March 17, 2026 22:52
@stephanos stephanos requested review from a team as code owners March 17, 2026 22:52
@stephanos stephanos requested a review from spkane31 March 17, 2026 22:55
@stephanos stephanos enabled auto-merge (squash) March 18, 2026 18:25
@stephanos stephanos force-pushed the stephanos/test-sdk-worker branch from fdcc9fb to a0b2dcb Compare March 18, 2026 18:26
@stephanos stephanos merged commit 200f508 into main Mar 18, 2026
46 checks passed
@stephanos stephanos deleted the stephanos/test-sdk-worker branch March 18, 2026 18:51
stephanos added a commit that referenced this pull request Mar 20, 2026
## What changed?

Rename `FunctionalTestBase`'s `Worker` to `SdkWorker`.

## Why?

The new TestEnv uses `SdkClient/SdkWorker`; with this change the diff on
individual suite migrations is greatly reduced.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
birme pushed a commit to eyevinn-osaas/temporal that referenced this pull request Mar 23, 2026
## What changed?

Rename `FunctionalTestBase`'s `Worker` to `SdkWorker`.

## Why?

The new TestEnv uses `SdkClient/SdkWorker`; with this change the diff on
individual suite migrations is greatly reduced.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
stephanos added a commit that referenced this pull request Mar 23, 2026
## What changed?

Rename `FunctionalTestBase`'s `Worker` to `SdkWorker`.

## Why?

The new TestEnv uses `SdkClient/SdkWorker`; with this change the diff on
individual suite migrations is greatly reduced.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
pashafateev added a commit that referenced this pull request Apr 1, 2026
…branch

SdkWorker() was renamed from Worker() in PR #9558 on main but that
refactor is not on this release branch.
pashafateev added a commit that referenced this pull request Apr 1, 2026
…branch

SdkWorker() was renamed from Worker() in PR #9558 on main but that
refactor is not on this release branch.
pashafateev added a commit that referenced this pull request Apr 2, 2026
…branch

SdkWorker() was renamed from Worker() in PR #9558 on main but that
refactor is not on this release branch.
tdyas pushed a commit that referenced this pull request Apr 2, 2026
…branch (#9792)

## Summary
`SdkWorker()` was renamed from `Worker()` in PR #9558 on main, but that
refactor is not on this release branch. The security fix cherry-pick (PR
#9767) introduced `s.SdkWorker()` in the test file, which doesn't
compile here.

One-line fix: `s.SdkWorker()` → `s.Worker()` in
`tests/activity_api_batch_unpause_test.go:246`
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