Repository navigation
fix(github): ask no traffic endpoint as the App - #2759
Merged
Merged
Conversation
…gauges (#2752) The Service sends no traffic gauge. Only devops gh metrics --emit-telemetry, run with a person's gh login, sends them. The telemetry reference says so once, and the four traffic panels say so in their descriptions.
Owner
Author
|
Test results (local, hooks on):
Review findings, all fixed:
Findings declined: none. |
dan-petty
marked this pull request as ready for review
October 30, 2026 04:09
dan-petty
pushed a commit
that referenced
this pull request
Oct 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.22.1](v0.22.0...v0.22.1) (2026-10-30) ### Bug Fixes * **github:** ask no traffic endpoint as the App ([#2759](#2759)) ([692c15f](692c15f)), closes [#2752](#2752) * **roadmap:** a stop of the Service is not a failed round ([#2756](#2756)) ([0b7e190](0b7e190)), closes [#2753](#2753) * **roadmap:** say why an implement step stopped ([#2762](#2762)) ([cd56ce4](cd56ce4)), closes [#2758](#2758) * **service:** render and alert on the hourly request budget ([#2760](#2760)) ([809d85b](809d85b)), closes [#2755](#2755) * **service:** run the implement row on the status lane ([#2763](#2763)) ([cd94f2c](cd94f2c)), closes [#2757](#2757) ### Performance Improvements * **ci:** cut test job time and guard its mean ([#2764](#2764)) ([e76f656](e76f656)), closes [#2699](#2699) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The roadmap Service asked GitHub for the repository traffic as the GitHub App. GitHub refuses that with HTTP 403, because the App token cannot read traffic. The metrics row failed on each round and logged the refusal.
This change fixes the cause:
traffic_collectedfalse. It still sends the stars and the forks.devops gh metricsprints "not collected" for the traffic that a process did not collect.devops gh metrics --emit-telemetry, run with a person'sghlogin, sends them. The telemetry reference, the instrument text, ADR 0015 and the descriptions of the four traffic panels of the project dashboard say so.github/metrics.pyare now one helper. The ceiling of swallowed failures of that module goes down from 8 to 4.The change adds no permission to the App token. A person can still give the metrics row its own token with Administration (read), as ADR 0015 allows.
Closes #2752