Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the '--experimental-debug' feature #7681

Merged
merged 12 commits into from
May 11, 2023

Conversation

miherlosev
Copy link
Contributor

@miherlosev miherlosev commented May 4, 2023

@miherlosev miherlosev temporarily deployed to CI May 4, 2023 15:15 — with GitHub Actions Inactive
@miherlosev miherlosev temporarily deployed to CI May 4, 2023 15:21 — with GitHub Actions Inactive
@miherlosev miherlosev temporarily deployed to CI May 5, 2023 03:02 — with GitHub Actions Inactive
@miherlosev miherlosev temporarily deployed to CI May 5, 2023 03:07 — with GitHub Actions Inactive
@miherlosev miherlosev temporarily deployed to CI May 5, 2023 03:10 — with GitHub Actions Inactive
@miherlosev miherlosev temporarily deployed to CI May 5, 2023 03:31 — with GitHub Actions Inactive
@miherlosev miherlosev temporarily deployed to CI May 5, 2023 03:49 — with GitHub Actions Inactive
@miherlosev miherlosev temporarily deployed to CI May 5, 2023 04:37 — with GitHub Actions Inactive
@miherlosev miherlosev temporarily deployed to CI May 5, 2023 05:20 — with GitHub Actions Inactive
@miherlosev miherlosev requested a review from Aleksey28 May 5, 2023 05:55
Copy link
Collaborator

@Aleksey28 Aleksey28 left a comment

Choose a reason for hiding this comment

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

Great! Please look at my comments and also remove adding test-functional-local-debug* tasks from deploy-to-artifacts.yml

@@ -76,7 +76,7 @@ const exportableLib = {
if (global[TEST_FILE_TEMP_VARIABLE_NAME]) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

As far as I know, TEST_FILE_TEMP_VARIABLE_NAME is needed only for the compiler service mode. So, you can remove this if-else block.

@@ -154,10 +152,7 @@ export default class APIBasedTestFileCompilerBase extends TestFileCompilerBase {
if (APIBasedTestFileCompilerBase._isNodeModulesDep(filename) && hadGlobalAPI)
this._removeGlobalAPI();

if (this.isCompilerServiceMode)
this._compileExternalModuleInEsmMode(mod, filename, requireCompilers[ext], origExt);
Copy link
Collaborator

Choose a reason for hiding this comment

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

You removed using this method, but you didn't remove this method from class


const compiler = new Compiler(sourceList, compilerOptions, { baseUrl, isCompilerServiceMode: false, esm });
private async _compileTests ({ sourceList, compilerOptions }: CompilerArguments): Promise<Test[]> {
const baseUrl = this.configuration.getOption(OPTION_NAMES.baseUrl) as string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Align please

@@ -1280,7 +1168,7 @@ export default class TestRun extends AsyncEventEmitter {
// NOTE: In regular mode, it's possible to debug tests only using TestCafe UI ('Resume' and 'Next step' buttons).
// So, we should warn on trying to debug in headless mode.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think, this comment is useless

@miherlosev miherlosev temporarily deployed to CI May 9, 2023 07:54 — with GitHub Actions Inactive
@miherlosev miherlosev merged commit 8794674 into DevExpress:master May 11, 2023
@miherlosev miherlosev deleted the remove_experimental_debug branch May 11, 2023 11:08
@github-actions
Copy link

Release v2.6.1-rc.1 addresses this.

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