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(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 #123

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 12, 2022

Bumps github.com/spf13/cobra from 1.5.0 to 1.6.0.

Release notes

Sourced from github.com/spf13/cobra's releases.

v1.6.0

Summer 2022 Release

Some exciting changes make their way to Cobra! Command completions continue to get better and better (including adding --help and --version automatic flags to the completions list). Grouping is now possible in your help output as well! And you can now use the OnFinalize method to cleanup things when all "work" is done. Checkout the full changelog below:


Features 🌠

Deprecation 👎🏼

  • ExactValidArgs is deprecated (but not being removed entirely). This is abit nuanced, so checkout #1643 for further information and the updated user_guide.md on how this may affect you (and how you can take advantage of the correct behavior in the validators): @​umarcor #1643

Bug fixes 🐛

Dependencies 🗳️

Testing 🤔

Docs ✏️

Misc 💭

Note: Per #1804, we will be moving away from "seasonal" releases and doing more generic point release targets. Continue to track the milestones and issues in the spf13/cobra GitHub repository for more information!

Great work everyone! Cobra would never be possible without your contributions! 🐍

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 12, 2022

The following labels could not be found: kind:dependencies.

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/spf13/cobra-1.6.0 branch from fa26c7c to ff43dfc Compare October 12, 2022 17:37
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 17, 2022

Looks like github.com/spf13/cobra is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Oct 17, 2022
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/spf13/cobra-1.6.0 branch October 17, 2022 11:32
renaynay pushed a commit that referenced this pull request Oct 26, 2023
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->
renaynay pushed a commit that referenced this pull request Oct 31, 2023
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

---------

Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com>
renaynay pushed a commit that referenced this pull request Nov 9, 2023
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->
renaynay pushed a commit that referenced this pull request Nov 10, 2023
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Disable "fail-fast" so if the `ubuntu-latest` matrix unit test fails
then it wont cancel the run of `macos-latest`, this will help with
easing ability to merge as we've reduced the requirement for both to
merge
renaynay pushed a commit that referenced this pull request Nov 10, 2023
…celestiaorg#2913)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Added these in the run up to cutting 0.12.0 so hopefully the tag/release
pipeline would generate signed binaries and not halt on any of these
three flakey test runs. Setting these back to fail explicitly so we can
see them go red and feel bad, and now start to fix them
renaynay pushed a commit that referenced this pull request Nov 28, 2023
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Fixes celestiaorg#2936 

This PR updates the `Start` command to accept a variadic number of
`funcs` which can be used to customise the command.

This allows the caller to hook into and modify the command, for example
to add a `PreRun` hook, as required for `celestia-da`.

With this PR in place, the `celestia-da` requirement, which needs to add
some required flags and add a `PreRun` hook can be satisfied as:

```go
	bridgeCmd := bridge.NewCommand(WithPreRun())
	lightCmd := light.NewCommand(WithPreRun())
	fullCmd := full.NewCommand(WithPreRun())
```

Ideally this can be applied for other commands `Init`, `Auth` as well,
but it's not required for the current requirement.
renaynay pushed a commit that referenced this pull request Jan 3, 2024
Fixes celestiaorg#3003. 
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

---------

Co-authored-by: ramin <raminkeene@gmail.com>
renaynay added a commit that referenced this pull request Jan 4, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
renaynay pushed a commit that referenced this pull request Jan 8, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Renames `swamp` to `integration` in Makefile and where called in github
actions workflows

Fixes celestiaorg#2104
renaynay pushed a commit that referenced this pull request Jan 8, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

reduced myself to fixing dependabot's attempts to upgrade us at
celestiaorg#3055 was not working
quite right
ramin added a commit that referenced this pull request Jan 9, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

in kind replacement of
celestiaorg#2998 with the
simplified require assertion

---------

Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Adding `continue-on-error` to the flakey components so we can see that
the entire pipeline w/ generated binaries will complete ASAP / next
release, will be replaced with separating/fixing the flakey tests next.
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Renames `swamp` to `integration` in Makefile and where called in github
actions workflows

Fixes celestiaorg#2104
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

reduced myself to fixing dependabot's attempts to upgrade us at
celestiaorg#3055 was not working
quite right
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

in kind replacement of
celestiaorg#2998 with the
simplified require assertion

---------

Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Adding `continue-on-error` to the flakey components so we can see that
the entire pipeline w/ generated binaries will complete ASAP / next
release, will be replaced with separating/fixing the flakey tests next.
renaynay pushed a commit that referenced this pull request Jan 15, 2024
Fixes celestiaorg#3003. 
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

---------

Co-authored-by: ramin <raminkeene@gmail.com>
renaynay added a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Renames `swamp` to `integration` in Makefile and where called in github
actions workflows

Fixes celestiaorg#2104
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

reduced myself to fixing dependabot's attempts to upgrade us at
celestiaorg#3055 was not working
quite right
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

in kind replacement of
celestiaorg#2998 with the
simplified require assertion

---------

Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
renaynay pushed a commit that referenced this pull request Jan 15, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Adding `continue-on-error` to the flakey components so we can see that
the entire pipeline w/ generated binaries will complete ASAP / next
release, will be replaced with separating/fixing the flakey tests next.
renaynay pushed a commit that referenced this pull request Jan 16, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->
Closes celestiaorg#2382

---
## Screenshot

![image](https://github.com/celestiaorg/celestia-node/assets/25278203/2c04a166-0d41-45df-8194-20cc51ef1ba1)

---------

Co-authored-by: ramin <raminkeene@gmail.com>
renaynay pushed a commit that referenced this pull request Jan 22, 2024
…ons (celestiaorg#3072)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->
refactor: changes SubmitTX permissions from write to read.

Following the issue requirement, this PR changes SubmitTX permissions
from _write_ to _read_

Changes:

* Updated nodebuilder/state/state.go from **write** to **read**
permissions
* Updated following tests (api/rpc_test.go) and added extra check for
SubmitTX rpc call (read permissions check).

closes celestiaorg#2958

---------

Co-authored-by: [NODERS]TEAM <office@noders.team>
Co-authored-by: ramin <raminkeene@gmail.com>
renaynay pushed a commit that referenced this pull request Jan 23, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Building off @vgonkivs's [work to skip
tests](celestiaorg#2802), this
attempts to get a baseline "green" ci for us. There are still a couple
of tests that VERY intermittently flake in CI, but this way they will
stand out WHEN they happen and we can track down vs entire thing being
red always.

This does quite a few things

- introduces build tags on swamp tests in each named file to allow us to
run parts of the swamp/integration tests independently (ie: `go test
./... -tags=blob`
- adds an `integration` tag to allow running all still
- splits the integration tests into it's own workflow file
(`integration-tests.yml`) which is now triggered from `go-ci.yml`
- splits each swamp/integration tests to run as its own job so we can
see which are failing/flakey more explicitly
- utilizes go's -short test flag to Skip a few swamp/integration tests
that are consistently failing. Current we are skipping
`TestFullReconstructFromFulls`, `TestFullReconstructFromLights`,
`TestSyncStartStopLightWithBridge` which is less than we were originally
skipping in celestiaorg#2802
- plugs in our verbose/debug stuff to integration tests in addition to
unit which we had before

Unit tests 

- splits some of the unit tests that were "race flakey" into
`*_no_race_test.go` and adds `!race` tag to some others to get to pass
consistently when running unit tests with -race flag
- macos-latest unit tests still fail on race test ONLY in GitHub actions
CI 🤷‍♂️

Next Steps

- create issues for each short run / skipped 
- create issues for any tests that fail race that are NOT the race issue
on upstream cosmos-sdk
- create issue for macos-latest in GitHub race fail
- create issue for macos-latest intermittent fail

I think we let this run for a while, then once we see it be consistently
green for a bit and isolate any more flakes that pop up, we can toggle
on more branch requirements, then in fixing the above issues, we can be
green. [Being green is not
easy](https://www.youtube.com/watch?v=51BQfPeSK8k).
renaynay pushed a commit that referenced this pull request Jan 30, 2024
…tiaorg#3142)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Used a tool to find stray spellings then fix them, hopefully this will
prevent future small PRs for little fixes emerging and we can encourage
more significant / valuable PRs from external contributors
renaynay pushed a commit that referenced this pull request Feb 6, 2024
…stiaorg#3147)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

suggesting we YEET the `unit test with race` temporarily as the job
intermittently fails across a handful of tests pretty regularly and we
don't require this job to pass for a PR merge anyway.

Lets remove, i'll get it working and also enable for `macos-latest`
which fails ALWAYS on github then we can / replace the normal unit tests
with unit tests with race after we get it all running and keep CI green
vs just ignoring a red x most of the time
renaynay pushed a commit that referenced this pull request Feb 12, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->
# Summary

Open RPC spec generation errors, due to a missing sample value for
blob.GasPrice.

# Problem

Missing sample value in `api/docgen/examples.go`.

Logs from running on v0.13.0:

```json
--> Generating OpenRPC spec
failed to retrieve example value for type: blob.GasPrice on parent 'blob.GasPrice')
{
    "openrpc": "1.2.6",
    "info": {
        "title": "Celestia Node API",
        "description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.",
        "version": "v0.11.0"
    },
```

Output from logs running on v0.11.0, as another check to see that this
worked before:

```json
--> Generating OpenRPC spec
{
    "openrpc": "1.2.6",
    "info": {
        "title": "Celestia Node API",
        "description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.",
        "version": "v0.11.0"
    },
```

# Solution

Add sample value.

[Output after
testing](https://gist.github.com/jcstein/02c459fb781889405d7ebc802484509a)

## Other issues found while testing

API version is still v0.11.0, which is the same as last few releases, i
just ran make openrpc-gen on v0.11.0 and the API version is the same
there. This is already, addressed in
celestiaorg#2549, and I am
highlighting to bring it out from stale state.

### Proposed solutions for other issues found

To avoid this in the future, i would like to see if we can work this
[feature request to add openrpc.json on
main](celestiaorg#2611) into
celestia-node, so that there is validation before publishing specs, and
a history of past versions of the openrpc.json, stored on main with
releases. otherwise we JTMB the person updating node-rpc-docs [on almost
10000 lines of spec
code](https://github.com/celestiaorg/node-rpc-docs/pull/35/files)

> Note, this output must not contain the output which precedes the json:
> `--> Generating OpenRPC spec`
renaynay pushed a commit that referenced this pull request Feb 12, 2024
…iaorg#3155)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

These are now [generally
available](https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/)
and these will a) be faster b) also be closer to developer machines

also removed a commented out job in the ci_release.yml file that had
been sitting dormant for a few years
renaynay pushed a commit that referenced this pull request Feb 12, 2024
celestiaorg#3172)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

- split the new flakey DA tests into own tag and call so we don't think
blob has started failing suddenly
- Total shutdown of DA integration test `GetIDs` until we can figure out
what is going on
renaynay pushed a commit that referenced this pull request Feb 15, 2024
…stiaorg#3147)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

suggesting we YEET the `unit test with race` temporarily as the job
intermittently fails across a handful of tests pretty regularly and we
don't require this job to pass for a PR merge anyway.

Lets remove, i'll get it working and also enable for `macos-latest`
which fails ALWAYS on github then we can / replace the normal unit tests
with unit tests with race after we get it all running and keep CI green
vs just ignoring a red x most of the time
renaynay pushed a commit that referenced this pull request Mar 12, 2024
…celestiaorg#3227)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Updates the CI workflow trigger to run specifically from a release
publish, vs pushing a tag. This will separate any testing we do with
with any pre-release or temporary tags from triggering the GitHub
workflow to generate a release. Instead, only the release published
event should trigger this.

---------

Co-authored-by: Matthew Sevey <mjsevey@gmail.com>
renaynay pushed a commit that referenced this pull request Mar 18, 2024
…nstall everywhere else (celestiaorg#3197)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

refs celestiaorg#3169

Suggestion we add this little detect and switch. One issue i see with
attempting to detect GOBIN is that it doesn't HAVE to be set (ie: there
can be a default). This i would think is a good quick compromise to
un-confuse @rootulp and (potentially) other devs and make this behavior
more delightful most of the time. IF not, we should close this and the
other issue.

---------

Co-authored-by: Rootul P <rootulp@gmail.com>
renaynay pushed a commit that referenced this pull request Mar 18, 2024
…erged (celestiaorg#3247)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

with our `1.22` upgrade i got inadvertently upgraded to `golangci-lint`
1.56 locally and experiencing different results to what was in CI so
figured, why not upgrade, i believe this upgrade makes 'revive' active
and a replacement to golint, which introduced some better/stricter
checks

- upgrades `golangci-lint` to 1.56
- fixes or marks `//nolint:revive` a few new unused variable errors that
were triggering
- configures revive to ignore `_test` files
- CI passes with new checks
renaynay pushed a commit that referenced this pull request Apr 3, 2024
…celestiaorg#3227)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Updates the CI workflow trigger to run specifically from a release
publish, vs pushing a tag. This will separate any testing we do with
with any pre-release or temporary tags from triggering the GitHub
workflow to generate a release. Instead, only the release published
event should trigger this.

---------

Co-authored-by: Matthew Sevey <mjsevey@gmail.com>
renaynay pushed a commit that referenced this pull request Apr 3, 2024
…nstall everywhere else (celestiaorg#3197)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

refs celestiaorg#3169

Suggestion we add this little detect and switch. One issue i see with
attempting to detect GOBIN is that it doesn't HAVE to be set (ie: there
can be a default). This i would think is a good quick compromise to
un-confuse @rootulp and (potentially) other devs and make this behavior
more delightful most of the time. IF not, we should close this and the
other issue.

---------

Co-authored-by: Rootul P <rootulp@gmail.com>
renaynay pushed a commit that referenced this pull request Apr 3, 2024
…erged (celestiaorg#3247)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

with our `1.22` upgrade i got inadvertently upgraded to `golangci-lint`
1.56 locally and experiencing different results to what was in CI so
figured, why not upgrade, i believe this upgrade makes 'revive' active
and a replacement to golint, which introduced some better/stricter
checks

- upgrades `golangci-lint` to 1.56
- fixes or marks `//nolint:revive` a few new unused variable errors that
were triggering
- configures revive to ignore `_test` files
- CI passes with new checks
renaynay pushed a commit that referenced this pull request Apr 3, 2024
…celestiaorg#3227)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Updates the CI workflow trigger to run specifically from a release
publish, vs pushing a tag. This will separate any testing we do with
with any pre-release or temporary tags from triggering the GitHub
workflow to generate a release. Instead, only the release published
event should trigger this.

---------

Co-authored-by: Matthew Sevey <mjsevey@gmail.com>
renaynay pushed a commit that referenced this pull request Apr 3, 2024
…nstall everywhere else (celestiaorg#3197)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

refs celestiaorg#3169

Suggestion we add this little detect and switch. One issue i see with
attempting to detect GOBIN is that it doesn't HAVE to be set (ie: there
can be a default). This i would think is a good quick compromise to
un-confuse @rootulp and (potentially) other devs and make this behavior
more delightful most of the time. IF not, we should close this and the
other issue.

---------

Co-authored-by: Rootul P <rootulp@gmail.com>
renaynay pushed a commit that referenced this pull request Apr 3, 2024
…erged (celestiaorg#3247)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

with our `1.22` upgrade i got inadvertently upgraded to `golangci-lint`
1.56 locally and experiencing different results to what was in CI so
figured, why not upgrade, i believe this upgrade makes 'revive' active
and a replacement to golint, which introduced some better/stricter
checks

- upgrades `golangci-lint` to 1.56
- fixes or marks `//nolint:revive` a few new unused variable errors that
were triggering
- configures revive to ignore `_test` files
- CI passes with new checks
renaynay pushed a commit that referenced this pull request Apr 17, 2024
…org#3312)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Bump fixes variable name for slack notifications.
renaynay pushed a commit that referenced this pull request May 1, 2024
Error 404: https://docs.tendermint.com/v0.35/nodes/metrics.html

Fix: https://docs.tendermint.com/main/tendermint-core/metrics.html

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Error 404: https://docs.tendermint.com/v0.35/nodes/metrics.html

Fix: https://docs.tendermint.com/main/tendermint-core/metrics.html


Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

---------

Co-authored-by: Hlib Kanunnikov <hlibwondertan@gmail.com>
renaynay pushed a commit that referenced this pull request May 2, 2024
celestiaorg#3351)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->
I realized that the `published` event is triggered by pre-releases too. 
The `released` event is only triggered when we set the release to the
latest release, which is what we want to track for deployments.
renaynay pushed a commit that referenced this pull request May 13, 2024
…g#3360)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->
use https://github.com/Abirdcfly/dupword to check duplicate words

output:
```
celestia-node/share/eds/retriever_quadrant.go:71:4: Duplicate words (into) found
celestia-node/share/availability/full/reconstruction_test.go:179:2: Duplicate words (L) found
celestia-node/share/getters/getter_test.go:338:2: Duplicate words (D) found
celestia-node/share/p2p/peers/manager_test.go:86:3: Duplicate words (be) found
```
renaynay pushed a commit that referenced this pull request May 13, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Opening as a replacement for
celestiaorg#2956 which has gone
stale. I had added some tests to the original refactoring but original
author vanished without allowing admin's to modify the original
PR/branch.

From original note:

fixes: celestiaorg#2932 ,
celestiaorg#2908

---------

Co-authored-by: Atreay Kukanur <66585295+ATREAY@users.noreply.github.com>
renaynay pushed a commit that referenced this pull request May 13, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

 fix function names in comment

Signed-off-by: studystill <chenghuiyue@outlook.com>
renaynay pushed a commit that referenced this pull request May 22, 2024
…celestiaorg#3350)

<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

Adds a step in the ci_and_release pipeline to generate `openrpc.json`
using `make openrpc-gen` and store that generated file with the release
artifacts. This is set to run after go-releaser, though we could have
made this its own workflow file potentially.

I have tested that release upload works in a personal repo, but as with
all things on github, we can only REALLY test and do this one live 🤞

refs celestiaorg#2611
renaynay pushed a commit that referenced this pull request May 22, 2024
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

- Expand individual members of CODEOWNERS
- (we should consider there being a @node GitHub team for this
eventually)
renaynay pushed a commit that referenced this pull request May 28, 2024
Self-explanatory
<!--
Thank you for submitting a pull request!

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

Please ensure you've addressed or included references to any related
issues.

Tips:
- Use keywords like "closes" or "fixes" followed by an issue number to
automatically close related issues when the PR is merged (e.g., "closes
#123" or "fixes #123").
- Describe the changes made in the PR.
- Ensure the PR has one of the required tags (kind:fix, kind:misc,
kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci,
kind:chore, kind:testing)

-->

---------

Co-authored-by: ramin <raminkeene@gmail.com>
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.

0 participants