Skip to content

Conversation

@mukeshbhatt18gl
Copy link
Contributor

@mukeshbhatt18gl mukeshbhatt18gl commented Nov 7, 2025

Description of change

This PR refactors the tags stream implementation by splitting it into two distinct streams: project_tags for project-level tags and space_tags for space-level tags
(SAC-29530)

Manual QA steps

Risks

Rollback steps

  • revert this branch

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the tags stream implementation by splitting it into two distinct streams: project_tags for project-level tags and space_tags for space-level tags. The original Tags stream (which was a child of Spaces) has been removed and replaced with these two independent streams that have different API endpoints and replication strategies.

Key Changes:

  • Removed the parent-dependent Tags stream and replaced it with two standalone tag streams
  • SpaceTags uses incremental replication with updatedAt as the replication key
  • ProjectTags uses full table replication and queries the projects API endpoint

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tap_teamwork/streams/tags.py Deleted the original Tags stream class that was dependent on spaces parent
tap_teamwork/streams/space_tags.py Added new SpaceTags stream with incremental replication strategy
tap_teamwork/streams/project_tags.py Added new ProjectTags stream with full table replication strategy
tap_teamwork/streams/init.py Updated imports and STREAMS dictionary to register the new tag streams
tap_teamwork/schemas/project_tags.json Added JSON schema definition for project_tags stream
spike/singer_tap_generator_config.json Updated configuration to reflect the split from tags to project_tags and space_tags
README.md Updated documentation to reference the new ProjectTags and SpaceTags streams

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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