⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Deprecate FunctionalTestBase#9140

Merged
stephanos merged 3 commits intotemporalio:mainfrom
stephanos:lint-suite
Feb 5, 2026
Merged

Deprecate FunctionalTestBase#9140
stephanos merged 3 commits intotemporalio:mainfrom
stephanos:lint-suite

Conversation

@stephanos
Copy link
Contributor

@stephanos stephanos commented Jan 26, 2026

What changed?

  1. add lint rule to not use FunctionalTestBase for new functional tests.
  2. basic documentation for new TestEnv alternative approach

Why?

Enforce policy for new tests while migrating existing ones.

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 marked this pull request as ready for review January 26, 2026 22:56
@stephanos stephanos requested review from a team as code owners January 26, 2026 22:56
text: "panic"
linters:
- forbidigo
- path-except: tests/[^/]+\.go$ # scoped to files inside tests/ only as it's still used (and wrapped) in tests/testcore/
Copy link
Member

Choose a reason for hiding this comment

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

Don't you mean path instead of path-except?

Copy link
Contributor Author

@stephanos stephanos Feb 5, 2026

Choose a reason for hiding this comment

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

Let me remove the double negative and allow it in tests/testcore/ instead

@stephanos stephanos enabled auto-merge (squash) February 5, 2026 00:56
@stephanos stephanos merged commit 26a2a22 into temporalio:main Feb 5, 2026
66 checks passed
@stephanos stephanos deleted the lint-suite branch February 5, 2026 16:21
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