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

kobotoolbox / kpi / 12186633926
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 05 Dec 2024 08:00PM UTC
Jobs 1
Files 608
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

05 Dec 2024 07:23PM UTC coverage: 80.383%. Remained the same
12186633926

push

github

web-flow
fix(projectHistoryLogs): rename incorrectly-formatted action TASK-944 (#5320)

### đŸ“Ŗ Summary
Change the action `modify_sharing` to `modify-sharing` in project
history logs for consistency.


### 👷 Description for instance maintainers
Change the AuditAction `modify_sharing` to `modify-sharing`, including a
migration to update existing logs. Also adds the migration for all the
new audit action types, although this migration seems to be a no-op in
SQL.



### 👀 Preview steps

1. â„šī¸ have an account and a project
2. Go to Project > Settings > Connect Projects and enable data sharing.
Select a specific question to share.
3. 🔴 [on main] Go to `api/v2/assets/<uid>/history`. Notice the action
for the latest project history log is `modify_sharing`
4. đŸŸĸ [on PR] After running migrations, reload the history endpoint.
Notice the action is now `modify-sharing`
5. [on PR] Select another question to share
6. đŸŸĸ [on PR] Reload the endpoint. The latest log should have
action=`modify-sharing`


### 💭 Notes
I didn't even realize this needed a migration until I ran `./manage
makemigrations audit_log`. It seems to work fine without the migration
but this way there will be no unexpected changes next time we have to
make a real migration.
The migration of existing logs should be pretty light since it's a
fairly rare type of log.

5751 of 9232 branches covered (62.29%)

1 of 1 new or added line in 1 file covered. (100.0%)

21968 of 27329 relevant lines covered (80.38%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12186633926.1 05 Dec 2024 08:00PM UTC 608
80.38
Source Files on build 12186633926
  • Tree
  • List 608
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3df22816 on github
  • Prev Build on main (#12186277236)
  • Next Build on main (#12187461100)
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