Commit graph

1259 commits

Author SHA1 Message Date
Gabriel
8ea32df7dd
Merge pull request #521 from cloudbase/dependabot/npm_and_yarn/webapp/npm_and_yarn-f5c1666f0c
Bump vite from 7.1.1 to 7.1.5 in /webapp in the npm_and_yarn group across 1 directory
2025-09-10 00:05:47 +03:00
Gabriel
244baec288
Merge pull request #520 from gabriel-samfira/cleanup-and-improvements
Cache improvements, db list improvements, cleanup
2025-09-10 00:05:23 +03:00
dependabot[bot]
ed802b68a5
Bump vite in /webapp in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the /webapp directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 7.1.1 to 7.1.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.5
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 20:56:32 +00:00
Gabriel Adrian Samfira
66fd0d51a6 Cache improvements, db list improvements, cleanup
This change adds some more cache helper functions, additional tests,
vastly improves memory usage when loading instances and cleans up some
code.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-09 20:52:01 +00:00
Gabriel
6cd687235f
Merge pull request #518 from cloudbase/dependabot/go_modules/golang.org/x/crypto-0.42.0
Bump golang.org/x/crypto from 0.41.0 to 0.42.0
2025-09-09 09:32:42 +03:00
Gabriel
08507ddbf9
Merge pull request #519 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.30.5
Bump gorm.io/gorm from 1.30.3 to 1.30.5
2025-09-09 09:32:18 +03:00
dependabot[bot]
63425a1c24
Bump gorm.io/gorm from 1.30.3 to 1.30.5
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.30.3 to 1.30.5.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.3...v1.30.5)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-version: 1.30.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 06:13:42 +00:00
dependabot[bot]
94bee21793
Bump golang.org/x/crypto from 0.41.0 to 0.42.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/crypto/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 06:13:35 +00:00
Gabriel
237397657a
Merge pull request #516 from cloudbase/dependabot/go_modules/golang.org/x/mod-0.28.0
Bump golang.org/x/mod from 0.27.0 to 0.28.0
2025-09-08 11:21:49 +03:00
Gabriel
34046be3b9
Merge pull request #515 from cloudbase/dependabot/go_modules/golang.org/x/sync-0.17.0
Bump golang.org/x/sync from 0.16.0 to 0.17.0
2025-09-08 11:18:18 +03:00
dependabot[bot]
7a654a277b
Bump golang.org/x/mod from 0.27.0 to 0.28.0
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/mod/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 08:09:50 +00:00
dependabot[bot]
80e79cff40
Bump golang.org/x/sync from 0.16.0 to 0.17.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 08:09:43 +00:00
Gabriel
b45b2767db
Merge pull request #517 from cloudbase/dependabot/go_modules/golang.org/x/oauth2-0.31.0
Bump golang.org/x/oauth2 from 0.30.0 to 0.31.0
2025-09-08 11:06:18 +03:00
dependabot[bot]
b744fe6fa6
Bump golang.org/x/oauth2 from 0.30.0 to 0.31.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-version: 0.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 06:24:36 +00:00
Gabriel
2c7b150a65
Merge pull request #514 from gabriel-samfira/fix-spa-validation
Fix validation for creds and endpoints
2025-09-05 13:07:25 +03:00
Gabriel Adrian Samfira
d6cc20a362 Fix validation for creds and endpoints
This change fixes validation for the add credentials and endpoints modals.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-05 09:57:47 +00:00
Gabriel
3612bea990
Merge pull request #513 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.30.3
Bump gorm.io/gorm from 1.30.2 to 1.30.3
2025-09-05 10:17:15 +03:00
dependabot[bot]
c8c1d47936
Bump gorm.io/gorm from 1.30.2 to 1.30.3
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.30.2 to 1.30.3.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.2...v1.30.3)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-version: 1.30.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 06:14:07 +00:00
Gabriel
9ada36f287
Merge pull request #511 from gabriel-samfira/add-runner-div
Add runner div to pools and scalesets
2025-09-04 19:42:06 +03:00
Gabriel Adrian Samfira
315601a171 Add runner div to pools and scalesets
When there are no runners in pools or scale sets, the runners div still needs
to be rendered and subscribed to runner events.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-04 16:25:10 +00:00
Gabriel
aea9126e59
Merge pull request #510 from cloudbase/dependabot/go_modules/github.com/spf13/cobra-1.10.1
Bump github.com/spf13/cobra from 1.9.1 to 1.10.1
2025-09-03 09:36:52 +03:00
dependabot[bot]
f78ededb16
Bump github.com/spf13/cobra from 1.9.1 to 1.10.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.9.1 to 1.10.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.9.1...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-version: 1.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 02:12:44 +00:00
Gabriel
7b0046b614
Merge pull request #509 from cloudbase/dependabot/go_modules/github.com/go-openapi/swag-0.24.1
Bump github.com/go-openapi/swag from 0.23.1 to 0.24.1
2025-09-01 21:17:24 +03:00
dependabot[bot]
2a72bc8689
Bump github.com/go-openapi/swag from 0.23.1 to 0.24.1
Bumps [github.com/go-openapi/swag](https://github.com/go-openapi/swag) from 0.23.1 to 0.24.1.
- [Commits](https://github.com/go-openapi/swag/compare/v0.23.1...v0.24.1)

---
updated-dependencies:
- dependency-name: github.com/go-openapi/swag
  dependency-version: 0.24.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 11:24:03 +00:00
Gabriel
edbd77ff7a
Merge pull request #508 from gabriel-samfira/small-fixes
Some slight cleanup
2025-09-01 01:16:32 +03:00
Gabriel Adrian Samfira
64454f70f1 Some slight cleanup
Remove calls to github after creating a runner. It just adds overhead
for very little benefit.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-31 21:58:42 +00:00
Gabriel
468b16828d
Merge pull request #507 from gabriel-samfira/validate-update-modal
Validate update pool/scaleset
2025-08-28 21:26:20 +03:00
Gabriel Adrian Samfira
edb25c6fe8 Validate update pool/scaleset
Validate if min idle runners > max runners in the update forms.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-28 18:18:32 +00:00
Gabriel
9201f36121
Merge pull request #506 from gabriel-samfira/scaleset-fixes
Scale sets stability fixes
2025-08-28 15:03:07 +03:00
Gabriel Adrian Samfira
62a038f6a1 Scale sets stability fixes
This change adds a number of fixes for scale sets:

* Reset last message ID when we need to recreate the scale set in GitHub.
Message ID gets reset in github when this happens and we end up ignoring
messages because we see that they are older than we have recorded.
* Clean up deleted instances from state scale set state
* Properly stop instance handler in the provider worker when an update
operation comes in that signals that an instance has been marked as "deleted"

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-28 11:53:40 +00:00
Gabriel
d2ff2ab6e1
Merge pull request #504 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.30.2
Bump gorm.io/gorm from 1.30.1 to 1.30.2
2025-08-28 12:30:33 +03:00
Gabriel
fc63ed849b
Merge pull request #505 from cloudbase/dependabot/go_modules/github.com/stretchr/testify-1.11.1
Bump github.com/stretchr/testify from 1.11.0 to 1.11.1
2025-08-28 12:30:19 +03:00
dependabot[bot]
5e38b816e3
Bump github.com/stretchr/testify from 1.11.0 to 1.11.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.11.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 08:42:01 +00:00
dependabot[bot]
5840a1bb11
Bump gorm.io/gorm from 1.30.1 to 1.30.2
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.30.1 to 1.30.2.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.1...v1.30.2)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-version: 1.30.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 07:53:16 +00:00
Gabriel
cef85036b1
Merge pull request #503 from gabriel-samfira/fix-update-scalesets
Fix scale set update
2025-08-28 00:08:25 +03:00
Gabriel Adrian Samfira
35e47aa2db Fix scale set update
Same as previous commit made to fix pools, but this one addresses
scalesets.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 21:00:24 +00:00
Gabriel
f66c2ca01e
Merge pull request #502 from gabriel-samfira/fix-edit-pool
Fix pool edit from pool list
2025-08-27 22:57:32 +03:00
Gabriel Adrian Samfira
2f7526747d Fix pool edit from pool list
When clicking on the edit button in the pools list, the modal would list
all the pool details except the extra specs. This is expected because when
listing the pools, we omit extra_specs. This can lead to accidentally overwriting
the extra specs for a pool.

This change fetches the entire pool data from the GARM API when clicking
on the edit button in the pools list.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 19:43:34 +00:00
Gabriel
a02cad769b
Merge pull request #500 from gabriel-samfira/update-devalue
Update dependency
2025-08-27 17:19:31 +03:00
Gabriel Adrian Samfira
4c7f471610 Update dependency
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 14:06:57 +00:00
Gabriel
29f2e2a2b9
Merge pull request #499 from gabriel-samfira/better-cli-log-formatting
Make the debug-log command more useful
2025-08-27 16:27:33 +03:00
Gabriel Adrian Samfira
0faeee703d Make the debug-log command more useful
The debug-log command now supports log level filtering and attribute
filtering. The log level filtering will only be able to set the minimum
log level as low as the server is configured to stream. If the server has
its log level set as INFO, then setting the log level in the CLI to DEBUG
will have no effect.

But anything above what the server sends, is within the control of the client
to filter. This is all done client side.

Attribute filters are useful if you need to watch the logs for a particular
worker, entity, etc.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 13:21:56 +00:00
Gabriel
e3a9fe7026
Merge pull request #498 from gabriel-samfira/preload-more-info
Preload more info for entity pools
2025-08-27 12:27:04 +03:00
Gabriel Adrian Samfira
9ef4566cae Preload more info for entity pools
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 09:14:45 +00:00
Gabriel
e79a5c1d50
Merge pull request #496 from cloudbase/dependabot/go_modules/github.com/stretchr/testify-1.11.0
Bump github.com/stretchr/testify from 1.10.0 to 1.11.0
2025-08-25 19:35:17 +03:00
Gabriel
89fecd9dcd
Merge pull request #497 from gabriel-samfira/fix-double-pool
Fix double creation of pools
2025-08-25 19:18:07 +03:00
Gabriel Adrian Samfira
6fee10c737 Fix double creation of pools
This change fixes the creation of pools though the UI. Both the modal and
the page were sending a request to create the pool, leading to double pool.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-25 16:12:01 +00:00
dependabot[bot]
642b3bbf92
Bump github.com/stretchr/testify from 1.10.0 to 1.11.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 11:54:27 +00:00
Gabriel
1fceec374d
Merge pull request #495 from gabriel-samfira/caching-and-fixes
Attempt to use the scalset API and caching
2025-08-25 01:45:46 +03:00
Gabriel Adrian Samfira
d05df36868 Attempt to use the scalset API and caching
On github, attempt to use the scaleset API to list all runners without
pagination. This will avoid missing runners and accidentally removing them.

Fall back to paginated API if we can't use the scaleset API.

Add ability to retrieve all instances from cache, for an entity.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-24 22:36:44 +00:00