Repository navigation
Commit 423672c
committed
Correct how missing scopes behave, and how the baseline is chosen
A missing scope was described as mostly degrading with a warning. Only
the two diff-scans scopes do that. The others fail the run:
- full-scans:list is needed before any comparison. scan_type is always
set, so the baseline is the newest matching scan listed from the
default branch, not the repository's head-scan pointer, and a denied
listing exits with the API-error code. The same listing explains when
an empty baseline is created.
- The scope table now says what happens without each scope.
Calls the tables missed: POST python-cli-runs (and its logs and
finalize calls) on every run, and POST coana-cli/artifacts under
--reach, which accepts full-scans:create or fixes:list. GET
report/supported needs no token, and the streaming fallback endpoint is
deprecated in the API.
Also covered: scope groups, tokens restricted to specific repositories,
comment events, and the flags that force a comparison.
The README exit-code table is left alone. The repository-failure section
keeps the exit-2 details under "2.12.x and earlier", so it stays true
when the exit-code contract changes. The setup-guide paragraphs describe
tokens made from its nine-scope list instead of the guide's current
contents, which are about to change.1 parent 70d1e35 commit 423672c
5 files changed
Lines changed: 121 additions & 85 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 253 | | |
258 | 254 | | |
259 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
| 626 | + | |
| 627 | + | |
627 | 628 | | |
628 | 629 | | |
629 | 630 | | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
0 commit comments