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

safe-global / safe-client-gateway / 19897784682
89%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2025 02:44PM UTC
Jobs 2
Files 1006
Run time 3min
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

03 Dec 2025 02:42PM UTC coverage: 90.193%. First build
19897784682

push

github

web-flow
feat: add endpoint to report false Blockaid scan results (COR-636) (#2815)

* feat: add endpoint to report false Blockaid scan results (COR-636)

- Add POST /v1/chains/:chainId/security/:safeAddress/report-false-result endpoint
- Support reporting FALSE_POSITIVE and FALSE_NEGATIVE scan results
- Use request_id from original scan response to identify the transaction
- Add reportTransaction method to BlockaidApi and ThreatAnalysisService
- Handle errors gracefully with logging and success: false response
- Add chain ID to Blockaid chain name mapping (for future use)
- Add comprehensive unit tests

* feat: add request_id to threat analysis response

- Extract request_id from x-request-id header in Blockaid API response
- Extend TransactionScanResponse with request_id field
- Include request_id in ThreatAnalysisResponse for reporting false positives

* refactor: address PR review comments for COR-636

- Refactor ReportEvent to follow ContractStatus pattern with const array
- Add comprehensive documentation for enum types and DTOs
- Explain 1000 char limit is CGW-imposed safeguard
- Remove underscore prefixes from controller params
- Add comment explaining params are for URL validation

* refactor: update request_id handling and logging in SafeShield and ThreatAnalysis services

- Change request_id type from string | null to string | undefined in various services and DTOs.
- Update logging messages to use 'warn' instead of 'error' for reporting failures in SafeShieldService.
- Adjust unit tests to reflect changes in request_id handling and logging behavior.
- Ensure consistency in request_id usage across the threat analysis module.

* test: update mock response in ThreatAnalysisService tests to handle undefined request_id

- Modify the mock response in the ThreatAnalysisService unit tests to set request_id as undefined instead of null, ensuring consistency with recent refactoring changes in request_id handling.

* refactor: update reportTransaction method ... (continued)

2852 of 3545 branches covered (80.45%)

Branch coverage included in aggregate %.

30 of 32 new or added lines in 8 files covered. (93.75%)

13785 of 14901 relevant lines covered (92.51%)

634.22 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.65
src/modules/safe-shield/safe-shield.controller.ts
1
94.02
src/modules/safe-shield/threat-analysis/threat-analysis.service.ts
Jobs
ID Job ID Ran Files Coverage
1 run-unit-tests - 19897784682.1 03 Dec 2025 02:49PM UTC 1950
88.63
GitHub Action Run
2 run-integration-tests - 19897784682.2 03 Dec 2025 02:44PM UTC 1881
53.57
GitHub Action Run
Source Files on build 19897784682
  • Tree
  • List 1006
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19897784682
  • 55573d1d on github
  • Prev Build on main (#19819010176)
  • Next Build on main (#19901532324)
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