• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aio-libs / multidict / 36115378344
87%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2026 08:54AM UTC
Jobs 1
Files 43
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Sep 2026 08:53AM UTC coverage: 87.146%. Remained the same
36115378344

push

github

web-flow
Fail codegen_diff when a compared tree lacks a declaration (#1572)

<!-- Thank you for your contribution! -->

## What do these changes do?

`tools/codegen_diff.py` compiled both trees with `-w`. On GCC 13 and
older an implicit function declaration is only a warning in C11, so `-w`
hid it: a `--probe` calling `md_add_with_hash_steal_refs` compiled
against a `--ref` from before #1571 (where it was
`_md_add_with_hash_steal_refs`) built a call to an undeclared function,
and the tool exited 0 with a meaningless "N of M functions differ".

The builds now pass `-Werror=implicit-function-declaration` and no
longer pass `-w`. Simply adding the flag after `-w` is not enough: GCC
discards an inhibited warning before `-Werror=` gets to reclassify it,
which can be reproduced on GCC 14+ with `-fpermissive`. Compiler output
is captured and printed only when a build fails, so warnings stay quiet
otherwise. A failing build now exits non-zero with `before build (--ref
X) failed` or `after build (working tree) failed` instead of a
`CalledProcessError` traceback. `--self-test` gained two cases that
expect an undeclared call to fail, one of them with `-fpermissive` so
the check also covers the pre-14 behaviour on newer compilers.

## Are there changes in behavior for the user?

No, this is contributor tooling only.

## Is it a substantial burden for the maintainers to support this?

No.

## Related issue number

Follow-up to the review of #1571
(https://github.com/aio-libs/multidict/pull/1571#pullrequestreview-5308437866).

## Checklist

- [x] I think the code is well written
- [x] Unit tests for the changes exist (`--self-test` cases)
- [x] Documentation reflects the changes
- [ ] If you provide code modification, please add yourself to
`CONTRIBUTORS.txt` N/A
- [x] Add a new news fragment into the `CHANGES/` folder
- [x] `make doc-spelling` passes and any new technical words are added
to `docs/spelling_wordlist.txt`

Drafted with Claude Code (Claude Opus 5.5); reviewed ... (continued)

778 of 1556 branches covered (50.0%)

Branch coverage included in aggregate %.

7968 of 8480 relevant lines covered (93.96%)

1.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 MyPy - 36115378344.1 25 Sep 2026 08:54AM UTC 86
87.14
GitHub Action Run
Source Files on build 36115378344
  • Tree
  • List 43
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36115378344
  • 78c1a127 on github
  • Prev Build on master (#36043151885)
  • Next Build on master (#36119059551)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc