Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature/PI-592-gsi_upgrade] gsi upgrade #395

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

jaklinger
Copy link
Contributor

Summary

Remove items from this list if they are not relevant. Remove this line once this has been done

  • Routine Change
  • ❗ Breaking Change
  • 🤖 Operational or Infrastructure Change
  • ✨ New Feature
  • ⚠️ Potential issues that might be caused by this change

Details

Add any summary information of what is in the change. Remove this line if you have nothing to add.

Pull Request Naming

Pull requests should be named using the following format:

Tag: [AEA-NNNN] - Short description

Tag can be one of:

  • Fix - for a bug fix. (Patch release)
  • Update - either for a backwards-compatible enhancement or for a rule change that adds reported problems. (Patch release)
  • New - implemented a new feature. (Minor release)
  • Breaking - for a backwards-incompatible enhancement or feature. (Major release)
  • Docs - changes to documentation only. (Patch release)
  • Build - changes to build process only. (No release)
  • Upgrade - for a dependency upgrade. (Patch release)
  • Chore - for refactoring, adding tests, etc. (anything that isn't user-facing). (Patch release)

If the current release is x.y.z then

  • a patch release increases z by 1
  • a minor release increases y by 1
  • a major release increases x by 1

Correct tagging is necessary for our automated versioning and release process.

The description of your pull request will be used as the commit message for the merge, and also be included in the changelog. Please ensure that your title is sufficiently descriptive.

Rerunning Checks

If you need to rename your pull request, you can restart the checks by either:

  • Closing and reopening the pull request
  • pushing an empty commit
    git commit --allow-empty -m 'trigger build'
    git push
  • Amend your last commit and force push to the branch
    git commit --amend --no-edit
    git push --force

Rerunning the checks from within the pull request will not use the updated title.

@jaklinger jaklinger requested a review from a team as a code owner November 7, 2024 13:20
@jaklinger jaklinger force-pushed the feature/PI-592-gsi_upgrade branch 2 times, most recently from a0b7292 to f0a3bea Compare November 8, 2024 11:06
questionnaire_responses: dict[str, dict[str, "QuestionnaireResponse"]]


@dataclass(kw_only=True, slots=True)
class DeviceTagsClearedEvent(Event):
id: str
keys: list[dict]
deleted_tags: list["DeviceTag"]
deleted_tags: list[str]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why aren't these DeviceTag's anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question... whilst doing this ticket I found that in half the Device*Events the tags field was a string and half was a DeviceTag, so I've standardised and corrected it. Makes sense for the event to see them as str as that's all the repo handler needs. I was thinking that could do the same with keys and DeviceKey, but it's a bit more complicated, so probs worth doing that in a separate tech debt ticket

megan-bower4
megan-bower4 previously approved these changes Nov 8, 2024
@jameslinnell jameslinnell merged commit 86fffb3 into main Nov 15, 2024
17 of 21 checks passed
@jameslinnell jameslinnell deleted the feature/PI-592-gsi_upgrade branch November 15, 2024 11:53
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