Commit Graph

5684 Commits

Author SHA1 Message Date
João Pereira
cf6a5ce346 build(deps): bump actions/setup-go from 5 to 6 (#4693) 2025-09-05 09:17:48 +01:00
João Pereira
6de7cd9d0d build(deps): bump actions/labeler from 5 to 6 (#4694) 2025-09-05 09:17:10 +01:00
dependabot[bot]
99c47b61cc build(deps): bump actions/labeler from 5 to 6
Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 01:07:42 +00:00
dependabot[bot]
e1e5d05113 build(deps): bump actions/setup-go from 5 to 6
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 01:07:37 +00:00
Milos Gajdos
979a07472e fix(registry/handlers/app): redis CAs (#4668) 2025-09-03 07:06:09 -07:00
João Pereira
412a8ae033 Fix broken link to Docker Hub fair use policy (#4688) 2025-08-13 22:09:25 +01:00
Andy Castille
0fb77d6a75 Fix broken link to Docker Hub fair use policy
Signed-off-by: Andy Castille <me@andycc.dev>
2025-08-13 12:23:30 -07:00
João Pereira
f2b08cd917 build(deps): bump actions/checkout from 4 to 5 (#4687) 2025-08-12 16:02:09 +01:00
dependabot[bot]
251bf1b923 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 13:08:10 +00:00
Wang Yan
8c60ad709b Fixes #4683 - uses X/Y instead of Gx/Gy for thumbprint of ecdsa keys (#4684) 2025-08-12 13:41:12 +08:00
João Pereira
7f2dad4420 Fixed data race in TestSchedule test (#4647) 2025-08-11 23:25:37 +01:00
Guillaume pelletier
6e59b82417 Fixes #4683 - uses X/Y instead of Gx/Gy for thumbprint of ecdsa keys
Signed-off-by: Guillaume Pelletier <guillaume.pelletier@genaiz.com>
2025-08-11 10:29:53 -04:00
Milos Gajdos
7d74ee7186 Fix S3 driver loglevel param (#4617) 2025-08-11 14:27:41 +01:00
Milos Gajdos
0966daece7 docs: Add OpenTelemetry links to quickstart docs (#4270) (#4640) 2025-08-11 14:25:47 +01:00
Wang Yan
c54bcb3770 s3-aws: fix build for 386 (#4642) 2025-08-11 14:14:53 +08:00
Wang Yan
f6e54e6189 refactor: replace map iteration with maps.Copy/Clone (#4632) 2025-08-11 13:28:07 +08:00
Milos Gajdos
f9fa205992 Switch UUIDs to UUIDv7 (#4666) 2025-08-08 19:11:24 +01:00
Raj Siva-Rajah
b559f27a08 Switch to UUIDv7
Signed-off-by: Raj Siva-Rajah <raj@zapzap.cloud>
2025-07-31 06:54:27 +00:00
Milos Gajdos
e7b4fa06f2 Fix markdown syntax for OTEL traces link in docs (#4676) 2025-07-22 18:45:15 +01:00
Shan Desai
b39441b1e6 Fix markdown syntax for OTEL traces link in docs
square brackets and the respective parentheses for a markdown link were falsely typed in causing readability issues.  This commit fixes the markdown syntax for the same

Signed-off-by: Shan Desai <shantanoo.desai@gmail.com>
2025-07-22 12:28:31 +02:00
Milos Gajdos
c9760ebe95 fix: set OTEL traces to disabled by default (#4671) 2025-07-10 07:44:49 -07:00
Pat Riehecky
53dde7fc86 fix: set OTEL traces to disabled by default
If you want to enable traces, you can still set the env to your
collector.

Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
2025-07-09 13:54:43 -05:00
Milos Gajdos
17dc6f9cda docs: Add note about OTEL_TRACES_EXPORTER (#4669) 2025-07-09 11:27:44 -07:00
Pat Riehecky
68cd681bad docs: Add note about OTEL_TRACES_EXPORTER
Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
2025-07-09 10:42:32 -05:00
ChandonPierre
1fc8461710 fix tests
Signed-off-by: ChandonPierre <cpierre@coreweave.com>
2025-07-05 19:36:44 -04:00
ChandonPierre
02b1f6e3af fix(registry/handlers/app): redis CAs
`configureRedis` currently sets `RequireAndVerifyClientCert` and `ClientCAs`, however these are server side mTLS configurations, and do not apply for the client initiating the handshake.

Since we never actually set client side `RootCAs`, connecting to Redis with a self-signed CA results in:

```
"error": "tls: failed to verify certificate: x509: certificate signed by unknown authority",
```
Fixed by switching Redis TLS config to use `RootCAs` instead, and updating configuration accordingly.

Signed-off-by: ChandonPierre <cpierre@coreweave.com>
2025-07-05 15:25:17 -04:00
Artem Khoroshev
bb278c2be6 fix: fixed data race in TestSchedule test
Signed-off-by: Artem Khoroshev <horoshev.artem@yandex.ru>
2025-06-06 20:12:59 +03:00
Milos Gajdos
da404778ed build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#4645) 2025-06-02 07:46:14 -07:00
dependabot[bot]
b09be3d605 build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](f49aabe0b5...05b42c6244)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 01:26:19 +00:00
Chen Qi
6970080b10 s3-aws: fix build for 386
When building for 386, we got the following build error:

  registry/storage/driver/s3-aws/s3.go:312:99: cannot use
  maxChunkSize (untyped int constant 5368709120) as int value
  in argument to getParameterAsInteger (overflows)

This is because the s3_64bit.go is used. Adjust the build tag matching
in s3_32bit.go and s3_64bit.go to fix this issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2025-05-29 11:35:59 +08:00
Dane Wagner
e629f88670 docs: Add OpenTelemetry links to quickstart docs (#4270)
Signed-off-by: Dane Wagner <dane.wagner@gmail.com>
2025-05-23 12:02:47 -05:00
Milos Gajdos
97495e5397 Fix: resolve issue #4478 by using a temporary file for non-append writes (#4624) 2025-05-19 07:37:07 -07:00
Oded Porat
dde1e49f23 Changes:
Append a UUID to ensure uniqueness
Join delete error

Signed-off-by: Oded Porat <onporat@gmail.com>
2025-05-04 10:43:19 +03:00
whosehang
fea3638384 refactor: replace map iteration with maps.Copy/Clone
Signed-off-by: whosehang <whosehang@outlook.com>
2025-05-03 09:24:10 +08:00
Milos Gajdos
95647cba1d feat: extract redis config to separate struct (#4620) 2025-04-29 06:21:55 -07:00
Milos Gajdos
45e5f78dd9 fix: Annotate code block from validation.indexes configuration docs (#4629) 2025-04-28 06:48:17 -07:00
Anže Luzar
c460aa63e1 fix: Annotate code block from validation.indexes docs
Signed-off-by: Anže Luzar <aluzarwork@gmail.com>
2025-04-28 13:23:56 +02:00
Milos Gajdos
e827ce2772 fix: implement JWK thumbprint for Ed25519 public keys (#4626) 2025-04-23 08:28:25 -07:00
Oded Porat
a5a6f1ba3d To address the issue where empty files are created when the write process is interrupted, the solution involves writing to a temporary file first and then atomically renaming it to the target file. This ensures that the target file is only updated if the write completes successfully, preventing empty or partially written files.
**Explanation:**

1. **Temporary File Creation:** The content is first written to a temporary file (appending `.tmp` to the original path). This ensures that the original file remains intact until the write is complete.

2. **Write to Temporary File:** Using the existing `Writer` with truncation (`false`), the content is written to the temporary file. If the write fails, the temporary file is closed and deleted.

3. **Commit and Rename:** After successfully writing to the temporary file, it is committed. Then, the temporary file is atomically renamed to the target path using `Move`, which is handled by the filesystem's rename operation (atomic on most systems).

4. **Cleanup on Failure:** If any step fails, the temporary file is cleaned up to avoid leaving orphaned files.

Signed-off-by: Oded Porat <onporat@gmail.com>
2025-04-23 11:37:55 +03:00
Youfu Zhang
4aab88fede fix: implement JWK thumbprint for Ed25519 public keys
Signed-off-by: Youfu Zhang <zhangyoufu@gmail.com>
2025-04-23 13:30:18 +08:00
Milos Gajdos
e016d9595f build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 in the go_modules group across 1 directory (#4625) 2025-04-17 07:45:13 +01:00
dependabot[bot]
5a71303e59 build(deps): bump golang.org/x/net
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.37.0 to 0.38.0
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 23:33:39 +00:00
Oded Porat
78456caf46 Fix: resolve issue #4478 by using a temporary file for non-append writes
To address the issue where a failed write operation results in an empty file, we can use a temporary file for non-append writes. This ensures that the original file is only replaced once the new content is fully written and committed.

**Key Changes:**

1. **Temporary File Handling:**
   - For non-append writes, a temporary file is created in the same directory as the target file.
   - All write operations are performed on the temporary file first.

2. **Atomic Commit:**
   - The temporary file is only renamed to the target path during `Commit()`, ensuring atomic replacement.
   - If `Commit()` fails, the temporary file is cleaned up.

3. **Error Handling:**
   - `Cancel()` properly removes temporary files if the operation is aborted.
   - `Close()` is made idempotent to handle multiple calls safely.

4. **Data Integrity:**
   - Directory sync after rename ensures metadata persistence.
   - Proper file flushing and syncing before rename operations.

Signed-off-by: Oded Porat <onporat@gmail.com>
2025-04-16 10:30:20 +03:00
Milos Gajdos
523791cb5f chore: make function comment match function name (#4622) 2025-04-13 07:10:22 -07:00
closeobserve
a6ce1a7995 chore: make function comment match function name
Signed-off-by: closeobserve <pingcap@yahoo.com>
2025-04-13 17:40:27 +08:00
Mateusz Urbanek
fcb2deac0b feat: extract redis config to separate struct
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
2025-04-10 16:53:45 +02:00
Milos Gajdos
e028a30ecd Fix default_credentials in azure storage provider (#4619) 2025-04-08 22:09:57 -07:00
Lucas Melchior
ea6ab3652c fix newClient in azure storage provider
it can now return a client using default azure credentials
updated docs to include information on Azure Workload Identity

Signed-off-by: Lucas Melchior <lucasmelchior@flywheel.io>

fix anchor link in docs

Signed-off-by: Lucas Melchior <lucasmelchior@flywheel.io>
2025-04-08 10:22:34 -05:00
Milos Gajdos
dbca4995c8 docs: Update to refer to new image tag v3 (#4373) 2025-04-03 12:04:00 -07:00
Milos Gajdos
9ed95e7365 Prep for v3 release (#4613) v3.0.0 2025-04-01 22:54:38 -07:00