Skip to content

refactor: inject organisation into client services#29

Merged
Jack-Waller merged 1 commit intomainfrom
chore/NO-JIRA-client-organisation-parameter
Dec 2, 2025
Merged

refactor: inject organisation into client services#29
Jack-Waller merged 1 commit intomainfrom
chore/NO-JIRA-client-organisation-parameter

Conversation

@Jack-Waller
Copy link
Copy Markdown
Owner

What?

Pass the organisation into the team member and pull request statistic services at construction time, and update callers and tests to match.

Why?

Simplifies usage by configuring organisation once per client rather than passing it on every call.

Changes:

  • Add organisation to TeamMembersService and PullRequestStatisticsService constructors and store it internally
  • Update main entry point to construct services with the provided organisation
  • Refresh unit and integration tests to use the new signatures

Testing:

  • uv tool run ruff check .
  • uv tool run ruff format --check .
  • uv run pytest tests

References:

  • N/A

@Jack-Waller Jack-Waller added the ai: codex Changes made by Codex assistant label Dec 2, 2025
@Jack-Waller Jack-Waller merged commit d702429 into main Dec 2, 2025
1 check passed
@Jack-Waller Jack-Waller deleted the chore/NO-JIRA-client-organisation-parameter branch December 2, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai: codex Changes made by Codex assistant

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant