Skip to content

Project/Locate features#250

Merged
tnagorra merged 15 commits into
developfrom
project/locate-feature-workflow
May 8, 2026
Merged

Project/Locate features#250
tnagorra merged 15 commits into
developfrom
project/locate-feature-workflow

Conversation

@susilnem
Copy link
Copy Markdown
Member

Changes

  • Add new project type "Locate Features"

This PR doesn't introduce any:

  • temporary files, auto-generated files or secret keys
  • n+1 queries
  • flake8 issues
  • print
  • typos
  • unwanted comments

This PR contains valid:

  • tests
  • permission checks (tests here too)
  • translations

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 92.15686% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.60%. Comparing base (60d5974) to head (b5cda9d).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
project_types/tile_map_service/locate/project.py 84.09% 5 Missing and 2 partials ⚠️
apps/tutorial/serializers.py 68.42% 3 Missing and 3 partials ⚠️
project_types/store.py 57.14% 0 Missing and 6 partials ⚠️
apps/project/serializers.py 25.00% 2 Missing and 1 partial ⚠️
apps/project/custom_options.py 60.00% 2 Missing ⚠️
apps/project/graphql/types/types.py 50.00% 2 Missing ⚠️
apps/project/models.py 75.00% 0 Missing and 1 partial ⚠️
apps/tutorial/graphql/types/types.py 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #250      +/-   ##
===========================================
+ Coverage    87.41%   87.60%   +0.19%     
===========================================
  Files          205      211       +6     
  Lines        12461    12792     +331     
  Branches      1049     1084      +35     
===========================================
+ Hits         10893    11207     +314     
- Misses        1181     1188       +7     
- Partials       387      397      +10     

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

@susilnem susilnem force-pushed the project/locate-feature-workflow branch from ab2eef2 to 1c83e8f Compare May 5, 2026 10:51
Comment thread apps/project/serializers.py Outdated

client_id = factory.LazyFunction(lambda: str(ULID()))
reference = 1
task_partition_index = factory.Sequence(lambda n: n)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might not be correct!

Comment on lines +109 to +112
# NOTE: task_partition_index can be None, but if provided
# it should not be the same as any other task in the same scenario.
if task_partition_index is None:
return
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should check that task_partition_index is required for Locate tutorials

"Task partition index should be unique among tasks of the same scenario.",
),
},
)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to check that the task_partition_index is bounded to correct range.

Comment on lines +82 to +83
exportMetaKey=self.project_type_specifics.export_meta_key,
exportMetaValue=self.project_type_specifics.export_meta_value,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add this to export.

tnagorra
tnagorra previously approved these changes May 7, 2026
@tnagorra tnagorra marked this pull request as ready for review May 7, 2026 15:52
@tnagorra tnagorra merged commit 7a33faf into develop May 8, 2026
6 checks passed
@tnagorra tnagorra deleted the project/locate-feature-workflow branch May 8, 2026 01:49
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