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

Alan-Jowett / CoPilot-For-Consensus / 20477561674
78%

Build:
DEFAULT BRANCH: main
Ran 24 Dec 2025 03:45AM UTC
Jobs 27
Files 129
Run time 6min
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 03:40AM UTC coverage: 74.938% (-0.07%) from 75.003%
20477561674

push

github

web-flow
Add JWT authentication to Grafana with role-based access control (#563)

* Initial plan

* Add JWT authentication for Grafana - backend changes

- Configure Grafana with JWT auth environment variables
- Update nginx to forward Authorization header to Grafana
- Add public key endpoints to auth service
- Create setup script to extract public key

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

* Add JWT authentication for Grafana - frontend changes

- Install jwt-decode package
- Update AuthContext to extract admin claim from JWT
- Create AdminLinks component for Grafana link
- Integrate AdminLinks in AppLayout
- Add CSS styling for admin section

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

* Add tests and documentation for JWT authentication

- Add test for public key endpoints
- Create comprehensive testing documentation
- Document troubleshooting steps

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

* Optimize AuthContext initialization to avoid duplicate localStorage reads

Address code review feedback by consolidating initialization logic

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

* Add comprehensive implementation summary document

Document architecture, security considerations, and setup instructions

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

* Fix CI: Create placeholder public key before starting Grafana

Docker was creating auth_service_public_key.pem as a directory when the file didn't exist. This fix creates a placeholder public key file before Grafana starts, preventing the "is a directory" error.

The placeholder uses the same jwt_public_key generated during CI setup, which allows Grafana to start successfully. The actual public key from the auth service can replace it later via the setup script.

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

* Addres... (continued)

1 of 8 new or added lines in 1 file covered. (12.5%)

5783 of 7717 relevant lines covered (74.94%)

0.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
25.33
-1.53% adapters/copilot_auth/copilot_auth/jwt_manager.py
Jobs
ID Job ID Ran Files Coverage
1 orchestrator - 20477561674.1 24 Dec 2025 03:45AM UTC 2
66.11
GitHub Action Run
2 copilot_archive_fetcher_integration - 20477561674.2 24 Dec 2025 03:47AM UTC 9
45.68
GitHub Action Run
3 copilot_vectorstore_integration - 20477561674.3 24 Dec 2025 03:46AM UTC 8
20.29
GitHub Action Run
4 copilot_metrics - 20477561674.4 24 Dec 2025 03:47AM UTC 6
41.74
GitHub Action Run
5 copilot_embedding - 20477561674.5 24 Dec 2025 03:47AM UTC 3
92.0
GitHub Action Run
6 embedding - 20477561674.6 24 Dec 2025 03:46AM UTC 2
90.17
GitHub Action Run
7 copilot_consensus - 20477561674.7 24 Dec 2025 03:47AM UTC 3
98.67
GitHub Action Run
8 copilot_schema_validation - 20477561674.8 24 Dec 2025 03:49AM UTC 7
87.18
GitHub Action Run
9 copilot_vectorstore - 20477561674.9 24 Dec 2025 03:49AM UTC 8
55.59
GitHub Action Run
10 chunking - 20477561674.10 24 Dec 2025 03:46AM UTC 2
82.91
GitHub Action Run
11 reporting - 20477561674.11 24 Dec 2025 03:47AM UTC 2
89.97
GitHub Action Run
12 copilot_events_integration - 20477561674.12 24 Dec 2025 03:47AM UTC 11
35.34
GitHub Action Run
13 parsing - 20477561674.13 24 Dec 2025 03:45AM UTC 7
84.07
GitHub Action Run
14 copilot_events - 20477561674.14 24 Dec 2025 03:47AM UTC 11
60.86
GitHub Action Run
15 copilot_archive_fetcher - 20477561674.15 24 Dec 2025 03:47AM UTC 9
67.49
GitHub Action Run
16 copilot_schema_validation_integration - 20477561674.16 24 Dec 2025 03:46AM UTC 7
39.42
GitHub Action Run
17 copilot_chunking - 20477561674.17 24 Dec 2025 03:47AM UTC 2
93.75
GitHub Action Run
18 ingestion - 20477561674.18 24 Dec 2025 03:48AM UTC 5
82.34
GitHub Action Run
19 copilot_summarization - 20477561674.19 24 Dec 2025 03:46AM UTC 8
96.65
GitHub Action Run
20 summarization - 20477561674.20 24 Dec 2025 03:49AM UTC 2
90.8
GitHub Action Run
21 copilot_reporting - 20477561674.21 24 Dec 2025 03:46AM UTC 5
73.17
GitHub Action Run
22 copilot_auth - 20477561674.22 24 Dec 2025 03:46AM UTC 12
44.34
GitHub Action Run
23 copilot_config - 20477561674.23 24 Dec 2025 03:49AM UTC 14
75.33
GitHub Action Run
24 copilot_storage_integration - 20477561674.24 24 Dec 2025 03:46AM UTC 6
36.16
GitHub Action Run
25 copilot_storage - 20477561674.25 24 Dec 2025 03:46AM UTC 6
67.51
GitHub Action Run
26 copilot_draft_diff - 20477561674.26 24 Dec 2025 03:47AM UTC 6
98.77
GitHub Action Run
27 copilot_logging - 20477561674.27 24 Dec 2025 03:49AM UTC 7
71.7
GitHub Action Run
Source Files on build 20477561674
  • Tree
  • List 129
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20477561674
  • c64d46a0 on github
  • Prev Build on main (#20477518832)
  • Next Build on main (#20478417520)
  • 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