matrix-org / matrix-org/complement
There is no way to extract deployment-created room IDs after the fact
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 99
- Forks
- 72
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 8
Description
This is something i found while looing at `BlueprintOneToOneRoom`, and seeing where its one-on-one room has been (re)used in any tests.
Turns out, it doesnt, every test creates its own additional rooms, which makes pre-setting or otherwise prefilling a room with events feel a bit moot.
I think it would help if there's some way to extract "execution results" (IDs) from a `Deployment` object after it has been finalised, to then act upon and work with the deployed template, this would make templates a bit more useful.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Deployment and BlueprintOneToOneRoom, then inspect the tests that create additional rooms and any deployment finalization paths. Done means a finalized Deployment exposes the IDs created during execution so tests can retrieve and use those deployed resources afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100