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

map-services / street-manager-relay / 28202650331
30%

Build:
DEFAULT BRANCH: main
Ran 25 Jun 2026 09:49PM UTC
Jobs 1
Files 22
Run time 1min
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

25 Jun 2026 09:48PM UTC coverage: 29.547% (-0.6%) from 30.154%
28202650331

push

github

web-flow
fix: Filter out certain activity types (#55)

_This is an automated PR generated by Gemini in response to issue #54._

## Summary

I have implemented the activity filtering feature as requested.

### Summary of Changes

1. **`main.go`**: Added a new flag `--exclude-activity-types` to the
`bulk-loader` command. This flag accepts a comma-separated list of
activity types to exclude.
2. **`cmd/bulk_loader.go`**: Updated the `BulkLoader` function to accept
this list of exclusions. It now converts the exclusions and the record's
activity type to lowercase for case-insensitive matching and drops
records if they match any exclusion.
3. **`cmd/bulk_loader_test.go`**: Added a unit test to verify the
exclusion logic.

### Verification

I verified the changes by running the newly created test using `go test
./cmd/...` after ensuring all necessary code bindings were generated.

```bash
go test ./cmd/...
ok  	github.com/map-services/street-manager-relay/cmd	0.005s
```

> [!CAUTION]
> Please review the generated code carefully before merging!

Closes #54

---------

Co-authored-by: gemini-pr-agent[bot] <285455830+gemini-pr-agent[bot]@users.noreply.github.com>
Co-authored-by: gemini-pr-agent[bot] <gemini-pr-agent[bot]@users.noreply.github.com>
Co-authored-by: Richard Hull <rm_hull@yahoo.co.uk>

0 of 39 new or added lines in 4 files covered. (0.0%)

411 of 1391 relevant lines covered (29.55%)

0.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
0.0
0.0% internal/routes/sns.go
11
0.0
0.0% cmd/bulk_loader.go
6
0.0
0.0% main.go
5
0.0
0.0% cmd/api_server.go
Jobs
ID Job ID Ran Files Coverage
1 28202650331.1 25 Jun 2026 09:49PM UTC 22
29.55
GitHub Action Run
Source Files on build 28202650331
  • Tree
  • List 22
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 11681650 on github
  • Prev Build on main (#28119794686)
  • 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