carp-dk / carp-dk/research.package

The timeout in an RPQuestionStep seems to time out too early

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Dart
Stars
52
Forks
47
Avg merge
5h 35m
Merged PRs (30d)
4

Description

In the example app, the following timeout for 6 seconds seems to time out already after 1-2 secs:

```
final alcoholStep = RPQuestionStep(
identifier: 'alcoholStep',
title: 'When did you last drink alcohol?',
answerFormat: dateAnswerFormat,
autoSkip: true,
// TODO - something is wrong - this step time out after 1-2 secs
timeout: Duration(seconds: 6),
);
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the example app with the RPQuestionStep snippet for alcoholStep and reproduce the six-second timeout while observing the actual elapsed time. Trace the timeout behavior for RPQuestionStep and verify the step remains available for the configured duration; add or update a relevant test if the existing test structure identifies one.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.