Commit Graph

28 Commits

Author SHA1 Message Date
Michael B. Gale b4937c19e5 Only emit one message with accumulated property names 2026-03-13 10:56:36 +00:00
Michael B. Gale a717db1a90 Emit warning for unrecognised repo properties with our common prefix 2026-03-12 11:49:17 +00:00
Henry Mercer ce321daddb Merge branch 'main' into henrymercer/skip-file-coverage-rollout 2026-03-10 11:46:08 +00:00
Henry Mercer 9e8c05933f Add ability to override via repository property 2026-03-09 17:08:13 +00:00
Henry Mercer b0642f9e86 Remove unused imports 2026-03-09 16:25:20 +00:00
Henry Mercer 8924dfb7d0 Remove GHES feature gate
All supported versions of GHES support the repository properties API.
2026-03-09 16:19:32 +00:00
Michael B. Gale 149fd14ac7 Add unknown property with string[] value 2026-03-09 13:12:37 +00:00
Michael B. Gale 5311ed41ea Include type in error message 2026-03-09 13:09:34 +00:00
Michael B. Gale 58314dce95 Export types that weren't already 2026-03-09 13:03:47 +00:00
Michael B. Gale 58991590bd Validate value types returned by API against expectations 2026-03-09 12:46:24 +00:00
Michael B. Gale 9c75a5f60c Only validate property value type if we care about the property 2026-03-09 12:13:48 +00:00
Michael B. Gale 8e70ae21a1 Update GitHubRepositoryProperty to match schema 2026-03-09 12:03:34 +00:00
Henry Mercer 675af55c60 Run some unit tests in parallel 2026-03-04 12:40:22 +01:00
Henry Mercer 9c61a2ddf4 Reorganize properties file 2026-02-25 11:35:34 +00:00
Henry Mercer 2808ca726e Improve validation and address review comments 2026-02-24 19:56:43 +00:00
Henry Mercer 7ea93ee2e1 Add support for boolean repository properties 2026-02-24 18:48:32 +00:00
Michael B. Gale f59338d600 Remove isCCR 2026-02-24 10:33:23 +00:00
Michael B. Gale 7af50a43c1 Restore test improvements from previous PR 2026-02-15 15:57:02 +00:00
Michael B. Gale bc76ceafaf Add test to check that OfflineFeatures doesn't use the API client 2026-02-15 15:40:23 +00:00
Michael B. Gale ee8360df59 Move FF test utils out of main file 2026-02-15 15:40:23 +00:00
Henry Mercer 4e14537b54 Improve logging when no known repository properties found 2026-01-23 17:29:15 +00:00
Michael B. Gale 4178e15b0a Only disable loadPropertiesFromApi on GHES 2025-09-23 09:41:53 +01:00
Michael B. Gale 0a75581cde Check that we are on dotcom 2025-09-23 09:22:07 +01:00
Michael B. Gale 7f73f8c235 Add unit tests for properties module 2025-09-23 09:16:28 +01:00
Michael B. Gale 07920e84f8 Fix using keys instead of values
Also add `logger.debug` call with keys from API response
2025-09-23 09:12:16 +01:00
Michael B. Gale 40262b1861 Add getRepositoryProperties to api-client, for easier mocking 2025-09-23 09:11:10 +01:00
Michael B. Gale ed216a06d2 Include queries from repo properties in AugmentationProperties 2025-09-20 14:09:07 +01:00
Michael B. Gale 4f9b2f7f06 Add initial client for repository properties 2025-09-20 14:09:06 +01:00