Skip to content

chore(deps-dev): bump @codacy/codacy-mcp from cd23200 to 7d6d510 in the npm group - #295

Merged
karoltheguy merged 4 commits into
mainfrom
dependabot/npm_and_yarn/npm-0c4514c219
Aug 3, 2026
Merged

chore(deps-dev): bump @codacy/codacy-mcp from cd23200 to 7d6d510 in the npm group#295
karoltheguy merged 4 commits into
mainfrom
dependabot/npm_and_yarn/npm-0c4514c219

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 2, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm group with 1 update: @codacy/codacy-mcp.

Updates @codacy/codacy-mcp from cd23200 to 7d6d510

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the npm group with 1 update: [@codacy/codacy-mcp](https://github.com/karoltheguy/codacy-mcp-server).


Updates `@codacy/codacy-mcp` from `cd23200` to `7d6d510`
- [Commits](karoltheguy/codacy-mcp-server@cd23200...7d6d510)

---
updated-dependencies:
- dependency-name: "@codacy/codacy-mcp"
  dependency-version: 7d6d510366fe217378774559ee48a7670657d51b
  dependency-type: direct:development
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 2, 2026
@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

karoltheguy added a commit that referenced this pull request Aug 3, 2026
## The failure

The `GitHub / podman` job has been failing on the last two or three
tests of an
otherwise green run, in asyncssh with `ConnectionLost`. It looked
PR-specific,
because each branch lost a different tail test and the branches bumped
unrelated things, but PR #295, PR #297 and `main` (run 30828236096) all
failed
the same way within twenty minutes of each other.

The sshd journal from inside the host container names the cause
outright:

```
sshd[189]: drop connection #0 from [172.18.0.1]:44264 on [172.18.0.3]:22
           penalty: connections without attempting authentication
```

## Why

OpenSSH 9.8 added `PerSourcePenalties` and Fedora ships it enabled. sshd
charges
a source address one penalty second per TCP connection that closes
without
attempting authentication, and starts dropping connections outright once
the
accrued total passes the default 15s floor:

```
persourcepenalties crash:90 authfail:5 noauth:1 grace-exceeded:10
                   refuseconnection:10 max:600 min:15 ...
```

`podman_target` probes the port with a bare `socket.create_connection`,
so a
developer with no host up gets a skip rather than a wall of red. At
function
scope that ran once per test. Every client sits behind the compose
bridge and so
shares one source address, 172.18.0.1, which makes the whole run a
single
offender: 34 unauthenticated connections in 45 seconds, comfortably past
the
floor, and the tests still running when it tripped are the ones that
died.

That also explains the shape of it. Always the tail of the run, never
the start;
a different test each time, because the crossing point moves with
timing; and
intermittent on `main`, where a fast run squeaked under the threshold.

## The fix

Two changes, both wanted.

- `tests/podman/conftest.py`: `podman_target` becomes session-scoped,
cutting
the probes from roughly forty per run to one. That is all the probe was
ever
  meant to be.
- `Dockerfile.podman-host`: `PerSourcePenalties no` in the sshd drop-in,
because
a rate limiter that a full run can still reach is one that will fire
again the
  next time the suite grows.

The drop-in already verifies its own effect through `sshd -G`, so the
new
directive is asserted the same way. `sshd -G` exits non-zero on an
unknown
keyword, so a base image bump that drops the option fails the build
rather than
quietly restoring the flake.

The app itself is untouched. It authenticates every connection it opens
and so
never accrued these penalties; only the test probe did. No production
sshd
config changes.

## Verification

Built against the real base image (`fedora:43` + `openssh-server`):

```
usepam yes
passwordauthentication no
kbdinteractiveauthentication no
persourcepenalties no
ASSERTION PASSED
```

Removing the drop-in in the same container confirms the default was
`noauth:1` against `min:15`.

Full suite against the real host: **36 passed, 4 skipped, 1102
deselected in
35.13s**. The 4 skips are the `tests/e2e/test_podman_e2e.py` ones, which
need
the app container.

## Follow-up

#295 and #297 will not go green on their own. Once this lands they each
need a
rebase (`@dependabot rebase`) to pick it up.
@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

@karoltheguy
karoltheguy merged commit d57c2fc into main Aug 3, 2026
15 checks passed
@karoltheguy
karoltheguy deleted the dependabot/npm_and_yarn/npm-0c4514c219 branch August 3, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant