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

[chore][cmd/otelcontribcol] Exclude from linter #27865

Merged

Conversation

crobert-1
Copy link
Member

@crobert-1 crobert-1 commented Oct 19, 2023

Description:

The linter runs are taking longer and longer as more components and dependencies are added, it's preferable to simply run on each individual component.

Link to tracking Issue:
Related: #27850

@crobert-1 crobert-1 requested review from a team and jpkrohling October 19, 2023 19:14
@crobert-1 crobert-1 added cmd/otelcontribcol otelcontribcol command ci-cd CI, CD, testing, build issues labels Oct 19, 2023
@crobert-1
Copy link
Member Author

crobert-1 commented Oct 19, 2023

For some context and a relevant example of why this is necessary, I'm adding eks cluster name detection to the resource detection processor (#27408), and lint is failing every time either on timeouts or overloading the GitHub CI runner.

@atoulme
Copy link
Contributor

atoulme commented Oct 19, 2023

Looks like that helped some. If you get in trouble again, adding cmd/oteltestbedcol as well would help.

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

👍

@dmitryax dmitryax merged commit 1e793c7 into open-telemetry:main Oct 19, 2023
91 of 92 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 19, 2023
martin-majlis-s1 pushed a commit to scalyr/opentelemetry-collector-contrib that referenced this pull request Oct 20, 2023
**Description:**
The linter runs are taking longer and longer as more components and
dependencies are added, it's preferable to simply run on each individual
component.

**Link to tracking Issue:** 
Related: open-telemetry#27850
codeboten pushed a commit that referenced this pull request Oct 20, 2023
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Same idea as #27865, remove generated code from being linted. The linter
is taking longer and longer to run as more components and dependencies
are added. This change is to remove unnecessary modules from being
linted, which will help reduce runtime and resources required.

**Link to tracking Issue:** <Issue number if applicable>
Related #27850
sigilioso pushed a commit to carlossscastro/opentelemetry-collector-contrib that referenced this pull request Oct 27, 2023
**Description:**
The linter runs are taking longer and longer as more components and
dependencies are added, it's preferable to simply run on each individual
component.

**Link to tracking Issue:** 
Related: open-telemetry#27850
sigilioso pushed a commit to carlossscastro/opentelemetry-collector-contrib that referenced this pull request Oct 27, 2023
…ry#27884)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Same idea as open-telemetry#27865, remove generated code from being linted. The linter
is taking longer and longer to run as more components and dependencies
are added. This change is to remove unnecessary modules from being
linted, which will help reduce runtime and resources required.

**Link to tracking Issue:** <Issue number if applicable>
Related open-telemetry#27850
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
**Description:**
The linter runs are taking longer and longer as more components and
dependencies are added, it's preferable to simply run on each individual
component.

**Link to tracking Issue:** 
Related: open-telemetry#27850
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…ry#27884)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Same idea as open-telemetry#27865, remove generated code from being linted. The linter
is taking longer and longer to run as more components and dependencies
are added. This change is to remove unnecessary modules from being
linted, which will help reduce runtime and resources required.

**Link to tracking Issue:** <Issue number if applicable>
Related open-telemetry#27850
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd CI, CD, testing, build issues cmd/otelcontribcol otelcontribcol command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants