-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix yaml generation #16921
Fix yaml generation #16921
Conversation
Hi @vojtechjelinek, can you complete the following:
|
Hi, @vojtechjelinek, this pull request does not have a "CHANGELOG: ..." label as mentioned in the PR pointers. Assigning @vojtechjelinek to add the required label. PRs without this label will not be merged. If you are unsure of which label to add, please ask the reviewers for guidance. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vojtechjelinek Could you please describe the problem a bit more in the description?
Also should we have a test that ensures the xml is converted into yaml correctly?
Thanks!
Also, just to be clear -- could you also please explain what the developer experience will be like (for indexes) after this PR is merged? Will they need to do anything to generate the indexes in index.yaml, or will that "just happen"? Should we perhaps send a note to the devs about this? |
@seanlip Done. Added more tests. I've explained the changes in the description. For a developer this should be as before. If they perform some action that requires index in their local devserver (basically testing their newly added code) the index will be added to their index.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, LGTM. Thanks @vojtechjelinek !
@seanlip Please merge this. |
Merging per @vojtechjelinek's request since there is no one besides him currently in the dependencies reviewer team. |
fix interaction null type related bugs Fix oppia#16504: Android beta page fixes (oppia#16688) * Android beta page fixes * address comments * fix indentation * fix fe test * address comments * code comments * fix test * fix test * address comments * address comment and fix tests * increase z-index of button so clicks are handled correctly * fix test * fix coverage Fix oppia#16648: Increases tick time to fix debounce frontend test flake (oppia#16958) flake fix FIX#16908 : Submit button in Feedback dialogbox must have layout indicating its a button (oppia#16954) Update feedback-popup.component.html Fix yaml generation (oppia#16921) * Fix yaml generation * Fix indexes * Add tests fix null bug fix bug in constructor fix bug2 interaction id related bug 1 test interaction id bug 1 interaction id null test bug 1 add test coverage recordLearnerAnswer interaction id not null add coverage minor minor minor minor minor minor minor
* remove interactionId null type fix interaction null type related bugs Fix #16504: Android beta page fixes (#16688) * Android beta page fixes * address comments * fix indentation * fix fe test * address comments * code comments * fix test * fix test * address comments * address comment and fix tests * increase z-index of button so clicks are handled correctly * fix test * fix coverage Fix #16648: Increases tick time to fix debounce frontend test flake (#16958) flake fix FIX#16908 : Submit button in Feedback dialogbox must have layout indicating its a button (#16954) Update feedback-popup.component.html Fix yaml generation (#16921) * Fix yaml generation * Fix indexes * Add tests fix null bug fix bug in constructor fix bug2 interaction id related bug 1 test interaction id bug 1 interaction id null test bug 1 add test coverage recordLearnerAnswer interaction id not null add coverage minor minor minor minor minor minor minor * fix explorationHistoryTab test bug * keep Interaction id null type, remove Answergroup interactionId null type * check interactionObjectfactory interactionId null type minor linter check 1 * delete answergroupobjectfactory null interactionid type * minor * interactionobjectfactory createfrombackenddict interactionId only string * minor * parameter-metadata service test interaction id is not null * minor * minor * minor check * parameter-metadata.service get unset parameters info test interactionId not null * linter check * linter check * minor * exploration-warnings service test remove answergroup
…ppia#17132) * remove interactionId null type fix interaction null type related bugs Fix oppia#16504: Android beta page fixes (oppia#16688) * Android beta page fixes * address comments * fix indentation * fix fe test * address comments * code comments * fix test * fix test * address comments * address comment and fix tests * increase z-index of button so clicks are handled correctly * fix test * fix coverage Fix oppia#16648: Increases tick time to fix debounce frontend test flake (oppia#16958) flake fix FIX#16908 : Submit button in Feedback dialogbox must have layout indicating its a button (oppia#16954) Update feedback-popup.component.html Fix yaml generation (oppia#16921) * Fix yaml generation * Fix indexes * Add tests fix null bug fix bug in constructor fix bug2 interaction id related bug 1 test interaction id bug 1 interaction id null test bug 1 add test coverage recordLearnerAnswer interaction id not null add coverage minor minor minor minor minor minor minor * fix explorationHistoryTab test bug * keep Interaction id null type, remove Answergroup interactionId null type * check interactionObjectfactory interactionId null type minor linter check 1 * delete answergroupobjectfactory null interactionid type * minor * interactionobjectfactory createfrombackenddict interactionId only string * minor * parameter-metadata service test interaction id is not null * minor * minor * minor check * parameter-metadata.service get unset parameters info test interactionId not null * linter check * linter check * minor * exploration-warnings service test remove answergroup
Overview
The problem was that the devserver does not update index.yaml (at least on my device) in cache folder it only updates datastore-indexes-auto.xml which seems to be just an XML representation of the index.yaml, so this PR uses the datastore-indexes-auto.xml instead of index.yaml
Essential Checklist
Proof that changes are correct
I've tested this locally with #16534 and all indexes were correctly added.
PR Pointers