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

Fix no matching issue corner case for lint CI #1317

Merged
merged 5 commits into from
Dec 22, 2023

Conversation

mengweieric
Copy link
Collaborator

Description

succeeded on no matched file: https://github.com/opensearch-project/dashboards-observability/actions/runs/7281188230/job/19841193026#step:8:3

fails on having lint error: https://github.com/mengweieric/dashboards-observability/actions/runs/7281399534/job/19841832379

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f31d969) 57.42% compared to head (5dcf215) 51.55%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1317      +/-   ##
==========================================
- Coverage   57.42%   51.55%   -5.87%     
==========================================
  Files         330      305      -25     
  Lines       12091    10652    -1439     
  Branches     2792     2794       +2     
==========================================
- Hits         6943     5492    -1451     
- Misses       5102     5114      +12     
  Partials       46       46              
Flag Coverage Δ
dashboards-observability 51.55% <ø> (-5.87%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice 🔥

Signed-off-by: Eric <[email protected]>
Copy link
Collaborator

@RyanL1997 RyanL1997 left a comment

Choose a reason for hiding this comment

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

Hi @mengweieric , thanks for this enhancement. I was working with @joshuali925 for the following comments.

.github/workflows/lint.yml Outdated Show resolved Hide resolved
.github/workflows/lint.yml Show resolved Hide resolved
@mengweieric mengweieric merged commit 30704a0 into opensearch-project:main Dec 22, 2023
9 of 18 checks passed
mengweieric added a commit to mengweieric/dashboards-observability that referenced this pull request Dec 22, 2023
* no matching corner case

Signed-off-by: Eric <[email protected]>

* adjust some linting rules

Signed-off-by: Eric <[email protected]>

* using bash array

Signed-off-by: Eric <[email protected]>

* improve linter

Signed-off-by: Eric <[email protected]>

* remove redundant check

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric <[email protected]>
mengweieric added a commit to mengweieric/dashboards-observability that referenced this pull request Dec 22, 2023
* no matching corner case

Signed-off-by: Eric <[email protected]>

* adjust some linting rules

Signed-off-by: Eric <[email protected]>

* using bash array

Signed-off-by: Eric <[email protected]>

* improve linter

Signed-off-by: Eric <[email protected]>

* remove redundant check

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric <[email protected]>
mengweieric added a commit that referenced this pull request Jan 3, 2024
* no matching corner case



* adjust some linting rules



* using bash array



* improve linter



* remove redundant check



---------

Signed-off-by: Eric <[email protected]>
@mengweieric mengweieric deleted the fix/no-matching branch February 14, 2024 18:29
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
… (opensearch-project#1326)

* no matching corner case

* adjust some linting rules

* using bash array

* improve linter

* remove redundant check

---------

Signed-off-by: Eric <[email protected]>
(cherry picked from commit 9c15db0)
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.

5 participants