Commit c1516a5
Remove enable_record_ecosystem_meta feature flag (#14353)
* Remove enable_record_ecosystem_meta feature flag
The record_ecosystem_meta functionality is now always active (no longer
gated behind an experiment flag). Removed:
- Feature flag guard in api_client.rb
- Associated test stubs and "when feature flag is disabled" test context
Co-authored-by: pavera <660677+pavera@users.noreply.github.com>
* Fix lint and integration test failures
- Fix RuboCop Layout/EmptyLinesAroundBlockBody offense (extra empty line)
- Add stub_request for record_ecosystem_meta_url in spec
- Fix Go integration test: check message type before full struct unmarshal
so record_ecosystem_meta messages (which have different data structure)
are skipped gracefully instead of causing unmarshal errors
Co-authored-by: pavera <660677+pavera@users.noreply.github.com>
* Revert accidentally committed go_modules fixture files
Remove go.sum/go.mod fixture files that were accidentally picked up
by git add and are not related to the feature flag removal.
Co-authored-by: pavera <660677+pavera@users.noreply.github.com>
* Make record_ecosystem_meta best-effort without retries
Remove the retry loop from record_ecosystem_meta to avoid adding
up to ~30s of extra latency per job when the API call fails. Since
this is now unconditional and invoked from multiple ensure blocks,
it should be truly best-effort (like increment_metric) with no
sleep/retry behavior. Network errors and HTTP 4xx+ responses are
logged as errors without retrying.
Co-authored-by: pavera <660677+pavera@users.noreply.github.com>
* Simplify record_ecosystem_meta error handling
Remove redundant inner rescue for Excon/SSL errors since the outer
StandardError rescue already catches those. Single rescue block is
cleaner and matches the reviewer's suggested pattern.
Co-authored-by: pavera <660677+pavera@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pavera <660677+pavera@users.noreply.github.com>1 parent 3ca8498 commit c1516a5
3 files changed
Lines changed: 33 additions & 52 deletions
File tree
- silent/tests
- updater
- lib/dependabot
- spec/dependabot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
105 | 114 | | |
106 | 115 | | |
107 | 116 | | |
108 | 117 | | |
109 | 118 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | 311 | | |
314 | 312 | | |
315 | | - | |
316 | | - | |
317 | | - | |
| 313 | + | |
| 314 | + | |
318 | 315 | | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
327 | 323 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
332 | 327 | | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
347 | 333 | | |
348 | | - | |
349 | | - | |
350 | 334 | | |
| 335 | + | |
| 336 | + | |
351 | 337 | | |
352 | 338 | | |
353 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
651 | 650 | | |
652 | 651 | | |
653 | 652 | | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | 653 | | |
659 | 654 | | |
660 | 655 | | |
| |||
683 | 678 | | |
684 | 679 | | |
685 | 680 | | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | 729 | | |
741 | 730 | | |
742 | 731 | | |
| |||
0 commit comments