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

Alan-Jowett / CoPilot-For-Consensus / 20474651113 / 3
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 24 Dec 2025 12:43AM UTC
Files 9
Run time 0s
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

24 Dec 2025 12:19AM UTC coverage: 45.679% (-1.3%) from 46.988%
20474651113.3

push

github

web-flow
Make static analysis checks fail CI on hallucinated methods and undefined variables (#530)

* Initial plan

* Add CI checks to catch hallucinated methods and variables

- Enable E0602 (undefined-variable) in Pylint configuration
- Make Pylint, MyPy, and Pyright checks fail the build on errors
- Add error counting and detailed summaries for all checks
- Update CONTRIBUTING.md with comprehensive tool documentation and examples
- Add common error patterns and fixes to contributor guidelines

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Add demonstration test file for static analysis validation

- Create test_static_analysis_demo.py with examples of valid code patterns
- Include commented examples of errors that would be caught
- All tests pass and pass Ruff, Pylint, MyPy, and Pyright checks
- Demonstrates proper type hints, attribute access, and variable usage

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Address code review feedback: use modern Python 3.10+ type syntax

- Replace Optional[T] with T | None for consistency
- Replace Dict[K, V] with dict[k, v] using built-in generic types
- Update both CONTRIBUTING.md examples and test file comments
- All tests and static analysis checks still pass

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Fix code review issues: remove redundant set -e, continue-on-error, fix docs

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Fix Pylint E1101 error in copilot_metrics adapter

Add pylint disable comment for dynamic method call that's guarded by hasattr check.
The self.push() method is conditionally called only when it exists at runtime,
but Pylint can't detect this pattern. This fixes the CI failure.

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Get rid of trailing whitespace

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Static type check ... (continued)

111 of 243 relevant lines covered (45.68%)

0.46 hits per line

Source Files on job copilot_archive_fetcher_integration - 20474651113.3
  • Tree
  • List 9
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20474651113
  • 045f3227 on github
  • Prev Job for on main (#20471962571.2)
  • Next Job for on main (#20474992145.10)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc