Skip to content

feat(cli): add unregistered command#137

Merged
tjzegmott merged 2 commits intomainfrom
unregistered-summary-command
Feb 20, 2026
Merged

feat(cli): add unregistered command#137
tjzegmott merged 2 commits intomainfrom
unregistered-summary-command

Conversation

@tjzegmott
Copy link
Contributor

@tjzegmott tjzegmott commented Feb 19, 2026

  • summary produces a table of reason signatures and counts of unregistered signatures

Example

❯ datatrail unregistered summary
                                                 Summary of reasons
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓
┃ Reason                                                                                      ┃ Number of Datasets ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩
│ STATUS:event-missing-verification                                                           │ 1151               │
│ STATUS:                                                                                     │ 13                 │
│ ATTACH_MISSING:pulsar.B0329+54:kko                                                          │ 132                │
│ ATTACH_MISSING:pulsar.B1508+55:kko                                                          │ 68                 │
│ STATUS:pending-tsar-classification                                                          │ 2                  │
│ OTHER:(psycopg<ID>.errors.UniqueViolation) duplicate key value violates unique constraint   │ 10                 │
│ "name_se_captured_at_pair" DETAIL: K                                                        │                    │
│ ATTACH_MISSING:pulsar.B0329+54:gbo                                                          │ 168                │
│ ATTACH_MISSING:pulsar.B1508+55:gbo                                                          │ 88                 │
│ CREATE_DUPLICATE:gbo.event.baseband.raw                                                     │ 3                  │
│ CREATE_DUPLICATE:chime.event.baseband.raw                                                   │ 3                  │
│ OTHER:(raised as a result of Query-invoked autoflush; consider using a session.no_autoflush │ 1                  │
│ block if this flush is occurring p                                                          │                    │
│ CREATE_DUPLICATE:kko.event.baseband.raw                                                     │ 2                  │
│ OTHER:Could not attach datasets: <ID> and event-missing-verification. ERROR: "dataset       │ 1                  │
│ event-missing-verification, chime.event.                                                    │                    │
└─────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┘

- summary produces a table of reason signatures and counts of unregistered signatures
@coveralls
Copy link

coveralls commented Feb 19, 2026

Coverage Status

coverage: 64.801% (-1.2%) from 66.0%
when pulling 050dd6d on unregistered-summary-command
into 8b35e4f on main.

@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2026

Codecov Report

❌ Patch coverage is 40.00000% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.80%. Comparing base (8b35e4f) to head (050dd6d).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
dtcli/src/functions.py 17.24% 24 Missing ⚠️
dtcli/unregistered.py 57.14% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #137      +/-   ##
==========================================
- Coverage   66.00%   64.80%   -1.20%     
==========================================
  Files          14       15       +1     
  Lines        1300     1358      +58     
==========================================
+ Hits          858      880      +22     
- Misses        442      478      +36     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tjzegmott tjzegmott force-pushed the unregistered-summary-command branch from 4eb391e to 050dd6d Compare February 19, 2026 23:13
@tjzegmott tjzegmott merged commit d9a97a5 into main Feb 20, 2026
19 of 24 checks passed
@tjzegmott tjzegmott deleted the unregistered-summary-command branch February 20, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants