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

Duplicated sections #19

Closed
Tinche opened this issue Jan 12, 2024 · 8 comments
Closed

Duplicated sections #19

Tinche opened this issue Jan 12, 2024 · 8 comments

Comments

@Tinche
Copy link

Tinche commented Jan 12, 2024

Howdy,

it seems my workflows are displayed twice?

msgspec support tin/msgspec [pull_request]   a973cae81ae1  @01:19am
   ↻ in_progress  CI                 view 7496142219
      Python 3.8                     ↻ ••••••• Run Tox
      Python 3.9                     ↻ ••••••• Run Tox
      Build & verify package         ✓ success
      Python 3.10                    ↻ ••••••• Run Tox
      Python 3.11                    ↻ ••••••• Run Tox
      Python 3.12                    ✓ success
      Python pypy-3.8                ✓ success
   ↻ in_progress  CI                 view 7496142219
      Python 3.8                     ↻ ••••••• Run Tox
      Python 3.9                     ↻ ••••••• Run Tox
      Build & verify package         ✓ success
      Python 3.10                    ↻ ••••••• Run Tox
      Python 3.11                    ↻ ••••••• Run Tox
      Python 3.12                    ✓ success
      Python pypy-3.8                ✓ success

The run IDs seem to be the same.

@nedbat
Copy link
Owner

nedbat commented Jan 12, 2024

That's very odd. Is that repo public? Can I see the actions?

@Tinche
Copy link
Author

Tinche commented Jan 12, 2024

Sure, it's https://github.com/python-attrs/cattrs.

@nedbat
Copy link
Owner

nedbat commented Jan 12, 2024

The action run itself doesn't look different. Does it always happen?

@Tinche
Copy link
Author

Tinche commented Jan 12, 2024

I haven't been using the tool a lot but for now I only see the issue on this repository. I tried it on some work repos and those seem fine. But on this repo, both PRs I've been working on display it.

@nedbat
Copy link
Owner

nedbat commented Jan 12, 2024

Hmm, when I look at that branch in your repo, I get only one:

% watch_gha_runs https://github.com/python-attrs/cattrs tin/msgspec
msgspec support tin/msgspec [pull_request]   a973cae81ae1  @07:19pm
   ✓ success      CI                 view 7496142219

What output do you get for git remote -v ?

@Tinche
Copy link
Author

Tinche commented Jan 12, 2024

If I look at the branch, I only get one:

❯ watch_gha_runs https://github.com/python-attrs/cattrs tin/msgspec
msgspec support tin/msgspec [pull_request]   a973cae81ae1  @01:19am
   ✓ success      CI                 view 7496142219

But if I just do watch_gha_runs:

❯ watch_gha_runs
Guess we doin V now (a new validation framework) tin/so-much-v [pull_request]   9b7cbc14f25e  @01:37am
   ✓ success      CI                 view 7496305052
   ✓ success      CI                 view 7496305052

What output do you get for git remote -v ?

❯ git remote -v
origin	git@github.com:python-attrs/cattrs.git (fetch)
origin	git@github.com:python-attrs/cattrs.git (push)
python-attrs	git@github.com:python-attrs/cattrs.git (fetch)
python-attrs	git@github.com:python-attrs/cattrs.git (push)

Interesting, I have duplicated remotes for some reason. Probably historical. If I remove one, that fixes the issue. Thanks!

@Tinche Tinche closed this as completed Jan 12, 2024
nedbat added a commit that referenced this issue Jan 13, 2024
@nedbat
Copy link
Owner

nedbat commented Jan 13, 2024

Fixed in 40af699.

@nedbat
Copy link
Owner

nedbat commented Jan 14, 2024

This is now released as part of watchgha 2.2.1.

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

No branches or pull requests

2 participants