Skip to content

Ignore tracker extensions that match instrument - #315

Open
tpoliaw wants to merge 1 commit into
mainfrom
matching-extension
Open

tpoliaw wants to merge 1 commit into
mainfrom
matching-extension

Conversation

@tpoliaw

@tpoliaw tpoliaw commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

As the instrument name is used as the extension by default it doesn't
make sense to store the same value for both. When updating a
configuration, the field is skipped or reset if it matches but when
creating a new configuration, the matching extension would still be set.

This makes the behaviour consistent between updating a configuration and
creating a new one.

@codecov

codecov Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.43%. Comparing base (924f81b) to head (ea997de).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #315      +/-   ##
==========================================
- Coverage   79.50%   79.43%   -0.07%     
==========================================
  Files          13       13              
  Lines        2132     2125       -7     
==========================================
- Hits         1695     1688       -7     
  Misses        437      437              

☔ View full report in Codecov by Harness.
📢 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.

fajinyuan
fajinyuan previously approved these changes Oct 21, 2026
Base automatically changed from reset-tracker-extension to main October 21, 2026 15:36
@fajinyuan
fajinyuan dismissed their stale review October 21, 2026 15:36

The base branch was changed.

As the instrument name is used as the extension by default it doesn't
make sense to store the same value for both. When updating a
configuration, the field is skipped or reset if it matches but when
creating a new configuration, the matching extension would still be set.

This makes the behaviour consistent between updating a configuration and
creating a new one.

This branch has not been deployed

No deployments
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.

Setting trackerFileExtension to the instrument name fails with a SQL syntax error, or is silently ignored

2 participants