Timothee Guerin
b9e465b94e
Merge Hotfix back into main ( #4167 )
2024-08-13 17:06:15 +00:00
Timothee Guerin
27ed13de58
Revert "Add validator to prevent discriminator and encodedname used together" ( #3852 )
...
Reverts microsoft/typespec#3763
This is actually a pattern used for things like `@odata.kind` and would
need more discussion to disallow
2024-07-16 21:35:49 +00:00
Timothee Guerin
eac8011448
Add generated policy to remove needs-triage when an area is added ( #3366 )
...
Generate the Microsoft policy service files to automatically to:
- add/remove `needs-triage` automatically when there is no area or an
area is added
- add the area on PRs
resolve #3340
2024-05-16 22:55:52 +00:00
Timothee Guerin
adc2f32767
Add script to sync labels ( #3323 )
...
Add script to sync labels to enforce the labels designed in #3265
<img width="1050" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/5ba6a134-e6d6-4a28-9cf7-99fd27c8e89e ">
2024-05-13 21:11:35 +00:00
Timothee Guerin
dec504364c
Bump versions for 0.56.0 release ( #3298 )
2024-05-08 00:34:05 +00:00
Timothee Guerin
0c1b96be47
Ci improvements ( #3099 )
...
- Use corepack to install pnpm: Faster and respect the pnpm version set
in package.json instead of having another place to keep up to date
- dependency cache
- upgrade to new code coverage task
- Move all consitency check to independent github action workflow(Makes
it easier to see which one failed immediately without having to open
devops and dig into the steps)
2024-04-03 16:19:59 -07:00
Timothee Guerin
c4ba287a4d
Update with fix ( #2880 )
2024-02-01 15:54:11 -08:00
Timothee Guerin
3040a83d6d
Chronus changelogs ( #2851 )
...
Issues with changesets versioning that prevent us from using it:
1. This one is a deal breaker bug that bumps to major versions(when we
try to bump todays changelog everything gets bumped to 2.0.0) (This is a
bug we found happened sometimes in cadl-ranch but this just happens
immediately in our repo due to everything being linked)
2. the verify doesn't check all packages have changelog just that there
is at least one
3. the `changesets add` doesnt' compare against remote main but local
main so you endup with confusing saying other packages changes if you
pulled some change from main in your branch but not on your local main
## Example of auto created comment
When changes are needed
![image](https://github.com/microsoft/typespec/assets/1031227/f20a0708-1d28-444b-be07-6ededcb5e3c1 )
When everything is documented
![image](https://github.com/microsoft/typespec/assets/1031227/9c0d0d05-d882-4f6e-87a5-3a58301fea49 )
## Error is also more readable
![image](https://github.com/microsoft/typespec/assets/1031227/a7d0de43-4fed-4f01-94ba-3f95ae210c5d )
## `chronus add` experience
![image](https://github.com/microsoft/typespec/assets/1031227/ba31c84e-f2bf-4bfb-b754-743f2a78199a )
![image](https://github.com/microsoft/typespec/assets/1031227/922a5afc-e076-4d5c-91fc-df95bf423f04 )
![image](https://github.com/microsoft/typespec/assets/1031227/98f2cedb-1783-42ed-930a-2d626de5c642 )
2024-02-01 14:07:24 -08:00
Timothee Guerin
1492fa5297
Fix website build after pnpm migration ( #2827 )
2024-01-25 10:08:57 -08:00
Timothee Guerin
842405e8d1
Get rid of rush and move to pnpm ( #2775 )
...
Remove the opinionated (wrongly so most of the time) middleman that
brings more config pain than value.
Things to check:
- [x] Parallel build performance vs rush
- [ ] Publishing with submodule
- [x] Changesets
2024-01-24 13:37:34 -08:00
Timothee Guerin
e0b77ab128
Uupdate base url to deploy to typespec.io ( #2806 )
2024-01-19 17:31:43 +00:00
Timothee Guerin
b88e402450
Tryit pr use bot token ( #2749 )
2023-12-12 10:48:59 -08:00
Timothee Guerin
f646e1924a
Use workflow for codeql configuration ( #2720 )
...
Somehow the default UI configuration doesn't run on pull requests so
hopefully this will work.
Right now we just get the security warnings after merging which is
unfortunate. It is also hard to run codeql locally so having it on a PR
to make sure we resolve it is nice
We'll get error like that
<img width="993" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/e1ff03d0-1f6a-49e5-8b27-b7c03e2b69f2 ">
2023-12-04 17:18:34 -08:00
Timothee Guerin
e26e782606
Fix website pr url ( #2465 )
...
- Fixes Azure/typespec-azure#3601
2023-09-21 14:15:43 -07:00
Mike Harder
06a8603947
Enable retries for "rush install" ( #2425 )
...
- Partial fix for azure/typespec-azure#3555
2023-09-15 14:56:14 -07:00
Mark Cowlishaw
a6b7827fcd
Fix memory issues with github action build for website deployment ( #2416 )
2023-09-13 17:41:14 +00:00
Timothee Guerin
e098c94470
Add linter selection to playground ( #2386 )
...
fix https://github.com/Azure/typespec-azure/issues/3456
![image](https://github.com/microsoft/typespec/assets/1031227/96fa8d76-f0b7-4cc9-8211-be0221ac900b )
2023-09-11 10:57:56 -07:00
Nick Guerrera
bb653cb4db
Remove format PR workflow ( #1826 )
2023-04-14 17:20:39 +00:00
Mike Harder
a9bc288cda
Improve performance of "rush" in pipelines ( #1769 )
...
- Replace "npx @microsoft/rush" with "node common/scripts/install-run-rush.js"
- Faster and more reliable
- Add "--parallelism max" to all parallel rush commands
- Ensures max parallelism on all OS (Windows default is "cores - 1")
- Run "rush unlink" before PublishTestResults
- Significantly improves performance by deleting node_modules folders so they do not need to be searched
- Pass input searchFolder to PublishTestResults`
- Reduces number of folders that must be searched
- Move PublishTestResults to end of job
- Must run after "rush unlink", which must run after all rush commands are done
- Always publish test results, since it should now be much faster
2023-03-30 14:15:49 -07:00
Jongwoo Han
706c71b5e9
Replace deprecated command with environment file ( #1642 )
2023-03-20 09:25:58 -07:00
Allen Zhang
95bd672274
Add loading cadl-project.yaml back compat ( #1661 )
2023-02-21 17:36:50 -08:00
Allen Zhang
ec21edc669
Type spec rename follow-up items ( #1660 )
...
* minor rename followup
* update compiler homepage link in package.json
* Revert playground host name for a later fix.
* add changelog
2023-02-17 13:35:12 -08:00
Allen Zhang
064161d827
1/3 TypeSpec: Find/Replace Content
2023-02-16 13:07:22 -08:00
Timothee Guerin
e0e4394bb0
Versioned docs (Latest and Next) ( #1469 )
2023-01-03 19:02:22 +00:00
Timothee Guerin
3ab2740f91
Use pull_request_target for tryit comment ( #1464 )
2022-12-19 20:13:44 +00:00
Timothee Guerin
8d471116e2
Add a dedicated github workflow to comment on PR with try it links ( #1451 )
...
* Diagnose
* Diagnose
* Diagnose
* Diagnose
* Diagnose
* .
* .
* Cleanup
* More workflows
* that worked
2022-12-19 11:00:32 -08:00
Timothee Guerin
2f90df268c
Tentative: fix cadleng format command ( #1362 )
2022-12-02 13:23:41 -08:00
Timothee Guerin
3f8ad725b2
Fix gh page action ( #1271 )
2022-11-14 13:21:08 -08:00
Timothee Guerin
054cf45a49
Migrate website to use docusaurus ( #1266 )
2022-11-14 12:44:38 -08:00
Timothee Guerin
1420aa7c11
Add github action to run formatter for you ( #1219 )
2022-10-24 22:30:51 +00:00
Timothee Guerin
08502efb2d
Add github action to merge release/* branch back into main ( #1185 )
2022-10-19 14:44:13 -07:00
Timothee Guerin
09db47d087
Try prevent worflow from triggering on main ( #1091 )
2022-09-27 19:08:51 +00:00
Timothee Guerin
278ee3cf83
Publish website to gh pages ( #1063 )
2022-09-21 11:30:49 -07:00
Nick Guerrera
38ecaf707a
Enable publishing, move back to Azure pipelines for PR validation ( #19 )
2021-10-26 13:58:02 -05:00
David Wilson
0b98d6d6fe
Re-enable sample generation in PR pipeline
2021-10-21 09:30:06 -07:00
Nick Guerrera
945bf77aad
Fix PR validation ( #2 )
2021-10-20 13:52:33 -05:00
Nick Guerrera
a538ab403f
Add PR Validation ( #1 )
2021-10-20 13:19:05 -05:00