diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..581e4ce2d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,254 @@ +# Changelog + +## 1.0.0 (2026-04-01) + + +### Features + +* add ApplicationDeleter implementation and integrate into job dispatch workflow for temporary application management ([50df83e](https://github.com/ctrlplanedev/ctrlplane/commit/50df83e2f08e4402d0e18ad68a77b4e51e3e9490)) +* add argo workflow JobAgent ([#856](https://github.com/ctrlplanedev/ctrlplane/issues/856)) ([44f03d2](https://github.com/ctrlplanedev/ctrlplane/commit/44f03d27b81e23b3265792de058732b95ee0d419)) +* add caching mechanism to GetReleaseTargetsForDeploymentAndEnvir… ([#851](https://github.com/ctrlplanedev/ctrlplane/issues/851)) ([be8e180](https://github.com/ctrlplanedev/ctrlplane/commit/be8e1800978c43a5137bf560c14d457c81f07c4c)) +* add computed policy release target functionality and integrate with policies query ([7da8e6c](https://github.com/ctrlplanedev/ctrlplane/commit/7da8e6c3e689fe79d2f4e62a97c6e866db995b0d)) +* add computed resource tables and update deployment resource selector evaluation ([e53c1df](https://github.com/ctrlplanedev/ctrlplane/commit/e53c1df2c97c62fba1d760b2c5782c1dfc89051e)) +* add ComputedRelationsSection component and integrate it into ResourceDetail for displaying computed relationships ([8cb3e49](https://github.com/ctrlplanedev/ctrlplane/commit/8cb3e49ca5d1309d34c3c6741c551207e49cedd4)) +* add DB deployments option in workspace initialization ([752ac72](https://github.com/ctrlplanedev/ctrlplane/commit/752ac72669bf95d7912702edf78c3c9639b74d16)) +* add deployment plan creation and retrieval endpoints with associated schemas ([d33235c](https://github.com/ctrlplanedev/ctrlplane/commit/d33235c83ae93cd8ecc7719b35eb084dd910c688)) +* add deployment variable configuration options and enhance scenario state with variable management ([add6202](https://github.com/ctrlplanedev/ctrlplane/commit/add6202e5e3a2425d3f86f4bb1017b8b7d9e59dc)) +* add Desired Release form and enqueue functionality in work queue ([e61cee1](https://github.com/ctrlplanedev/ctrlplane/commit/e61cee16837cea6d0f0a856fd1893c4fd57c78f0)) +* add detailed release target evaluations and routing for deployment policies ([b081613](https://github.com/ctrlplanedev/ctrlplane/commit/b0816138583294847b1b3926a4589bd692545a38)) +* add dispatchResourceSelectorEval function to handle resource selector evaluations for environments and deployments; integrate evaluation calls in resource creation and update handlers ([0d9745b](https://github.com/ctrlplanedev/ctrlplane/commit/0d9745b45d767a66372fe5b4f5508a28d1140d8d)) +* add dynamic route for resource aggregates detail page and update UI to use Link component ([ae17b38](https://github.com/ctrlplanedev/ctrlplane/commit/ae17b381950bdfea796e6bdab99afe86721e96b9)) +* add enqueue functionality for affected targets in policy handlers and update policy retrieval to include rules ([d7995b8](https://github.com/ctrlplanedev/ctrlplane/commit/d7995b877b5dd68acb69ba34db9de316dab9b68b)) +* add evaluate mutation for deployment versions to trigger policy evaluations and handle errors ([0c2b507](https://github.com/ctrlplanedev/ctrlplane/commit/0c2b50734a7d8af4cf1aefd29b152d6178ea8146)) +* add format:fix script and update journal with new version ([211a8b7](https://github.com/ctrlplanedev/ctrlplane/commit/211a8b7bbca099207c0572e339987b4f9cb4ae05)) +* add functions to enqueue release targets for specific environments and deployments, enhancing release management capabilities ([7fbb2fd](https://github.com/ctrlplanedev/ctrlplane/commit/7fbb2fdc0d3a25386684001ad312bbc2580dd9f1)) +* add GetExistingRelationshipsForEntity query and implementation to retrieve computed relationships for a given entity ([2b18e79](https://github.com/ctrlplanedev/ctrlplane/commit/2b18e7990806638305289792108fc6504234e917)) +* add GetVerificationPolicies method to Getter interface and implement in PostgresGetter; enhance job creation with verification specs in CreateJobWithVerification ([d4d0739](https://github.com/ctrlplanedev/ctrlplane/commit/d4d0739e379d98f6f8f5279a14cf362a47b9746c)) +* add gradual rollout detail to DeploymentVersion component and update EnvironmentVersionDecisions to include version status ([af42e4b](https://github.com/ctrlplanedev/ctrlplane/commit/af42e4b94ec92bf5c2270812b2c7d4a1adedeab8)) +* add indexes to various tables for improved query performance and create new SQL snapshot for version 7 ([f62205e](https://github.com/ctrlplanedev/ctrlplane/commit/f62205e2e07e0fa07d25142c4368526d741e83c1)) +* add job agents to database system context ([f213916](https://github.com/ctrlplanedev/ctrlplane/commit/f213916e17095624bc98d612435b1e00c748ef7a)) +* add ListDeployableVersionsByDeploymentID query and PolicySkip model to enhance deployment version management ([da1c4e8](https://github.com/ctrlplanedev/ctrlplane/commit/da1c4e84a3107eaed8845ec5d9707553e86b6393)) +* add logging for deployment and environment resource selector evaluations ([922cb47](https://github.com/ctrlplanedev/ctrlplane/commit/922cb4712f375aac442c12dbee02cb7c76eae24a)) +* add max concurrency configuration for reconcile workers ([c555550](https://github.com/ctrlplanedev/ctrlplane/commit/c555550f0457f0207180c7901452bba869714bf5)) +* add message field to deployment plan target results for enhanced error reporting and user feedback ([85e24e7](https://github.com/ctrlplanedev/ctrlplane/commit/85e24e755423965ce33aec359850c7a4944bd02b)) +* add new journal entry and index for policy rule evaluation to enhance data tracking and query performance ([32c8c27](https://github.com/ctrlplanedev/ctrlplane/commit/32c8c2755407e062c5d2c9233ecda7f47f8a3f9a)) +* add new journal entry for fancy human cannonball ([b859611](https://github.com/ctrlplanedev/ctrlplane/commit/b8596112ef3bf761d304e2003c2585736c0e2e5f)) +* add new queries and types for job verification metrics, including GetProviderContextForMetric and GetSiblingMetricStatuses; update database schema to support job_id in job_verification_metric ([e2a8378](https://github.com/ctrlplanedev/ctrlplane/commit/e2a83786ce255817b90adf87c626c164645e812d)) +* add new queries for release targets and job verification status ([08140f6](https://github.com/ctrlplanedev/ctrlplane/commit/08140f6b7ad2a228c0b9d7abcfedf8272e4c8de6)) +* add NewController constructors for deployment and environment resource selectors, and update getter methods for policy skips ([8eb8770](https://github.com/ctrlplanedev/ctrlplane/commit/8eb8770e1a9a84f7136d9e89d09c3d2d9df3c4ec)) +* add ordering to systems retrieval for improved data organization ([08a655d](https://github.com/ctrlplanedev/ctrlplane/commit/08a655dbdb8619ffc98fabf2efc2eccf8e42e864)) +* add PostgreSQL service to Playwright workflow and refactor release target handling with direct database queries ([2e18bdf](https://github.com/ctrlplanedev/ctrlplane/commit/2e18bdf954bd6d6e95382ffc3eb3741ca4fbc811)) +* add production and development environments, deployments, and system links in verification example ([c933dc7](https://github.com/ctrlplanedev/ctrlplane/commit/c933dc7eb40ffe6a6b876fc8150e440903dc8b5f)) +* add reconcile button to release target evaluations page and enhance affected targets handling in policy events ([d830127](https://github.com/ctrlplanedev/ctrlplane/commit/d830127aa0bc58006883c4fa2f1cada8536f9b4a)) +* add reconcile module export to schema ([201b4af](https://github.com/ctrlplanedev/ctrlplane/commit/201b4afa602a1178ade695b10f1e70be006114ed)) +* add reconcilers to db package and refactor reconcile routes to use enqueue functions ([128b91c](https://github.com/ctrlplanedev/ctrlplane/commit/128b91c18ccada6509f5d2c072f143f866b4c7fe)) +* add relationship and computed entity relationship models, update main application to include new relationship evaluation controller ([8c35203](https://github.com/ctrlplanedev/ctrlplane/commit/8c3520321e189adfb88ceba839ffd3cc555a7904)) +* add relationship and computed entity relationship tables with foreign key constraints and indexes ([b256306](https://github.com/ctrlplanedev/ctrlplane/commit/b25630693f5e1cc68f28ae3465a8310eee951227)) +* add relationships route and UI for viewing relationships in relationship rules ([51953e7](https://github.com/ctrlplanedev/ctrlplane/commit/51953e7561588f35bdc756beb2f807e16e13b61e)) +* add release getter to PostgresGetters for improved release management ([516d831](https://github.com/ctrlplanedev/ctrlplane/commit/516d8312e31d9b5f9cff9dcab123117607761594)) +* add release target state endpoint ([c0e7901](https://github.com/ctrlplanedev/ctrlplane/commit/c0e790184c9193d77da217f268a5f22c81172baf)) +* add resource aggregates route and schema for computing aggregates based on CEL expressions ([bc56a1c](https://github.com/ctrlplanedev/ctrlplane/commit/bc56a1cfab297a7f9ed38cfd04f9717161dadb2e)) +* add resource summary retrieval functionality ([829c4ac](https://github.com/ctrlplanedev/ctrlplane/commit/829c4ac2e48adc6f9c0eea0d2833b8251d0aff97)) +* add ResourceProvider model and repository integration ([e0a33e1](https://github.com/ctrlplanedev/ctrlplane/commit/e0a33e19811d26f76b2683f02327a72cda19f907)) +* add RFCs section to documentation and remove obsolete RFC files ([4793fae](https://github.com/ctrlplanedev/ctrlplane/commit/4793fae321baccde101fe4dadf03c1595fef37f2)) +* add rule_type to policy_rule_evaluation schema and update related queries and parameters ([c376cde](https://github.com/ctrlplanedev/ctrlplane/commit/c376cdebb759ba625f4423d36e2fc9a1c672099c)) +* add SQL migration for reconcile_work_payload and reconcile_work_scope tables, including new columns and index creation ([d9ddc9e](https://github.com/ctrlplanedev/ctrlplane/commit/d9ddc9e8e8165043762970410dc35abd5221f394)) +* add success and error notifications for reconciliation process in release target evaluations ([e65e304](https://github.com/ctrlplanedev/ctrlplane/commit/e65e3044dc028785975a66d04a723865dd9e7717)) +* add support for Docker image tags in build workflow ([eb9c1a2](https://github.com/ctrlplanedev/ctrlplane/commit/eb9c1a29d4c9d9d33b93cd8d2b3b7b7fe8446aee)) +* add unit tests for environment and deployment conversion functions ([85c2648](https://github.com/ctrlplanedev/ctrlplane/commit/85c26481d87f15dd9aa30742d3e179e95d1dfd89)) +* add VersionStatusDetail component and improve environment progression checks ([7c81213](https://github.com/ctrlplanedev/ctrlplane/commit/7c812133cce2dbe75d525ae83e740ae20bcb72af)) +* add workspaceId to Environment schema and update related components ([264ca9e](https://github.com/ctrlplanedev/ctrlplane/commit/264ca9eb32acdaed467807e658d14be51aa08331)) +* eligibility controller ([#840](https://github.com/ctrlplanedev/ctrlplane/issues/840)) ([02cbd08](https://github.com/ctrlplanedev/ctrlplane/commit/02cbd08b710efa2e84e980502b61edd6b36ef2b2)) +* enhance computed relationships management with batch upsert and delete operations for improved performance ([4a8f2c8](https://github.com/ctrlplanedev/ctrlplane/commit/4a8f2c823be8ef77474b9969d1750c9d11588bcf)) +* enhance deployment and environment management with environmentIds ([dfd312d](https://github.com/ctrlplanedev/ctrlplane/commit/dfd312d219a728ba6096bdd5c920fa3ecdfedfd6)) +* enhance deployment planning with new target result handling and state persistence ([4f0e23a](https://github.com/ctrlplanedev/ctrlplane/commit/4f0e23a168939ddeb86a148d8fe6b8470a591824)) +* enhance deployment version decisions with skipped rule handling and new UI components ([fdde792](https://github.com/ctrlplanedev/ctrlplane/commit/fdde792bf28db0cc97d65562d0402e38feed6e3b)) +* enhance job agent configuration resolution in deployment selector ([06a77e5](https://github.com/ctrlplanedev/ctrlplane/commit/06a77e5b51b0de66a64359c18219757802d223e8)) +* enhance job dispatching with verification support; add AgentVerifier interface and integrate into job processing ([09398f1](https://github.com/ctrlplanedev/ctrlplane/commit/09398f1c00966aab7a9313d080d5e5d2c74a5f0e)) +* enhance job verification metrics processing with improved logging and error handling; introduce new evaluator for condition checks ([4162760](https://github.com/ctrlplanedev/ctrlplane/commit/4162760395349c09371a27de44e110833992017d)) +* enhance plan-based diff detection by delegating rendering to ArgoCD for accurate manifest comparison ([9b5e782](https://github.com/ctrlplanedev/ctrlplane/commit/9b5e782bda381ece9d0ab3507afcb634d615c140)) +* enhance policies router with database integration for CRUD operations and rule management ([0cccc73](https://github.com/ctrlplanedev/ctrlplane/commit/0cccc7389f69d63a014276e016e30f1c406492e1)) +* enhance release target evaluations by integrating policy information and grouping evaluations by policy ([e795dff](https://github.com/ctrlplanedev/ctrlplane/commit/e795dffed0234838a6e4d8943d9e2d133b0d8474)) +* enhance release target management by adding celToSelector function and updating related retrieval methods ([ca2db45](https://github.com/ctrlplanedev/ctrlplane/commit/ca2db454026b63b0bdd824afeb94444cc5fa39f7)) +* enhance resource provider handling with OpenTelemetry tracing ([7a14ff3](https://github.com/ctrlplanedev/ctrlplane/commit/7a14ff3b073f4037faf5257d4fb6257a02bd92bf)) +* enhance resource querying and management capabilities ([b59f11d](https://github.com/ctrlplanedev/ctrlplane/commit/b59f11d9b59fe3f1279e4b0eed75be6fa5372c58)) +* enhance ResourceProvider repository with additional methods ([d9ee249](https://github.com/ctrlplanedev/ctrlplane/commit/d9ee249ee72650258ae6c27dcf8202c70859c625)) +* enhance selector handling by improving celToSelector function and adding comprehensive tests ([1bd7bfa](https://github.com/ctrlplanedev/ctrlplane/commit/1bd7bfa9d616ea2dc450b6b2196cfb3623ca1def)) +* enhance service management by adding dynamic service enabling based on configuration ([ff14444](https://github.com/ctrlplanedev/ctrlplane/commit/ff144440658e32b8c213e0cbadce61c5c43af283)) +* enhance SQLExtractor to support new string functions and cross-entity comparisons; update tests for improved filtering logic ([159b4c5](https://github.com/ctrlplanedev/ctrlplane/commit/159b4c5c2693894286d4b9f1f2050d6fa910e752)) +* expand RFC documentation with new sections on auto rollback interactions and additional RFC entries ([7ac82d1](https://github.com/ctrlplanedev/ctrlplane/commit/7ac82d1f42d202514982b4ce3c0caf2d19ae5d75)) +* implement batch deletion of stale policy rule evaluations to improve performance and reduce database load ([1b44253](https://github.com/ctrlplanedev/ctrlplane/commit/1b442537fec75835071051a87e2c3bb1b82a3a67)) +* implement batch upsert and remove functionality for resources ([3f282b6](https://github.com/ctrlplanedev/ctrlplane/commit/3f282b6c65184720e75b35cc3a07419fd3035abb)) +* implement batch upsert for computed entity relationships ([f6b72cd](https://github.com/ctrlplanedev/ctrlplane/commit/f6b72cd8d94319a112cc68e155f8218022d8f48f)) +* implement CEL expression parsing and SQL filter extraction for resource selectors; update deployment and environment controllers to utilize new filtering logic ([1fb959b](https://github.com/ctrlplanedev/ctrlplane/commit/1fb959be27e107061cb59d298436cd60d78d6e24)) +* implement cleanup of expired claims in reconcile process to enhance resource management ([d0464a1](https://github.com/ctrlplanedev/ctrlplane/commit/d0464a14d61a9cfabbf719d3bb50ed561b29bfd3)) +* implement CRUD operations for deployment variables and enhance pagination support in the API ([4d75d95](https://github.com/ctrlplanedev/ctrlplane/commit/4d75d957107657643b7c2eaee74361cdee2123c6)) +* implement DeleteStalePolicyRuleEvaluations function and integrate it into UpsertRuleEvaluations process ([51dd28b](https://github.com/ctrlplanedev/ctrlplane/commit/51dd28b754933b3898be9d936e77ccaee6d44dc0)) +* implement deployment and environment linking for systems ([3c0e384](https://github.com/ctrlplanedev/ctrlplane/commit/3c0e384c8f56b1ca3ec500567686a1d750d86800)) +* implement desired release evaluation with real-time relationship resolution and update related entity handling ([574fc5b](https://github.com/ctrlplanedev/ctrlplane/commit/574fc5bef3eac7b216810525637b9d623ff47d14)) +* implement EnqueueMany functionality for batch processing in queues; add related tests for batch enqueueing and validation ([bc2aede](https://github.com/ctrlplanedev/ctrlplane/commit/bc2aededbf6603bf64a2df8520712ce8744b64a4)) +* implement GetAllDeployments method in DeploymentGetter interface and update related components ([d8368f0](https://github.com/ctrlplanedev/ctrlplane/commit/d8368f00535a0af783a8a17959af3f8b3aaf1159)) +* implement job management features including job creation with verification metrics, job dispatch context retrieval, and new job-related types; update database schema and queries accordingly ([b85681d](https://github.com/ctrlplanedev/ctrlplane/commit/b85681d96226293385f5a5827775df0931163b5e)) +* implement job management functionalities including job retrieval, upsert, and deletion; enhance database schema with job_metadata table and related queries ([bc1e497](https://github.com/ctrlplanedev/ctrlplane/commit/bc1e49756db1547e3304df25d49fdeef30c6e5e1)) +* implement logging enhancements for better debugging and monitoring ([5892c55](https://github.com/ctrlplanedev/ctrlplane/commit/5892c551c875cb59d9fac26b5de0588d24a36e0a)) +* implement manifest timeout handling and state tracking in ArgoCD planner for improved error management ([2e589f6](https://github.com/ctrlplanedev/ctrlplane/commit/2e589f6a7526ee94e7a6012da7db6999d1415bf5)) +* implement multi-table structure for workqueue with payload support ([fa7e4e1](https://github.com/ctrlplanedev/ctrlplane/commit/fa7e4e15d67e8d136c5381538d779925c9c45385)) +* implement Plan method in TestRunner for job dispatch planning functionality ([03de2db](https://github.com/ctrlplanedev/ctrlplane/commit/03de2db51c8f455b92fdd95e1f1858b4939f3802)) +* implement release target evaluation and enqueueing in deployment and environment resource selectors ([fa778a7](https://github.com/ctrlplanedev/ctrlplane/commit/fa778a7f9c3339d3bf2b3e9803e2ca64894847a3)) +* implement resource selector evaluation for deployments and environments; add enqueue functionality for resource selector evaluations and update related handlers ([a514a86](https://github.com/ctrlplanedev/ctrlplane/commit/a514a86133936736c9e87ecc16f21ef55617f7c1)) +* implement retrieval of release targets for specific deployment and environment ([26cb476](https://github.com/ctrlplanedev/ctrlplane/commit/26cb476f181ba07eb807ea1c763afbf4c4ada891)) +* implement singleflight for deduplication in policy fetching and version listing ([1dbd4f0](https://github.com/ctrlplanedev/ctrlplane/commit/1dbd4f0cc5a09d38aba13f2271ca40d334650af3)) +* implement summary reconciler ([#836](https://github.com/ctrlplanedev/ctrlplane/issues/836)) ([072a487](https://github.com/ctrlplanedev/ctrlplane/commit/072a4874e5648d2c954562af9aa33f04dcecd9bd)) +* implement temporary Application strategy for accurate manifest diffing in Plan function ([b190b92](https://github.com/ctrlplanedev/ctrlplane/commit/b190b92e40864b77ed074862bd48d2dbe387299a)) +* implement variable resolution and enhance getter methods for deployment variables, resource variables, and related entities ([0da3071](https://github.com/ctrlplanedev/ctrlplane/commit/0da3071a9b949e81366c35fbcb8cb5c1fffce861)) +* improve release target evaluations by adding existence check and enhancing display messages for empty states ([f20a88b](https://github.com/ctrlplanedev/ctrlplane/commit/f20a88b6a056f14eee9c107f4c51285f315ff3fc)) +* include aggregate verification status in release target state response ([#883](https://github.com/ctrlplanedev/ctrlplane/issues/883)) ([0cda033](https://github.com/ctrlplanedev/ctrlplane/commit/0cda033fc8366ffdb941494bafd19099f59fc34d)) +* integrate CEL parsing for resource selectors and enhance environment management with database operations ([c39115f](https://github.com/ctrlplanedev/ctrlplane/commit/c39115f73b8255d370241cf6d4acf23a3835ba20)) +* integrate deployment resource selector evaluation into workspace engine ([58fa9dc](https://github.com/ctrlplanedev/ctrlplane/commit/58fa9dc1507f5c9fa4a4ea54eacba59b72fd78a0)) +* integrate enqueueAllReleaseTargetsDesiredVersion function into policy handlers to ensure consistent release target updates ([a07579a](https://github.com/ctrlplanedev/ctrlplane/commit/a07579a08256e78a1fa9ca6db8e1e6bae1505734)) +* integrate job dispatching for ArgoCD and GitHub, removing obsolete jobdispatch files ([3b7e474](https://github.com/ctrlplanedev/ctrlplane/commit/3b7e474f49109b39f89d6ba4829efb583699ba93)) +* integrate OpenTelemetry tracing into resource and policy retrieval methods ([9960bde](https://github.com/ctrlplanedev/ctrlplane/commit/9960bdecd7a09007cdd295b61cf8d110b0cd5f1d)) +* integrate policy evaluation into deployment process and update imports for reconciler functions ([305380e](https://github.com/ctrlplanedev/ctrlplane/commit/305380e0bb9c4e1a58720cfd9fe035f6cdfa772c)) +* introduce Deployment and Environment models with associated SQL tables ([1f9630f](https://github.com/ctrlplanedev/ctrlplane/commit/1f9630f960c67a366974a56b51cc06ae7ee3d66f)) +* introduce desired release controller and release target handling ([41a8d09](https://github.com/ctrlplanedev/ctrlplane/commit/41a8d0940a2edf1662562d64b963e240c51df602)) +* introduce job dispatching enhancements with new JobAgent configuration options and integrate job assertions in testing ([39f2dde](https://github.com/ctrlplanedev/ctrlplane/commit/39f2dde0bfd4c71fab86e5cd2a9cbe873a83ff3f)) +* introduce JobAgent model and repository integration ([dc4c810](https://github.com/ctrlplanedev/ctrlplane/commit/dc4c810f12fe578f8c7142b22144283e1841d8dc)) +* introduce release and release variable models with database integration ([3398002](https://github.com/ctrlplanedev/ctrlplane/commit/3398002cdbae205416bcecf4bcb7a813d5ceef7c)) +* redact secrets in job agent UI ([#864](https://github.com/ctrlplanedev/ctrlplane/issues/864)) ([879f77e](https://github.com/ctrlplanedev/ctrlplane/commit/879f77e5d18b15c8adef94a4db4c91808fdfff6e)) +* refactor verification system to introduce JobVerificationMetric and related types; replace verification controller with verificationmetric integration ([ad8c42e](https://github.com/ctrlplanedev/ctrlplane/commit/ad8c42e3d011444612ea4def854ca4fbde99fa4d)) +* support multiple job agent configs for a deployment ([#807](https://github.com/ctrlplanedev/ctrlplane/issues/807)) ([3471179](https://github.com/ctrlplanedev/ctrlplane/commit/3471179f10cb603bf0216e8fb5fa672eda9d54e8)) +* template success/failure conditions in verification specs from dispatch context ([#884](https://github.com/ctrlplanedev/ctrlplane/issues/884)) ([801d39d](https://github.com/ctrlplanedev/ctrlplane/commit/801d39d336940a064c329c8a820a774f433b2daa)) +* **tfe-job-agent:** webhook-based TFC job agent ([#847](https://github.com/ctrlplanedev/ctrlplane/issues/847)) ([4e1319e](https://github.com/ctrlplanedev/ctrlplane/commit/4e1319e130a61eb3974f32ddb7e6bd86ca0a41ea)) +* update OpenAPI paths for deployment variable management; enhance deployment variable operations with detailed descriptions and remove unused paths ([7de10e2](https://github.com/ctrlplanedev/ctrlplane/commit/7de10e2b4877ae8d540bdfefb8a81f87c9459ed4)) +* update OpenAPI specifications and response handling for resource providers ([be5a9d2](https://github.com/ctrlplanedev/ctrlplane/commit/be5a9d296d16aa60c52ac41def8a43c089ec3d7c)) +* update release target evaluations to include deployment ID and improve query conditions ([94da104](https://github.com/ctrlplanedev/ctrlplane/commit/94da10460669e0527099f479b2a8b41f22214f86)) +* update RFC documentation with new entries for Argo Workflows job agent and secret provider integration ([9b7faef](https://github.com/ctrlplanedev/ctrlplane/commit/9b7faefc25a8ffc09bcd99089e9ff979f6ea425e)) +* update workflow job structure to include workflowId; enhance buildWorkflow function to assign workflowId to jobs ([15147a8](https://github.com/ctrlplanedev/ctrlplane/commit/15147a82d27de93e6467ad7497f847cf8657848e)) +* workflows v2 ([#854](https://github.com/ctrlplanedev/ctrlplane/issues/854)) ([3766129](https://github.com/ctrlplanedev/ctrlplane/commit/37661296c2cef7ddea3a47079cab438cbfd9779a)) + + +### Bug Fixes + +* accept ids for upsert rule request ([a41135b](https://github.com/ctrlplanedev/ctrlplane/commit/a41135bc4adcbfa9ebec59e869ba5743026dc34b)) +* add oapi to db job status mapper ([bb1ee87](https://github.com/ctrlplanedev/ctrlplane/commit/bb1ee877c8af29b1b1ba1d3e9d51f6e6c172d3f6)) +* also correctly convert release variables object ([028dbe9](https://github.com/ctrlplanedev/ctrlplane/commit/028dbe91ff13beb3dbc09093c461d246143a72bb)) +* also propagate fixed variables back into release object in dispatch context ([d1f9848](https://github.com/ctrlplanedev/ctrlplane/commit/d1f98489113f5488eaae6425cbf6c31ffd779e18)) +* check for nil dispatch ctx ([c3d08c5](https://github.com/ctrlplanedev/ctrlplane/commit/c3d08c525b22f0712e15d99958e397f18d199ee5)) +* **ci:** remove id-token write perm (not needed) ([#809](https://github.com/ctrlplanedev/ctrlplane/issues/809)) ([77b98dc](https://github.com/ctrlplanedev/ctrlplane/commit/77b98dcf9e7f21cc22769d90d6006c4289488a24)) +* correct entity restore order ([d6fcd85](https://github.com/ctrlplanedev/ctrlplane/commit/d6fcd85d3acef7f3e7df2e730317543f4b9489a8)) +* correct err check ([#838](https://github.com/ctrlplanedev/ctrlplane/issues/838)) ([98da344](https://github.com/ctrlplanedev/ctrlplane/commit/98da344a3b6891de0333ffd1be3483d93b6e9352)) +* correct import order in reconcile_test.go to ensure proper package usage ([72c33cd](https://github.com/ctrlplanedev/ctrlplane/commit/72c33cda431de01a8879b1ed1fa296ceb09f9004)) +* correct logging format in GetResources method for SQL filter ([6667b4f](https://github.com/ctrlplanedev/ctrlplane/commit/6667b4fb84b796de75cfc8a86f63b8a6c771dc82)) +* correct typing for components ([7ecf40e](https://github.com/ctrlplanedev/ctrlplane/commit/7ecf40e65729dfc8bb36327cdab66eb2f7e4dbd1)) +* correct typo in targetRevision field in RFC 0002 ([c91eddb](https://github.com/ctrlplanedev/ctrlplane/commit/c91eddb7c90f52b8de725004cd46422f6b1733e0)) +* correctly convert dispatch ctx to oapi type ([c3c2610](https://github.com/ctrlplanedev/ctrlplane/commit/c3c261072af77c37b5aa685c8d55211b81b69a16)) +* delete workflow endpoint returns 202 ([cdb7038](https://github.com/ctrlplanedev/ctrlplane/commit/cdb7038f45def9ad983ac7188afe3b16bff62fd6)) +* dereference string for fmt ([62dae13](https://github.com/ctrlplanedev/ctrlplane/commit/62dae139b4acb4c444d8c95297fc281530d43cf0)) +* desired section number only reflects the ones whos latest version is not desired version ([e1b98e7](https://github.com/ctrlplanedev/ctrlplane/commit/e1b98e76496ad50bf482e5d6487771ae29bb5a5e)) +* dont insert into resource_variable table if no variables set on resource ([#880](https://github.com/ctrlplanedev/ctrlplane/issues/880)) ([8bea3cd](https://github.com/ctrlplanedev/ctrlplane/commit/8bea3cd6c5b8982e5b0bf36b0628d3575078137a)) +* dont map false cel to nil ([2c7dc27](https://github.com/ctrlplanedev/ctrlplane/commit/2c7dc271124f4d590f075427139321f5cef85696)) +* dont use broken schema ([3ac0bf6](https://github.com/ctrlplanedev/ctrlplane/commit/3ac0bf603fe21b6f12da09f63826306e9e2e3426)) +* ensure temporary application cleanup occurs in all error scenarios within ArgoCD planner's Plan method ([5260b72](https://github.com/ctrlplanedev/ctrlplane/commit/5260b72c2c5f2d56f3973f37b54e8f914661f0ce)) +* env progression working ([232cc60](https://github.com/ctrlplanedev/ctrlplane/commit/232cc6096b104cb6dcdecabd141f5969179d302a)) +* err handling in eval bool ([b41776c](https://github.com/ctrlplanedev/ctrlplane/commit/b41776cda0507b8c863d546981175cce0a34fb20)) +* format ([f442679](https://github.com/ctrlplanedev/ctrlplane/commit/f44267964c5689cac1e5133c15a19baa4dd41be2)) +* formatting ([e26cf19](https://github.com/ctrlplanedev/ctrlplane/commit/e26cf194afa94cfe419482ee0a78c7c11b47f5b7)) +* frontend argo verification render takes into account multi-app list format ([d40e164](https://github.com/ctrlplanedev/ctrlplane/commit/d40e1648e9b64b8736e413fe822524d16e4993ff)) +* get job inputs action uses dispatch ctx ([#865](https://github.com/ctrlplanedev/ctrlplane/issues/865)) ([30d295d](https://github.com/ctrlplanedev/ctrlplane/commit/30d295d4d00e1fc66cccc23a9555ee1c9bbb392d)) +* handle error during CEL program compilation in GetResources method ([d58fde3](https://github.com/ctrlplanedev/ctrlplane/commit/d58fde3cb3134ca284414ce76c0f457750e3cdb5)) +* handle nullable job_agent_id when persisting failure jobs ([78da83d](https://github.com/ctrlplanedev/ctrlplane/commit/78da83de77a088992762d6e5a993724c2c9a5d42)) +* handle race condition in computed policies insert query ([86dc460](https://github.com/ctrlplanedev/ctrlplane/commit/86dc46090e5b8b0c972e13ef2fd04da8c791e6cc)) +* implement retry logic for router registration with exponential backoff ([78688ae](https://github.com/ctrlplanedev/ctrlplane/commit/78688ae3a668cefc5b989a80a44dd2fc03a36d01)) +* in system router treat selector as simple string ([c590d95](https://github.com/ctrlplanedev/ctrlplane/commit/c590d95b6aaf590ecf8bc9588d69e7cd5c585029)) +* include dispatch context when retrieving job from postgres ([35753df](https://github.com/ctrlplanedev/ctrlplane/commit/35753df0236079afbd7d6677c37dc39f6433eb00)) +* include message in job response ([fe7051d](https://github.com/ctrlplanedev/ctrlplane/commit/fe7051d7fe5f612db652ab1fe0465edef49ca000)) +* inner join on computed env resources to generatre correct pairs ([47fb0b8](https://github.com/ctrlplanedev/ctrlplane/commit/47fb0b8b12525345bd788fed038e62e2e39745eb)) +* lint ([dfc6725](https://github.com/ctrlplanedev/ctrlplane/commit/dfc6725ed0bfc48e71fc2c97695447f15d25339d)) +* lint ([5d648e2](https://github.com/ctrlplanedev/ctrlplane/commit/5d648e2b5421f5be79cce0676b0dbd41dc423c90)) +* lint ([83adde2](https://github.com/ctrlplanedev/ctrlplane/commit/83adde28e0046568efa41e88da132fa25a25d4da)) +* lint ([001cc8d](https://github.com/ctrlplanedev/ctrlplane/commit/001cc8dcbfa52c97701c935fb7d5757785214cad)) +* lint ([011e088](https://github.com/ctrlplanedev/ctrlplane/commit/011e088e30d5b2c84ed1a494b23b5ee5b44aac07)) +* lint ([25ee23e](https://github.com/ctrlplanedev/ctrlplane/commit/25ee23e0217b6a8583db09d48d7d4666ea144f17)) +* lint ([e7a136d](https://github.com/ctrlplanedev/ctrlplane/commit/e7a136d1de4e1baf7857d0020c23652cb2a34521)) +* lint ([dbf3d17](https://github.com/ctrlplanedev/ctrlplane/commit/dbf3d17abb79bd84226f078f4a0ce2345871d032)) +* linting ([bc00317](https://github.com/ctrlplanedev/ctrlplane/commit/bc00317845485a9d723a372ac685426fa1889464)) +* make convert correct ([2bcc837](https://github.com/ctrlplanedev/ctrlplane/commit/2bcc837d0c238a374b58b793cd23c109b239b35e)) +* mark byte fields as json rawmessage ([ab3d9d4](https://github.com/ctrlplanedev/ctrlplane/commit/ab3d9d47eb6c8d10ad6e463f81cae1c232decadb)) +* mock doesnt return nil ([f39d315](https://github.com/ctrlplanedev/ctrlplane/commit/f39d3157ab554d1df9531ebea3f6b8e7efe0fe99)) +* nit lint err ([fa3b073](https://github.com/ctrlplanedev/ctrlplane/commit/fa3b073ac85cb466bfa5fe943ba506348925dbab)) +* only check release ([826dd2c](https://github.com/ctrlplanedev/ctrlplane/commit/826dd2c6c7cf2c41a7c3839644db9458fd791263)) +* only parse simple string for entity selectors ([b683576](https://github.com/ctrlplanedev/ctrlplane/commit/b6835763435d8a077ca1e976ad8a8b12bd9da390)) +* optional chaining check for approvals ([947f53e](https://github.com/ctrlplanedev/ctrlplane/commit/947f53ec685827c8ae53cd02be74b8a6d1bc94cd)) +* populate version name as tag so it shows up in ui ([f7160c9](https://github.com/ctrlplanedev/ctrlplane/commit/f7160c9d0ca2fceff2288babc8d297c150ae6244)) +* properly deep merge configs ([6e490c3](https://github.com/ctrlplanedev/ctrlplane/commit/6e490c37c5d884c197299c5fb546c9893eab4419)) +* put nulls in last when retreiving current version ([6e8d526](https://github.com/ctrlplanedev/ctrlplane/commit/6e8d526257f09be8fcacc7b628647335ef639b60)) +* register sys link entities ([4841c8f](https://github.com/ctrlplanedev/ctrlplane/commit/4841c8fda33ed349639c6f833a1c06b171b66e28)) +* relationships uses new format ([e26d745](https://github.com/ctrlplanedev/ctrlplane/commit/e26d745761916d5750da1b49ddbe17fa37b3c64c)) +* remove faulty filter in dockerfile ([132c3a1](https://github.com/ctrlplanedev/ctrlplane/commit/132c3a185327f78997314c2f46c7f679992ab32d)) +* remove non-null assertion from KIND_PALETTE indexing in WorkQueueCharts component ([57b232e](https://github.com/ctrlplanedev/ctrlplane/commit/57b232e60d398b081235928befe1776d317215ef)) +* remove references to legacy selector oapi type ([8353849](https://github.com/ctrlplanedev/ctrlplane/commit/8353849553e224ce52519b952de047408028b312)) +* remove unnecessary release ID search in job update handler ([a281caf](https://github.com/ctrlplanedev/ctrlplane/commit/a281caf4a48da1161106bc0b1769e33e8cd76077)) +* remove unreferenced file from reconciler index.ts ([2751ad0](https://github.com/ctrlplanedev/ctrlplane/commit/2751ad0f454773137a3a62b5c9e4215de7bbed16)) +* remove unused thing ([37927d1](https://github.com/ctrlplanedev/ctrlplane/commit/37927d1ef8350e9f79a2cc15646e010cf5e543cd)) +* requeue after ack to prevent scope row deletion race ([e036929](https://github.com/ctrlplanedev/ctrlplane/commit/e036929263d93bc5a336f3ecc8e40d902b8c6976)) +* resource provider delete endpoint ([a7c92f7](https://github.com/ctrlplanedev/ctrlplane/commit/a7c92f75aecd1b88da410883a1ed041189210f85)) +* retry policy counts consecutively instead of cumulatively ([#819](https://github.com/ctrlplanedev/ctrlplane/issues/819)) ([b8a4b48](https://github.com/ctrlplanedev/ctrlplane/commit/b8a4b4866cef224cddbb3866d5759cd764ac19b9)) +* return 202 with id in deployment variable value upsert response ([c6a389b](https://github.com/ctrlplanedev/ctrlplane/commit/c6a389b3813a3c9c3e3b7453cd083856ecbe048a)) +* return metadata as record from server endpoint ([cb1cd84](https://github.com/ctrlplanedev/ctrlplane/commit/cb1cd848f2ce294c6d955a5b97a3fcec504e7e82)) +* return next eval time even on success ([fab9207](https://github.com/ctrlplanedev/ctrlplane/commit/fab9207182c09830c757f52d76f081dacaedadf8)) +* sdk formatting ([#895](https://github.com/ctrlplanedev/ctrlplane/issues/895)) ([458aa4c](https://github.com/ctrlplanedev/ctrlplane/commit/458aa4ca07e90b9668dfb35d6ca453954aeb0df8)) +* set WorkspaceId in system entity during repository update ([e841239](https://github.com/ctrlplanedev/ctrlplane/commit/e841239c3e9f1065d718cf7e1dce95c42f1fbb5a)) +* stop double-serializing CEL selectors on policy write ([#887](https://github.com/ctrlplanedev/ctrlplane/issues/887)) ([cd7fddd](https://github.com/ctrlplanedev/ctrlplane/commit/cd7fdddff9174cfbac0722a1a937832be0d624a9)) +* test checks for failure job ([4785a6c](https://github.com/ctrlplanedev/ctrlplane/commit/4785a6c95b3d244cfa532d58438465a281cde627)) +* throw error if job dispatch ctx is nil ([396fadb](https://github.com/ctrlplanedev/ctrlplane/commit/396fadb2f02bdc067ab8f4b87cb51ad67ac660da)) +* truncate long version names ([623f089](https://github.com/ctrlplanedev/ctrlplane/commit/623f0891094496277aa8a2d02492c9f8e390bb3f)) +* typecheck ([da4e470](https://github.com/ctrlplanedev/ctrlplane/commit/da4e470a3f41ac79f470ae33df7495c1aa642dfd)) +* update job dispatch logic to handle InProgress status and ensure correct call counts in tests ([8c4b681](https://github.com/ctrlplanedev/ctrlplane/commit/8c4b681eb9fe8d616f7cb1ea2080c1e34c541ef7)) +* update job with failure ([24cc47a](https://github.com/ctrlplanedev/ctrlplane/commit/24cc47a684a81d8e00609981d8640bc3fa12d8d5)) +* update release target query to remove workspaceId and correct total count calculation ([1aa7844](https://github.com/ctrlplanedev/ctrlplane/commit/1aa78444656d77161137530d2636461a6a8c773a)) +* update response status to 202 and include method in resource provider response ([7f86d85](https://github.com/ctrlplanedev/ctrlplane/commit/7f86d85b6ad2237222faef950c41854cb8d43782)) +* update SQL queries to handle expired claims by allowing updates when claimed_until is null or in the past ([4ee5fe1](https://github.com/ctrlplanedev/ctrlplane/commit/4ee5fe177981ba4ba2a3099cd13026772ece56e8)) +* update test ([7cb1799](https://github.com/ctrlplanedev/ctrlplane/commit/7cb1799e9a8337c6acbd4597137964fd8b73b9c6)) +* update version of workspace manager ([#843](https://github.com/ctrlplanedev/ctrlplane/issues/843)) ([7991f54](https://github.com/ctrlplanedev/ctrlplane/commit/7991f546c1871fb41e4fd3e48ed1ad09aa9cf815)) +* update WORKSPACE_ENGINE_ROUTER_URL to WORKSPACE_ENGINE_URL in config ([4cd14b7](https://github.com/ctrlplanedev/ctrlplane/commit/4cd14b79fc855986e5668e03d5829b85aaa65bb9)) +* use correct type for job message insert params ([142e152](https://github.com/ctrlplanedev/ctrlplane/commit/142e152c2324d25bb9c95c9a0250d40bb77d08a2)) +* use empty string for default search ([4b0f1d3](https://github.com/ctrlplanedev/ctrlplane/commit/4b0f1d329261fc16e36869fd056f7b992597e989)) +* use pg type string ([93e6354](https://github.com/ctrlplanedev/ctrlplane/commit/93e63545c84c4ee3d34c3b19ca371bc816fc3b11)) +* use policy eval in trpc endpoint ([3e12d44](https://github.com/ctrlplanedev/ctrlplane/commit/3e12d446ce00a3f6d07293733a90b17211d60957)) +* use sqlc queries to properly retrieve candidate entities ([4b2453d](https://github.com/ctrlplanedev/ctrlplane/commit/4b2453dc9b244538119a11bb2ba0b023d1f0bfd8)) +* use summary evaluator for memoization and detect on first window ([8f4ca12](https://github.com/ctrlplanedev/ctrlplane/commit/8f4ca12462ed3bfb4e600bb0d36965db85c32c03)) +* **web:** password input type + ci reusable workflow + multi-arch images ([#808](https://github.com/ctrlplanedev/ctrlplane/issues/808)) ([e516b41](https://github.com/ctrlplanedev/ctrlplane/commit/e516b41692403754f7a88f60c5e251ea937d2b14)) +* workflow breadcrumb redirects to workflow home ([a599aba](https://github.com/ctrlplanedev/ctrlplane/commit/a599aba7e5ee6675213c59d19b348709e39965fd)) +* workspace-engine returns DeploymentVariableWithValues for GET variable endpoint ([b9f1718](https://github.com/ctrlplanedev/ctrlplane/commit/b9f1718c75139a7dc91828a05fc0f64975077fe2)) + + +### Performance Improvements + +* add index on release_job.release_id ([9751260](https://github.com/ctrlplanedev/ctrlplane/commit/9751260928e21ca5bced067c5d6ae78049e2a381)) +* add traces for policy updating ([282332b](https://github.com/ctrlplanedev/ctrlplane/commit/282332b890afb31c01b7445b4e9671de1905c088)) +* batch job fetching for environment progression policy evaluation ([#853](https://github.com/ctrlplanedev/ctrlplane/issues/853)) ([cd81c4e](https://github.com/ctrlplanedev/ctrlplane/commit/cd81c4ebe17db6790dd8685eba8bf8f17a209ef8)) +* cache release target jobs query ([#862](https://github.com/ctrlplanedev/ctrlplane/issues/862)) ([05740bb](https://github.com/ctrlplanedev/ctrlplane/commit/05740bbbef50d6447a4bcc58b4b7c013bdb03cc6)) +* cache workspace id policies query ([7ea52f4](https://github.com/ctrlplanedev/ctrlplane/commit/7ea52f4eb38c0fd20c0c37078922e7b30095c958)) +* dispatch desired releases only for progression-dependent environments ([#850](https://github.com/ctrlplanedev/ctrlplane/issues/850)) ([a71345b](https://github.com/ctrlplanedev/ctrlplane/commit/a71345b667bc6c3934cdedebf9f3ac6631e266fd)) +* do not include verification metrics in the returned release target response ([#870](https://github.com/ctrlplanedev/ctrlplane/issues/870)) ([8412618](https://github.com/ctrlplanedev/ctrlplane/commit/841261890a90d5991d22b3f3ad6596ca451c5e66)) +* do nothing on upsert ([#849](https://github.com/ctrlplanedev/ctrlplane/issues/849)) ([5ac27fd](https://github.com/ctrlplanedev/ctrlplane/commit/5ac27fda6c8fce72073796fbd0a29782db6e3587)) +* dont await controller enqueues in api endpoints ([9385b6d](https://github.com/ctrlplanedev/ctrlplane/commit/9385b6d262857fa63c760bfae434d6a7dd50be8a)) +* dont repeat policy db query ([cffd6b4](https://github.com/ctrlplanedev/ctrlplane/commit/cffd6b4e78be22082489fa275af1004d269ff5dd)) +* get entity by id ([#837](https://github.com/ctrlplanedev/ctrlplane/issues/837)) ([6175e11](https://github.com/ctrlplanedev/ctrlplane/commit/6175e112e66b2789c85299c70becb2830f61da08)) +* getAllReleaseTargets query joins fewer tables ([0e41d70](https://github.com/ctrlplanedev/ctrlplane/commit/0e41d702a01bb4753678dcbdf54ecefc8c204d1a)) +* lazy load verification status ([e015712](https://github.com/ctrlplanedev/ctrlplane/commit/e015712b567672a38087ae8db5e74ed49ccf6a53)) +* move enqueue calls outside of tx ([2d7b630](https://github.com/ctrlplanedev/ctrlplane/commit/2d7b630545a145b12d6b5490d1f857fbdfb2a2bb)) +* only show ten latest versions in UI ([1eba18e](https://github.com/ctrlplanedev/ctrlplane/commit/1eba18e9656e26dadbd7cad16418c3c4f336404a)) +* reduce deployment targets endpoing response size to reduce memory usage ([#868](https://github.com/ctrlplanedev/ctrlplane/issues/868)) ([6d6aa92](https://github.com/ctrlplanedev/ctrlplane/commit/6d6aa925ab9b2e1feaa92793fd76299009fe6fc4)) +* remove version backoff in policy eval controller ([5154cfa](https://github.com/ctrlplanedev/ctrlplane/commit/5154cfa5b9e2c3b612ea04a6eff2a4eaeb2e7839)) +* set release target policies async ([1becfa6](https://github.com/ctrlplanedev/ctrlplane/commit/1becfa63b1d1459bf90237d302d95b6c8b771690)) +* slim down release targets server response ([#869](https://github.com/ctrlplanedev/ctrlplane/issues/869)) ([b203d35](https://github.com/ctrlplanedev/ctrlplane/commit/b203d35530f9159f826e05e19eda201fbba8148a)) +* use shared evaluators between release targets so that cache can be utilized ([#866](https://github.com/ctrlplanedev/ctrlplane/issues/866)) ([2f10558](https://github.com/ctrlplanedev/ctrlplane/commit/2f10558c85b5df61dde8e868fc6ccbe67d11f108)) +* use sqlc directly to retrieve deployment release targets ([#867](https://github.com/ctrlplanedev/ctrlplane/issues/867)) ([af5f8f1](https://github.com/ctrlplanedev/ctrlplane/commit/af5f8f120ddc764698c2fdbb1d2e8aa2c2b49b72)) +* wire in cached getters for policy eval ([8b3c284](https://github.com/ctrlplanedev/ctrlplane/commit/8b3c284560c634c0c4fa7e05af9ce7e8368d5f9e)) + + +### Reverts + +* undo testing change ([102b127](https://github.com/ctrlplanedev/ctrlplane/commit/102b1276f7f8aac1ecfc1f1819cd398edbe3e90f)) +* use amd64-only docker builds instead of multi-arch ([#811](https://github.com/ctrlplanedev/ctrlplane/issues/811)) ([31f06c3](https://github.com/ctrlplanedev/ctrlplane/commit/31f06c39f0c775429dad5d43658e3f7936ecf1c8))