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

Dep updates; StalledDiscussionFlow progress #5

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

grdryn
Copy link
Member

@grdryn grdryn commented Apr 5, 2023

No description provided.

grdryn added 3 commits April 5, 2023 01:25
We'll need this to be able to use the ConfigFileProvider in the
StalledDiscussionFlow, since the @configfile annotation only seems to
work well for injection into event-listener methods.

The `org.jetbrains:annotations` dependency doesn't get pulled in
implicitly any longer, so I've just switched usage of the @NotNull &&
@nullable annotations from there to the SmallRye equivalents, which
are available.

Something that I'm not 100% sure about is the test changes here: I
guess the Jackson/SnakeYAML handling of null fields changed somewhere
along the way.
Without	these, the affected fields were	always being set to a null or
default value for the type. For example, botUserLogin would always be
null, and stalledDiscussionPollTimeMins would always be 0.
@grdryn grdryn changed the title WIP: Dep updates; StalledDiscussionFlow progress Dep updates; StalledDiscussionFlow progress Apr 16, 2023
- Token expires every hour, so a new token needs to be fetched every
  time, rather than just being able to get one at object
  initialization.

- The "stalledDiscussionPollTimeMins" property set in the
  bf2-arch-bot.yml seemingly can't be used in the @scheduled
  annotation, since it's not available early enough.
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.

1 participant